public class CopySnapshotRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CopySnapshotRequest.CopySnapshotRequestArn |
static class |
CopySnapshotRequest.CopySnapshotRequestTag |
限定符和类型 | 字段和说明 |
---|---|
List<CopySnapshotRequest.CopySnapshotRequestArn> |
arn
> This parameter is currently in invitational preview and unavailable for public use.
|
String |
destinationRegionId
The region ID of the new snapshot.
|
String |
destinationSnapshotDescription
The description of the new snapshot.
|
String |
destinationSnapshotName
The name of the new snapshot.
|
Boolean |
encrypted
Specifies whether to encrypt the disk.
|
String |
KMSKeyId
The customer master keys (CMK) managed by Key Management Service (KMS) in the destination region.
|
Long |
ownerId |
String |
regionId
The region ID of the source snapshot.
|
String |
resourceGroupId
This parameter is unavailable.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Integer |
retentionDays
The retention period of the new snapshot.
|
String |
snapshotId
The ID of the source snapshot.
|
List<CopySnapshotRequest.CopySnapshotRequestTag> |
tag
The tag key and value of the new snapshot.
|
构造器和说明 |
---|
CopySnapshotRequest() |
@NameInMap(value="Arn") public List<CopySnapshotRequest.CopySnapshotRequestArn> arn
> This parameter is currently in invitational preview and unavailable for public use.
@NameInMap(value="DestinationRegionId") public String destinationRegionId
The region ID of the new snapshot.
@NameInMap(value="DestinationSnapshotDescription") public String destinationSnapshotDescription
The description of the new snapshot. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
This parameter is empty by default.
@NameInMap(value="DestinationSnapshotName") public String destinationSnapshotName
The name of the new snapshot. The name must be 2 to 128 characters in length and can contain letters, digits, colons (:), underscores (\_), and hyphens (-). It must start with a letter and cannot start with `http://` or `https://`.
This parameter is empty by default.
@NameInMap(value="Encrypted") public Boolean encrypted
Specifies whether to encrypt the disk. Valid values:
* true: encrypts the disk.
* false: does not encrypt the disk.
Default value: false.
@NameInMap(value="KMSKeyId") public String KMSKeyId
The customer master keys (CMK) managed by Key Management Service (KMS) in the destination region.
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the source snapshot. You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
This parameter is unavailable.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RetentionDays") public Integer retentionDays
The retention period of the new snapshot. Unit: days. The new snapshot is automatically released when its retention period ends. Valid values: 1 to 65536.
This parameter is empty by default, which indicates that the snapshot is not automatically released.
@NameInMap(value="SnapshotId") public String snapshotId
The ID of the source snapshot.
@NameInMap(value="Tag") public List<CopySnapshotRequest.CopySnapshotRequestTag> tag
The tag key and value of the new snapshot.
public static CopySnapshotRequest build(Map<String,?> map) throws Exception
Exception
public CopySnapshotRequest setArn(List<CopySnapshotRequest.CopySnapshotRequestArn> arn)
public List<CopySnapshotRequest.CopySnapshotRequestArn> getArn()
public CopySnapshotRequest setDestinationRegionId(String destinationRegionId)
public String getDestinationRegionId()
public CopySnapshotRequest setDestinationSnapshotDescription(String destinationSnapshotDescription)
public String getDestinationSnapshotDescription()
public CopySnapshotRequest setDestinationSnapshotName(String destinationSnapshotName)
public String getDestinationSnapshotName()
public CopySnapshotRequest setEncrypted(Boolean encrypted)
public Boolean getEncrypted()
public CopySnapshotRequest setKMSKeyId(String KMSKeyId)
public String getKMSKeyId()
public CopySnapshotRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CopySnapshotRequest setRegionId(String regionId)
public String getRegionId()
public CopySnapshotRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CopySnapshotRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CopySnapshotRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CopySnapshotRequest setRetentionDays(Integer retentionDays)
public Integer getRetentionDays()
public CopySnapshotRequest setSnapshotId(String snapshotId)
public String getSnapshotId()
public CopySnapshotRequest setTag(List<CopySnapshotRequest.CopySnapshotRequestTag> tag)
public List<CopySnapshotRequest.CopySnapshotRequestTag> getTag()
Copyright © 2023. All rights reserved.