public static final class CopySnapshotRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CopySnapshotRequest.Builder |
arn(List<CopySnapshotRequest.Arn> arn)
>This parameter is currently in invitational preview and unavailable for public use.
|
CopySnapshotRequest |
build() |
CopySnapshotRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CopySnapshotRequest.Builder |
destinationRegionId(String destinationRegionId)
The ID of the destination region to which to copy the source snapshot.
|
CopySnapshotRequest.Builder |
destinationSnapshotDescription(String destinationSnapshotDescription)
The description of the new snapshot.
|
CopySnapshotRequest.Builder |
destinationSnapshotName(String destinationSnapshotName)
The name of the new snapshot.
|
CopySnapshotRequest.Builder |
destinationStorageLocationArn(String destinationStorageLocationArn)
> This parameter is not publicly available.
|
CopySnapshotRequest.Builder |
encrypted(Boolean encrypted)
Specifies whether to encrypt the new snapshot.
|
CopySnapshotRequest.Builder |
KMSKeyId(String KMSKeyId)
The ID of the customer master key (CMK) in Key Management Service (KMS) in the destination region.
|
CopySnapshotRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CopySnapshotRequest.Builder |
regionId(String regionId)
The region ID of the source snapshot.
|
CopySnapshotRequest.Builder |
resourceGroupId(String resourceGroupId)
This parameter is not publicly available.
|
CopySnapshotRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CopySnapshotRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CopySnapshotRequest.Builder |
retentionDays(Integer retentionDays)
The retention period of the new snapshot.
|
CopySnapshotRequest.Builder |
snapshotId(String snapshotId)
The ID of the source snapshot.
|
CopySnapshotRequest.Builder |
tag(List<CopySnapshotRequest.Tag> tag)
The tag key and value of the new snapshot.
|
public CopySnapshotRequest.Builder arn(List<CopySnapshotRequest.Arn> arn)
public CopySnapshotRequest.Builder clientToken(String clientToken)
public CopySnapshotRequest.Builder destinationRegionId(String destinationRegionId)
public CopySnapshotRequest.Builder destinationSnapshotDescription(String destinationSnapshotDescription)
This parameter is empty by default.
public CopySnapshotRequest.Builder destinationSnapshotName(String destinationSnapshotName)
This parameter is left empty by default.
public CopySnapshotRequest.Builder destinationStorageLocationArn(String destinationStorageLocationArn)
public CopySnapshotRequest.Builder encrypted(Boolean encrypted)
* true * false Default value: false.
public CopySnapshotRequest.Builder KMSKeyId(String KMSKeyId)
public CopySnapshotRequest.Builder ownerId(Long ownerId)
public CopySnapshotRequest.Builder regionId(String regionId)
public CopySnapshotRequest.Builder resourceGroupId(String resourceGroupId)
public CopySnapshotRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CopySnapshotRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CopySnapshotRequest.Builder retentionDays(Integer retentionDays)
This parameter is empty by default, which indicates that the snapshot is not automatically released.
public CopySnapshotRequest.Builder snapshotId(String snapshotId)
public CopySnapshotRequest.Builder tag(List<CopySnapshotRequest.Tag> tag)
public CopySnapshotRequest build()
Copyright © 2024. All rights reserved.