All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.ecs20140526.models.DescribeDisksResponseBody Maven / Gradle / Ivy

There is a newer version: 6.0.4
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeDisksResponseBody} extends {@link TeaModel}
 *
 * 

DescribeDisksResponseBody

*/ public class DescribeDisksResponseBody extends TeaModel { @NameInMap("Disks") private Disks disks; @NameInMap("NextToken") private String nextToken; @NameInMap("PageNumber") private Integer pageNumber; @NameInMap("PageSize") private Integer pageSize; @NameInMap("RequestId") private String requestId; @NameInMap("TotalCount") private Integer totalCount; private DescribeDisksResponseBody(Builder builder) { this.disks = builder.disks; this.nextToken = builder.nextToken; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeDisksResponseBody create() { return builder().build(); } /** * @return disks */ public Disks getDisks() { return this.disks; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Disks disks; private String nextToken; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; /** * Disks. */ public Builder disks(Disks disks) { this.disks = disks; return this; } /** * NextToken. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * RequestId. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * TotalCount. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeDisksResponseBody build() { return new DescribeDisksResponseBody(this); } } public static class Attachment extends TeaModel { @NameInMap("AttachedTime") private String attachedTime; @NameInMap("Device") private String device; @NameInMap("InstanceId") private String instanceId; private Attachment(Builder builder) { this.attachedTime = builder.attachedTime; this.device = builder.device; this.instanceId = builder.instanceId; } public static Builder builder() { return new Builder(); } public static Attachment create() { return builder().build(); } /** * @return attachedTime */ public String getAttachedTime() { return this.attachedTime; } /** * @return device */ public String getDevice() { return this.device; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } public static final class Builder { private String attachedTime; private String device; private String instanceId; /** * AttachedTime. */ public Builder attachedTime(String attachedTime) { this.attachedTime = attachedTime; return this; } /** * Device. */ public Builder device(String device) { this.device = device; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } public Attachment build() { return new Attachment(this); } } } public static class Attachments extends TeaModel { @NameInMap("Attachment") private java.util.List < Attachment> attachment; private Attachments(Builder builder) { this.attachment = builder.attachment; } public static Builder builder() { return new Builder(); } public static Attachments create() { return builder().build(); } /** * @return attachment */ public java.util.List < Attachment> getAttachment() { return this.attachment; } public static final class Builder { private java.util.List < Attachment> attachment; /** * Attachment. */ public Builder attachment(java.util.List < Attachment> attachment) { this.attachment = attachment; return this; } public Attachments build() { return new Attachments(this); } } } public static class MountInstance extends TeaModel { @NameInMap("AttachedTime") private String attachedTime; @NameInMap("Device") private String device; @NameInMap("InstanceId") private String instanceId; private MountInstance(Builder builder) { this.attachedTime = builder.attachedTime; this.device = builder.device; this.instanceId = builder.instanceId; } public static Builder builder() { return new Builder(); } public static MountInstance create() { return builder().build(); } /** * @return attachedTime */ public String getAttachedTime() { return this.attachedTime; } /** * @return device */ public String getDevice() { return this.device; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } public static final class Builder { private String attachedTime; private String device; private String instanceId; /** * AttachedTime. */ public Builder attachedTime(String attachedTime) { this.attachedTime = attachedTime; return this; } /** * Device. */ public Builder device(String device) { this.device = device; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } public MountInstance build() { return new MountInstance(this); } } } public static class MountInstances extends TeaModel { @NameInMap("MountInstance") private java.util.List < MountInstance> mountInstance; private MountInstances(Builder builder) { this.mountInstance = builder.mountInstance; } public static Builder builder() { return new Builder(); } public static MountInstances create() { return builder().build(); } /** * @return mountInstance */ public java.util.List < MountInstance> getMountInstance() { return this.mountInstance; } public static final class Builder { private java.util.List < MountInstance> mountInstance; /** * MountInstance. */ public Builder mountInstance(java.util.List < MountInstance> mountInstance) { this.mountInstance = mountInstance; return this; } public MountInstances build() { return new MountInstances(this); } } } public static class OperationLock extends TeaModel { @NameInMap("LockReason") private String lockReason; private OperationLock(Builder builder) { this.lockReason = builder.lockReason; } public static Builder builder() { return new Builder(); } public static OperationLock create() { return builder().build(); } /** * @return lockReason */ public String getLockReason() { return this.lockReason; } public static final class Builder { private String lockReason; /** * LockReason. */ public Builder lockReason(String lockReason) { this.lockReason = lockReason; return this; } public OperationLock build() { return new OperationLock(this); } } } public static class OperationLocks extends TeaModel { @NameInMap("OperationLock") private java.util.List < OperationLock> operationLock; private OperationLocks(Builder builder) { this.operationLock = builder.operationLock; } public static Builder builder() { return new Builder(); } public static OperationLocks create() { return builder().build(); } /** * @return operationLock */ public java.util.List < OperationLock> getOperationLock() { return this.operationLock; } public static final class Builder { private java.util.List < OperationLock> operationLock; /** * OperationLock. */ public Builder operationLock(java.util.List < OperationLock> operationLock) { this.operationLock = operationLock; return this; } public OperationLocks build() { return new OperationLocks(this); } } } public static class Tag extends TeaModel { @NameInMap("TagKey") private String tagKey; @NameInMap("TagValue") private String tagValue; private Tag(Builder builder) { this.tagKey = builder.tagKey; this.tagValue = builder.tagValue; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return tagKey */ public String getTagKey() { return this.tagKey; } /** * @return tagValue */ public String getTagValue() { return this.tagValue; } public static final class Builder { private String tagKey; private String tagValue; /** * TagKey. */ public Builder tagKey(String tagKey) { this.tagKey = tagKey; return this; } /** * TagValue. */ public Builder tagValue(String tagValue) { this.tagValue = tagValue; return this; } public Tag build() { return new Tag(this); } } } public static class Tags extends TeaModel { @NameInMap("Tag") private java.util.List < Tag> tag; private Tags(Builder builder) { this.tag = builder.tag; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } public static final class Builder { private java.util.List < Tag> tag; /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.tag = tag; return this; } public Tags build() { return new Tags(this); } } } public static class Disk extends TeaModel { @NameInMap("AttachedTime") private String attachedTime; @NameInMap("Attachments") private Attachments attachments; @NameInMap("AutoSnapshotPolicyId") private String autoSnapshotPolicyId; @NameInMap("BdfId") private String bdfId; @NameInMap("BurstingEnabled") private Boolean burstingEnabled; @NameInMap("Category") private String category; @NameInMap("CreationTime") private String creationTime; @NameInMap("DeleteAutoSnapshot") private Boolean deleteAutoSnapshot; @NameInMap("DeleteWithInstance") private Boolean deleteWithInstance; @NameInMap("Description") private String description; @NameInMap("DetachedTime") private String detachedTime; @NameInMap("Device") private String device; @NameInMap("DiskChargeType") private String diskChargeType; @NameInMap("DiskId") private String diskId; @NameInMap("DiskName") private String diskName; @NameInMap("EnableAutoSnapshot") private Boolean enableAutoSnapshot; @NameInMap("EnableAutomatedSnapshotPolicy") private Boolean enableAutomatedSnapshotPolicy; @NameInMap("Encrypted") private Boolean encrypted; @NameInMap("ExpiredTime") private String expiredTime; @NameInMap("IOPS") private Integer IOPS; @NameInMap("IOPSRead") private Integer IOPSRead; @NameInMap("IOPSWrite") private Integer IOPSWrite; @NameInMap("ImageId") private String imageId; @NameInMap("InstanceId") private String instanceId; @NameInMap("KMSKeyId") private String KMSKeyId; @NameInMap("MountInstanceNum") private Integer mountInstanceNum; @NameInMap("MountInstances") private MountInstances mountInstances; @NameInMap("MultiAttach") private String multiAttach; @NameInMap("OperationLocks") private OperationLocks operationLocks; @NameInMap("PerformanceLevel") private String performanceLevel; @NameInMap("Portable") private Boolean portable; @NameInMap("ProductCode") private String productCode; @NameInMap("ProvisionedIops") private Long provisionedIops; @NameInMap("RegionId") private String regionId; @NameInMap("ResourceGroupId") private String resourceGroupId; @NameInMap("SerialNumber") private String serialNumber; @NameInMap("Size") private Integer size; @NameInMap("SourceSnapshotId") private String sourceSnapshotId; @NameInMap("Status") private String status; @NameInMap("StorageClusterId") private String storageClusterId; @NameInMap("StorageSetId") private String storageSetId; @NameInMap("StorageSetPartitionNumber") private Integer storageSetPartitionNumber; @NameInMap("Tags") private Tags tags; @NameInMap("Throughput") private Integer throughput; @NameInMap("Type") private String type; @NameInMap("ZoneId") private String zoneId; private Disk(Builder builder) { this.attachedTime = builder.attachedTime; this.attachments = builder.attachments; this.autoSnapshotPolicyId = builder.autoSnapshotPolicyId; this.bdfId = builder.bdfId; this.burstingEnabled = builder.burstingEnabled; this.category = builder.category; this.creationTime = builder.creationTime; this.deleteAutoSnapshot = builder.deleteAutoSnapshot; this.deleteWithInstance = builder.deleteWithInstance; this.description = builder.description; this.detachedTime = builder.detachedTime; this.device = builder.device; this.diskChargeType = builder.diskChargeType; this.diskId = builder.diskId; this.diskName = builder.diskName; this.enableAutoSnapshot = builder.enableAutoSnapshot; this.enableAutomatedSnapshotPolicy = builder.enableAutomatedSnapshotPolicy; this.encrypted = builder.encrypted; this.expiredTime = builder.expiredTime; this.IOPS = builder.IOPS; this.IOPSRead = builder.IOPSRead; this.IOPSWrite = builder.IOPSWrite; this.imageId = builder.imageId; this.instanceId = builder.instanceId; this.KMSKeyId = builder.KMSKeyId; this.mountInstanceNum = builder.mountInstanceNum; this.mountInstances = builder.mountInstances; this.multiAttach = builder.multiAttach; this.operationLocks = builder.operationLocks; this.performanceLevel = builder.performanceLevel; this.portable = builder.portable; this.productCode = builder.productCode; this.provisionedIops = builder.provisionedIops; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.serialNumber = builder.serialNumber; this.size = builder.size; this.sourceSnapshotId = builder.sourceSnapshotId; this.status = builder.status; this.storageClusterId = builder.storageClusterId; this.storageSetId = builder.storageSetId; this.storageSetPartitionNumber = builder.storageSetPartitionNumber; this.tags = builder.tags; this.throughput = builder.throughput; this.type = builder.type; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static Disk create() { return builder().build(); } /** * @return attachedTime */ public String getAttachedTime() { return this.attachedTime; } /** * @return attachments */ public Attachments getAttachments() { return this.attachments; } /** * @return autoSnapshotPolicyId */ public String getAutoSnapshotPolicyId() { return this.autoSnapshotPolicyId; } /** * @return bdfId */ public String getBdfId() { return this.bdfId; } /** * @return burstingEnabled */ public Boolean getBurstingEnabled() { return this.burstingEnabled; } /** * @return category */ public String getCategory() { return this.category; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return deleteAutoSnapshot */ public Boolean getDeleteAutoSnapshot() { return this.deleteAutoSnapshot; } /** * @return deleteWithInstance */ public Boolean getDeleteWithInstance() { return this.deleteWithInstance; } /** * @return description */ public String getDescription() { return this.description; } /** * @return detachedTime */ public String getDetachedTime() { return this.detachedTime; } /** * @return device */ public String getDevice() { return this.device; } /** * @return diskChargeType */ public String getDiskChargeType() { return this.diskChargeType; } /** * @return diskId */ public String getDiskId() { return this.diskId; } /** * @return diskName */ public String getDiskName() { return this.diskName; } /** * @return enableAutoSnapshot */ public Boolean getEnableAutoSnapshot() { return this.enableAutoSnapshot; } /** * @return enableAutomatedSnapshotPolicy */ public Boolean getEnableAutomatedSnapshotPolicy() { return this.enableAutomatedSnapshotPolicy; } /** * @return encrypted */ public Boolean getEncrypted() { return this.encrypted; } /** * @return expiredTime */ public String getExpiredTime() { return this.expiredTime; } /** * @return IOPS */ public Integer getIOPS() { return this.IOPS; } /** * @return IOPSRead */ public Integer getIOPSRead() { return this.IOPSRead; } /** * @return IOPSWrite */ public Integer getIOPSWrite() { return this.IOPSWrite; } /** * @return imageId */ public String getImageId() { return this.imageId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return KMSKeyId */ public String getKMSKeyId() { return this.KMSKeyId; } /** * @return mountInstanceNum */ public Integer getMountInstanceNum() { return this.mountInstanceNum; } /** * @return mountInstances */ public MountInstances getMountInstances() { return this.mountInstances; } /** * @return multiAttach */ public String getMultiAttach() { return this.multiAttach; } /** * @return operationLocks */ public OperationLocks getOperationLocks() { return this.operationLocks; } /** * @return performanceLevel */ public String getPerformanceLevel() { return this.performanceLevel; } /** * @return portable */ public Boolean getPortable() { return this.portable; } /** * @return productCode */ public String getProductCode() { return this.productCode; } /** * @return provisionedIops */ public Long getProvisionedIops() { return this.provisionedIops; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return serialNumber */ public String getSerialNumber() { return this.serialNumber; } /** * @return size */ public Integer getSize() { return this.size; } /** * @return sourceSnapshotId */ public String getSourceSnapshotId() { return this.sourceSnapshotId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return storageClusterId */ public String getStorageClusterId() { return this.storageClusterId; } /** * @return storageSetId */ public String getStorageSetId() { return this.storageSetId; } /** * @return storageSetPartitionNumber */ public Integer getStorageSetPartitionNumber() { return this.storageSetPartitionNumber; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return throughput */ public Integer getThroughput() { return this.throughput; } /** * @return type */ public String getType() { return this.type; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String attachedTime; private Attachments attachments; private String autoSnapshotPolicyId; private String bdfId; private Boolean burstingEnabled; private String category; private String creationTime; private Boolean deleteAutoSnapshot; private Boolean deleteWithInstance; private String description; private String detachedTime; private String device; private String diskChargeType; private String diskId; private String diskName; private Boolean enableAutoSnapshot; private Boolean enableAutomatedSnapshotPolicy; private Boolean encrypted; private String expiredTime; private Integer IOPS; private Integer IOPSRead; private Integer IOPSWrite; private String imageId; private String instanceId; private String KMSKeyId; private Integer mountInstanceNum; private MountInstances mountInstances; private String multiAttach; private OperationLocks operationLocks; private String performanceLevel; private Boolean portable; private String productCode; private Long provisionedIops; private String regionId; private String resourceGroupId; private String serialNumber; private Integer size; private String sourceSnapshotId; private String status; private String storageClusterId; private String storageSetId; private Integer storageSetPartitionNumber; private Tags tags; private Integer throughput; private String type; private String zoneId; /** * AttachedTime. */ public Builder attachedTime(String attachedTime) { this.attachedTime = attachedTime; return this; } /** * Attachments. */ public Builder attachments(Attachments attachments) { this.attachments = attachments; return this; } /** * AutoSnapshotPolicyId. */ public Builder autoSnapshotPolicyId(String autoSnapshotPolicyId) { this.autoSnapshotPolicyId = autoSnapshotPolicyId; return this; } /** * BdfId. */ public Builder bdfId(String bdfId) { this.bdfId = bdfId; return this; } /** * BurstingEnabled. */ public Builder burstingEnabled(Boolean burstingEnabled) { this.burstingEnabled = burstingEnabled; return this; } /** * Category. */ public Builder category(String category) { this.category = category; return this; } /** * CreationTime. */ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** * DeleteAutoSnapshot. */ public Builder deleteAutoSnapshot(Boolean deleteAutoSnapshot) { this.deleteAutoSnapshot = deleteAutoSnapshot; return this; } /** * DeleteWithInstance. */ public Builder deleteWithInstance(Boolean deleteWithInstance) { this.deleteWithInstance = deleteWithInstance; return this; } /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * DetachedTime. */ public Builder detachedTime(String detachedTime) { this.detachedTime = detachedTime; return this; } /** * Device. */ public Builder device(String device) { this.device = device; return this; } /** * DiskChargeType. */ public Builder diskChargeType(String diskChargeType) { this.diskChargeType = diskChargeType; return this; } /** * DiskId. */ public Builder diskId(String diskId) { this.diskId = diskId; return this; } /** * DiskName. */ public Builder diskName(String diskName) { this.diskName = diskName; return this; } /** * EnableAutoSnapshot. */ public Builder enableAutoSnapshot(Boolean enableAutoSnapshot) { this.enableAutoSnapshot = enableAutoSnapshot; return this; } /** * EnableAutomatedSnapshotPolicy. */ public Builder enableAutomatedSnapshotPolicy(Boolean enableAutomatedSnapshotPolicy) { this.enableAutomatedSnapshotPolicy = enableAutomatedSnapshotPolicy; return this; } /** * Encrypted. */ public Builder encrypted(Boolean encrypted) { this.encrypted = encrypted; return this; } /** * ExpiredTime. */ public Builder expiredTime(String expiredTime) { this.expiredTime = expiredTime; return this; } /** * IOPS. */ public Builder IOPS(Integer IOPS) { this.IOPS = IOPS; return this; } /** * IOPSRead. */ public Builder IOPSRead(Integer IOPSRead) { this.IOPSRead = IOPSRead; return this; } /** * IOPSWrite. */ public Builder IOPSWrite(Integer IOPSWrite) { this.IOPSWrite = IOPSWrite; return this; } /** * ImageId. */ public Builder imageId(String imageId) { this.imageId = imageId; return this; } /** * InstanceId. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * KMSKeyId. */ public Builder KMSKeyId(String KMSKeyId) { this.KMSKeyId = KMSKeyId; return this; } /** * MountInstanceNum. */ public Builder mountInstanceNum(Integer mountInstanceNum) { this.mountInstanceNum = mountInstanceNum; return this; } /** * MountInstances. */ public Builder mountInstances(MountInstances mountInstances) { this.mountInstances = mountInstances; return this; } /** * MultiAttach. */ public Builder multiAttach(String multiAttach) { this.multiAttach = multiAttach; return this; } /** * OperationLocks. */ public Builder operationLocks(OperationLocks operationLocks) { this.operationLocks = operationLocks; return this; } /** * PerformanceLevel. */ public Builder performanceLevel(String performanceLevel) { this.performanceLevel = performanceLevel; return this; } /** * Portable. */ public Builder portable(Boolean portable) { this.portable = portable; return this; } /** * ProductCode. */ public Builder productCode(String productCode) { this.productCode = productCode; return this; } /** * ProvisionedIops. */ public Builder provisionedIops(Long provisionedIops) { this.provisionedIops = provisionedIops; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.resourceGroupId = resourceGroupId; return this; } /** * SerialNumber. */ public Builder serialNumber(String serialNumber) { this.serialNumber = serialNumber; return this; } /** * Size. */ public Builder size(Integer size) { this.size = size; return this; } /** * SourceSnapshotId. */ public Builder sourceSnapshotId(String sourceSnapshotId) { this.sourceSnapshotId = sourceSnapshotId; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * StorageClusterId. */ public Builder storageClusterId(String storageClusterId) { this.storageClusterId = storageClusterId; return this; } /** * StorageSetId. */ public Builder storageSetId(String storageSetId) { this.storageSetId = storageSetId; return this; } /** * StorageSetPartitionNumber. */ public Builder storageSetPartitionNumber(Integer storageSetPartitionNumber) { this.storageSetPartitionNumber = storageSetPartitionNumber; return this; } /** * Tags. */ public Builder tags(Tags tags) { this.tags = tags; return this; } /** * Throughput. */ public Builder throughput(Integer throughput) { this.throughput = throughput; return this; } /** * Type. */ public Builder type(String type) { this.type = type; return this; } /** * ZoneId. */ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public Disk build() { return new Disk(this); } } } public static class Disks extends TeaModel { @NameInMap("Disk") private java.util.List < Disk> disk; private Disks(Builder builder) { this.disk = builder.disk; } public static Builder builder() { return new Builder(); } public static Disks create() { return builder().build(); } /** * @return disk */ public java.util.List < Disk> getDisk() { return this.disk; } public static final class Builder { private java.util.List < Disk> disk; /** * Disk. */ public Builder disk(java.util.List < Disk> disk) { this.disk = disk; return this; } public Disks build() { return new Disks(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy