public static class DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
available
Indicates whether the snapshot can be shared and be used to create or roll back a cloud disk.
|
String |
category
The category of the snapshot.
|
String |
creationTime
The time when the snapshot was created.
|
String |
description
The description of the snapshot.
|
Boolean |
encrypted
Indicates whether the snapshot is encrypted.
|
Boolean |
instantAccess
Indicates whether the instant access feature is enabled.
|
Integer |
instantAccessRetentionDays
Indicates the validity period of the instant access feature.
|
String |
KMSKeyId
The ID of the KMS key used for the data disk.
|
String |
lastModifiedTime
The time when the snapshot was last modified.
|
String |
productCode
The product code of the Alibaba Cloud Marketplace image.
|
String |
progress
The progress of the snapshot creation task.
|
String |
regionId
The region ID of the snapshot.
|
Integer |
remainTime
The amount of remaining time required to create the snapshot.
|
String |
resourceGroupId
The ID of the resource group to which the snapshot belongs.
|
Integer |
retentionDays
The retention period of the automatic snapshot.
|
String |
snapshotId
The ID of the snapshot.
|
String |
snapshotLinkId
The ID of the snapshot chain that is associated with the snapshot.
|
String |
snapshotName
The name of the snapshot.
|
String |
snapshotSN
The serial number of the snapshot.
|
String |
snapshotType
The type of the snapshot.
|
String |
sourceDiskId
The ID of the source disk.
|
String |
sourceDiskSize
The capacity of the source disk.
|
String |
sourceDiskType
The type of the source disk.
|
String |
sourceRegionId
The region ID of the source snapshot.
|
String |
sourceSnapshotId
The ID of the source snapshot.
|
String |
sourceStorageType
The category of the source disk.
|
String |
status
The status of the snapshot.
|
DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshotTags |
tags
The tags of the snapshot.
|
String |
usage
Indicates whether the snapshot was used to create images or disks.
|
构造器和说明 |
---|
DescribeSnapshotsResponseBodySnapshotsSnapshot() |
@NameInMap(value="Available") public Boolean available
Indicates whether the snapshot can be shared and be used to create or roll back a cloud disk. Valid values:
false
@NameInMap(value="Category") public String category
The category of the snapshot.
example:This parameter will be removed in the future. We recommend that you use
InstantAccess
to ensure future compatibility.
standard
@NameInMap(value="CreationTime") public String creationTime
The time when the snapshot was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
example:2020-08-20T14:52:28Z
@NameInMap(value="Description") public String description
The description of the snapshot.
example:testDescription
@NameInMap(value="Encrypted") public Boolean encrypted
Indicates whether the snapshot is encrypted.
example:false
@NameInMap(value="InstantAccess") public Boolean instantAccess
Indicates whether the instant access feature is enabled. Valid values:
example:This parameter is no longer used. The standard snapshots of ESSDs are upgraded to support the instant access feature by default. No additional configurations are required to enable the feature and you are not charged for the feature. For more information, see Use the instant access feature.
false
@NameInMap(value="InstantAccessRetentionDays") public Integer instantAccessRetentionDays
Indicates the validity period of the instant access feature. When the specified period expires, the instant access feature is automatically disabled.
By default, the value of this parameter is the same as the value of RetentionDays
.
example:This parameter is no longer used. The standard snapshots of ESSDs are upgraded to support the instant access feature by default. No additional configurations are required to enable the feature and you are not charged for the feature. For more information, see Use the instant access feature.
30
@NameInMap(value="KMSKeyId") public String KMSKeyId
The ID of the KMS key used for the data disk.
example:0e478b7a-4262-4802-b8cb-00d3fb40****
@NameInMap(value="LastModifiedTime") public String lastModifiedTime
The time when the snapshot was last modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
example:2020-08-25T14:18:09Z
@NameInMap(value="ProductCode") public String productCode
The product code of the Alibaba Cloud Marketplace image.
example:jxsc000****
@NameInMap(value="Progress") public String progress
The progress of the snapshot creation task. Unit: percent (%).
example:100%
@NameInMap(value="RegionId") public String regionId
The region ID of the snapshot.
example:cn-hangzhou
@NameInMap(value="RemainTime") public Integer remainTime
The amount of remaining time required to create the snapshot. Unit: seconds.
example:38
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the snapshot belongs.
example:rg-bp67acfmxazb4p****
@NameInMap(value="RetentionDays") public Integer retentionDays
The retention period of the automatic snapshot. Unit: days.
example:30
@NameInMap(value="SnapshotId") public String snapshotId
The ID of the snapshot.
example:s-bp67acfmxazb4p****
@NameInMap(value="SnapshotLinkId") public String snapshotLinkId
The ID of the snapshot chain that is associated with the snapshot.
example:sl-bp1grgphbcc9brb5****
@NameInMap(value="SnapshotName") public String snapshotName
The name of the snapshot. This parameter is returned only if a snapshot name was specified when the snapshot was created.
example:testSnapshotName
@NameInMap(value="SnapshotSN") public String snapshotSN
The serial number of the snapshot.
example:64472-116742336-61976****
@NameInMap(value="SnapshotType") public String snapshotType
The type of the snapshot. Valid values:
all
@NameInMap(value="SourceDiskId") public String sourceDiskId
The ID of the source disk. This parameter is retained even after the source disk is released.
example:d-bp67acfmxazb4ph****
@NameInMap(value="SourceDiskSize") public String sourceDiskSize
The capacity of the source disk. Unit: GiB.
example:40
@NameInMap(value="SourceDiskType") public String sourceDiskType
The type of the source disk. Valid values:
system
@NameInMap(value="SourceRegionId") public String sourceRegionId
The region ID of the source snapshot.
example:cn-hangzhou
@NameInMap(value="SourceSnapshotId") public String sourceSnapshotId
The ID of the source snapshot.
example:s-bp67acfmxazb4p****
@NameInMap(value="SourceStorageType") public String sourceStorageType
The category of the source disk.
example:This parameter will be removed in the future. We recommend that you use other parameters to ensure future compatibility.
disk
@NameInMap(value="Status") public String status
The status of the snapshot. Valid values:
accomplished
@NameInMap(value="Tags") public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshotTags tags
The tags of the snapshot.
@NameInMap(value="Usage") public String usage
Indicates whether the snapshot was used to create images or disks. Valid values:
image
public DescribeSnapshotsResponseBodySnapshotsSnapshot()
public static DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot build(Map<String,?> map) throws Exception
Exception
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setAvailable(Boolean available)
public Boolean getAvailable()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setCategory(String category)
public String getCategory()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setCreationTime(String creationTime)
public String getCreationTime()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setDescription(String description)
public String getDescription()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setEncrypted(Boolean encrypted)
public Boolean getEncrypted()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setInstantAccess(Boolean instantAccess)
public Boolean getInstantAccess()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setInstantAccessRetentionDays(Integer instantAccessRetentionDays)
public Integer getInstantAccessRetentionDays()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setKMSKeyId(String KMSKeyId)
public String getKMSKeyId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setLastModifiedTime(String lastModifiedTime)
public String getLastModifiedTime()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setProductCode(String productCode)
public String getProductCode()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setProgress(String progress)
public String getProgress()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setRegionId(String regionId)
public String getRegionId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setRemainTime(Integer remainTime)
public Integer getRemainTime()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setRetentionDays(Integer retentionDays)
public Integer getRetentionDays()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSnapshotId(String snapshotId)
public String getSnapshotId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSnapshotLinkId(String snapshotLinkId)
public String getSnapshotLinkId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSnapshotName(String snapshotName)
public String getSnapshotName()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSnapshotSN(String snapshotSN)
public String getSnapshotSN()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSnapshotType(String snapshotType)
public String getSnapshotType()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSourceDiskId(String sourceDiskId)
public String getSourceDiskId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSourceDiskSize(String sourceDiskSize)
public String getSourceDiskSize()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSourceDiskType(String sourceDiskType)
public String getSourceDiskType()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSourceRegionId(String sourceRegionId)
public String getSourceRegionId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSourceSnapshotId(String sourceSnapshotId)
public String getSourceSnapshotId()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setSourceStorageType(String sourceStorageType)
public String getSourceStorageType()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setStatus(String status)
public String getStatus()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setTags(DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshotTags tags)
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshotTags getTags()
public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot setUsage(String usage)
public String getUsage()
Copyright © 2024. All rights reserved.