com.aliyun.sdk.service.ecs20140526.models.DescribeStorageSetDetailsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// 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 DescribeStorageSetDetailsResponseBody} extends {@link TeaModel}
*
* DescribeStorageSetDetailsResponseBody
*/
public class DescribeStorageSetDetailsResponseBody extends TeaModel {
@NameInMap("Disks")
private Disks disks;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeStorageSetDetailsResponseBody(Builder builder) {
this.disks = builder.disks;
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 DescribeStorageSetDetailsResponseBody create() {
return builder().build();
}
/**
* @return disks
*/
public Disks getDisks() {
return this.disks;
}
/**
* @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 Integer pageNumber;
private Integer pageSize;
private String requestId;
private Integer totalCount;
/**
* Details about the disks or Shared Block Storage devices in the storage set.
*/
public Builder disks(Disks disks) {
this.disks = disks;
return this;
}
/**
* The page number of the returned page.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries returned per page.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The ID of the request.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The total number of storage sets.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeStorageSetDetailsResponseBody build() {
return new DescribeStorageSetDetailsResponseBody(this);
}
}
public static class Disk extends TeaModel {
@NameInMap("Category")
private String category;
@NameInMap("CreationTime")
private String creationTime;
@NameInMap("DiskId")
private String diskId;
@NameInMap("DiskName")
private String diskName;
@NameInMap("RegionId")
private String regionId;
@NameInMap("StorageSetId")
private String storageSetId;
@NameInMap("StorageSetPartitionNumber")
private Integer storageSetPartitionNumber;
@NameInMap("ZoneId")
private String zoneId;
private Disk(Builder builder) {
this.category = builder.category;
this.creationTime = builder.creationTime;
this.diskId = builder.diskId;
this.diskName = builder.diskName;
this.regionId = builder.regionId;
this.storageSetId = builder.storageSetId;
this.storageSetPartitionNumber = builder.storageSetPartitionNumber;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static Disk create() {
return builder().build();
}
/**
* @return category
*/
public String getCategory() {
return this.category;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return diskId
*/
public String getDiskId() {
return this.diskId;
}
/**
* @return diskName
*/
public String getDiskName() {
return this.diskName;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return storageSetId
*/
public String getStorageSetId() {
return this.storageSetId;
}
/**
* @return storageSetPartitionNumber
*/
public Integer getStorageSetPartitionNumber() {
return this.storageSetPartitionNumber;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String category;
private String creationTime;
private String diskId;
private String diskName;
private String regionId;
private String storageSetId;
private Integer storageSetPartitionNumber;
private String zoneId;
/**
* The category of the disk or Shared Block Storage device.
*/
public Builder category(String category) {
this.category = category;
return this;
}
/**
* The time when the disk or Shared Block Storage device was created.
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The ID of the disk or Shared Block Storage device.
*/
public Builder diskId(String diskId) {
this.diskId = diskId;
return this;
}
/**
* The name of the disk or Shared Block Storage device.
*/
public Builder diskName(String diskName) {
this.diskName = diskName;
return this;
}
/**
* The region to which the disk or Shared Block Storage device belongs.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The ID of the storage set.
*/
public Builder storageSetId(String storageSetId) {
this.storageSetId = storageSetId;
return this;
}
/**
* The number of partitions in the storage set.
*/
public Builder storageSetPartitionNumber(Integer storageSetPartitionNumber) {
this.storageSetPartitionNumber = storageSetPartitionNumber;
return this;
}
/**
* The zone to which the disk or Shared Block Storage device belongs.
*/
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