| 程序包 | 说明 |
|---|---|
| com.aliyun.sdk.service.ecs20140526.models |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateSnapshotRequest.Builder |
CreateSnapshotRequest.builder() |
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.category(String category)
The category of the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.clientToken(String clientToken)
The retention period of the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.description(String description)
The cloud disk ID.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.diskId(String diskId)
Creates a snapshot for a disk.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.instantAccess(Boolean instantAccess)
Specifies whether to enable the instant access feature.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.instantAccessRetentionDays(Integer instantAccessRetentionDays)
The validity period of the instant access feature.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.ownerId(Long ownerId)
OwnerId.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.resourceGroupId(String resourceGroupId)
The snapshot type.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.retentionDays(Integer retentionDays)
The snapshot name.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.snapshotName(String snapshotName)
The name of the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.sourceRegionId(String sourceRegionId)
SourceRegionId.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.storageLocationArn(String storageLocationArn)
The value of tag N that you want to add to the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.tag(List<CreateSnapshotRequest.Tag> tag)
The tags to add to the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.toBuilder() |
Copyright © 2024. All rights reserved.