com.aliyun.ecd20200930.models.DescribeSnapshotsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ecd20200930 Show documentation
Show all versions of ecd20200930 Show documentation
Alibaba Cloud ecd (20200930) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ecd20200930.models;
import com.aliyun.tea.*;
public class DescribeSnapshotsResponseBody extends TeaModel {
@NameInMap("NextToken")
public String nextToken;
@NameInMap("RequestId")
public String requestId;
@NameInMap("Snapshots")
public java.util.List snapshots;
public static DescribeSnapshotsResponseBody build(java.util.Map map) throws Exception {
DescribeSnapshotsResponseBody self = new DescribeSnapshotsResponseBody();
return TeaModel.build(map, self);
}
public DescribeSnapshotsResponseBody setNextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
public String getNextToken() {
return this.nextToken;
}
public DescribeSnapshotsResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeSnapshotsResponseBody setSnapshots(java.util.List snapshots) {
this.snapshots = snapshots;
return this;
}
public java.util.List getSnapshots() {
return this.snapshots;
}
public static class DescribeSnapshotsResponseBodySnapshots extends TeaModel {
@NameInMap("CreationTime")
public String creationTime;
@NameInMap("Description")
public String description;
@NameInMap("DesktopId")
public String desktopId;
@NameInMap("Progress")
public String progress;
@NameInMap("ProtocolType")
public String protocolType;
@NameInMap("RemainTime")
public Integer remainTime;
@NameInMap("SnapshotId")
public String snapshotId;
@NameInMap("SnapshotName")
public String snapshotName;
@NameInMap("SnapshotType")
public String snapshotType;
@NameInMap("SourceDiskSize")
public String sourceDiskSize;
@NameInMap("SourceDiskType")
public String sourceDiskType;
@NameInMap("Status")
public String status;
@NameInMap("VolumeEncryptionEnabled")
public Boolean volumeEncryptionEnabled;
@NameInMap("VolumeEncryptionKey")
public String volumeEncryptionKey;
public static DescribeSnapshotsResponseBodySnapshots build(java.util.Map map) throws Exception {
DescribeSnapshotsResponseBodySnapshots self = new DescribeSnapshotsResponseBodySnapshots();
return TeaModel.build(map, self);
}
public DescribeSnapshotsResponseBodySnapshots setCreationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
public String getCreationTime() {
return this.creationTime;
}
public DescribeSnapshotsResponseBodySnapshots setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public DescribeSnapshotsResponseBodySnapshots setDesktopId(String desktopId) {
this.desktopId = desktopId;
return this;
}
public String getDesktopId() {
return this.desktopId;
}
public DescribeSnapshotsResponseBodySnapshots setProgress(String progress) {
this.progress = progress;
return this;
}
public String getProgress() {
return this.progress;
}
public DescribeSnapshotsResponseBodySnapshots setProtocolType(String protocolType) {
this.protocolType = protocolType;
return this;
}
public String getProtocolType() {
return this.protocolType;
}
public DescribeSnapshotsResponseBodySnapshots setRemainTime(Integer remainTime) {
this.remainTime = remainTime;
return this;
}
public Integer getRemainTime() {
return this.remainTime;
}
public DescribeSnapshotsResponseBodySnapshots setSnapshotId(String snapshotId) {
this.snapshotId = snapshotId;
return this;
}
public String getSnapshotId() {
return this.snapshotId;
}
public DescribeSnapshotsResponseBodySnapshots setSnapshotName(String snapshotName) {
this.snapshotName = snapshotName;
return this;
}
public String getSnapshotName() {
return this.snapshotName;
}
public DescribeSnapshotsResponseBodySnapshots setSnapshotType(String snapshotType) {
this.snapshotType = snapshotType;
return this;
}
public String getSnapshotType() {
return this.snapshotType;
}
public DescribeSnapshotsResponseBodySnapshots setSourceDiskSize(String sourceDiskSize) {
this.sourceDiskSize = sourceDiskSize;
return this;
}
public String getSourceDiskSize() {
return this.sourceDiskSize;
}
public DescribeSnapshotsResponseBodySnapshots setSourceDiskType(String sourceDiskType) {
this.sourceDiskType = sourceDiskType;
return this;
}
public String getSourceDiskType() {
return this.sourceDiskType;
}
public DescribeSnapshotsResponseBodySnapshots setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public DescribeSnapshotsResponseBodySnapshots setVolumeEncryptionEnabled(Boolean volumeEncryptionEnabled) {
this.volumeEncryptionEnabled = volumeEncryptionEnabled;
return this;
}
public Boolean getVolumeEncryptionEnabled() {
return this.volumeEncryptionEnabled;
}
public DescribeSnapshotsResponseBodySnapshots setVolumeEncryptionKey(String volumeEncryptionKey) {
this.volumeEncryptionKey = volumeEncryptionKey;
return this;
}
public String getVolumeEncryptionKey() {
return this.volumeEncryptionKey;
}
}
}