程序包 | 说明 |
---|---|
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 client token that is used to ensure the idempotence of the request.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.description(String description)
The description of the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.diskId(String diskId)
The ID of the 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 ID of the resource group to which you want to assign the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.retentionDays(Integer retentionDays)
The retention period of the snapshot.
|
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)
> This parameter is unavailable.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.Builder.tag(List<CreateSnapshotRequest.Tag> tag)
The tags that you want to add to the snapshot.
|
CreateSnapshotRequest.Builder |
CreateSnapshotRequest.toBuilder() |
Copyright © 2023. All rights reserved.