public static class DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
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 was encrypted.
|
Boolean |
instantAccess
Indicates whether the instant access feature was enabled.
|
Integer |
instantAccessRetentionDays
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 changed.
|
String |
productCode
The product number inherited from Alibaba Cloud Marketplace.
|
String |
progress
The progress of the snapshot creation task.
|
Integer |
remainTime
The remaining time required to create the snapshot.
|
String |
resourceGroupId
The ID of the resource group.
|
Integer |
retentionDays
The retention period of the automatic snapshot.
|
String |
snapshotId
The ID of the snapshot.
|
String |
snapshotName
The name of the snapshot.
|
String |
snapshotSN
The serial number of the snapshot.
|
String |
snapshotType
The type of snapshot.
|
String |
sourceDiskId
The ID of the source disk.
|
String |
sourceDiskSize
The capacity of the source disk for which the snapshot was created.
|
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 type of the source disk.
|
String |
status
The state of the snapshot.
|
DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshotTags |
tags
The tags of the snapshot.
|
String |
usage
Indicates whether the snapshot has been used to create custom images or disks.
|
构造器和说明 |
---|
DescribeSnapshotsResponseBodySnapshotsSnapshot() |
@NameInMap(value="Category") public String category
The category of the snapshot.
> This parameter will be removed in the future. We recommend that you use the `InstantAccess` parameter to ensure future compatibility.
@NameInMap(value="CreationTime") public String creationTime
The time when the snapshot was created. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
@NameInMap(value="Description") public String description
The description of the snapshot.
@NameInMap(value="Encrypted") public Boolean encrypted
Indicates whether the snapshot was encrypted.
@NameInMap(value="InstantAccess") public Boolean instantAccess
Indicates whether the instant access feature was enabled. Valid values:
* true: The instant access feature was enabled. This feature can be enabled only for enhanced SSDs (ESSDs).
* false: The instant access feature was disabled. The snapshot is a normal snapshot for which the instant access feature was disabled.
@NameInMap(value="InstantAccessRetentionDays") public Integer instantAccessRetentionDays
The validity period of the instant access feature. The instant access feature is automatically disabled when the specified period expires.
By default, the value of this parameter is the same as that of `RetentionDays`.
@NameInMap(value="KMSKeyId") public String KMSKeyId
The ID of the KMS key used for the data disk.
@NameInMap(value="LastModifiedTime") public String lastModifiedTime
The time when the snapshot was last changed. The time follows the [ISO 8601](~~25696~~) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
@NameInMap(value="ProductCode") public String productCode
The product number inherited from Alibaba Cloud Marketplace.
@NameInMap(value="Progress") public String progress
The progress of the snapshot creation task. Unit: percent (%).
@NameInMap(value="RemainTime") public Integer remainTime
The remaining time required to create the snapshot. Unit: seconds.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
@NameInMap(value="RetentionDays") public Integer retentionDays
The retention period of the automatic snapshot. Unit: days.
@NameInMap(value="SnapshotId") public String snapshotId
The ID of the snapshot.
@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.
@NameInMap(value="SnapshotSN") public String snapshotSN
The serial number of the snapshot.
@NameInMap(value="SnapshotType") public String snapshotType
The type of snapshot. Valid values:
* auto or timer: automatic snapshot
* user: manual snapshot
* all: all snapshot types
@NameInMap(value="SourceDiskId") public String sourceDiskId
The ID of the source disk. This parameter is retained even after the source disk is released.
@NameInMap(value="SourceDiskSize") public String sourceDiskSize
The capacity of the source disk for which the snapshot was created. Unit: GiB.
@NameInMap(value="SourceDiskType") public String sourceDiskType
The type of the source disk. Valid values:
* system
* data
@NameInMap(value="SourceRegionId") public String sourceRegionId
The region ID of the source snapshot.
@NameInMap(value="SourceSnapshotId") public String sourceSnapshotId
The ID of the source snapshot.
@NameInMap(value="SourceStorageType") public String sourceStorageType
The type of the source disk.
> This parameter will be removed in the future. We recommend that you use other parameters to ensure future compatibility.
@NameInMap(value="Status") public String status
The state of the snapshot. Valid values:
* progressing
* accomplished
* failed
@NameInMap(value="Tags") public DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshotTags tags
The tags of the snapshot.
@NameInMap(value="Usage") public String usage
Indicates whether the snapshot has been used to create custom images or disks. Valid values:
* image
* disk
* image_disk
* none
public DescribeSnapshotsResponseBodySnapshotsSnapshot()
public static DescribeSnapshotsResponseBody.DescribeSnapshotsResponseBodySnapshotsSnapshot build(Map<String,?> map) throws Exception
Exception
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 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 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 © 2023. All rights reserved.