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

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

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

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 { @com.aliyun.core.annotation.NameInMap("Disks") private Disks disks; @com.aliyun.core.annotation.NameInMap("PageNumber") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.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.

* * example: *

1

*/ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries returned per page.

* * example: *

1

*/ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** *

The ID of the request.

* * example: *

49765E79-0D5D-4451-B3AE-580A20831846

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The total number of storage sets.

* * example: *

1

*/ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeStorageSetDetailsResponseBody build() { return new DescribeStorageSetDetailsResponseBody(this); } } /** * * {@link DescribeStorageSetDetailsResponseBody} extends {@link TeaModel} * *

DescribeStorageSetDetailsResponseBody

*/ public static class Disk extends TeaModel { @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("DiskId") private String diskId; @com.aliyun.core.annotation.NameInMap("DiskName") private String diskName; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("StorageSetId") private String storageSetId; @com.aliyun.core.annotation.NameInMap("StorageSetPartitionNumber") private Integer storageSetPartitionNumber; @com.aliyun.core.annotation.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.

* * example: *

cloud_ssd

*/ public Builder category(String category) { this.category = category; return this; } /** *

The time when the disk or Shared Block Storage device was created.

* * example: *

2019-06-01T00:00:00Z

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** *

The ID of the disk or Shared Block Storage device.

* * example: *

d-bp67acfmxazb4p****

*/ public Builder diskId(String diskId) { this.diskId = diskId; return this; } /** *

The name of the disk or Shared Block Storage device.

* * example: *

testDiskName

*/ public Builder diskName(String diskName) { this.diskName = diskName; return this; } /** *

The region to which the disk or Shared Block Storage device belongs.

* * example: *

cn-hangzhou

*/ public Builder regionId(String regionId) { this.regionId = regionId; return this; } /** *

The ID of the storage set.

* * example: *

ss-bp67acfmxazb4p****

*/ public Builder storageSetId(String storageSetId) { this.storageSetId = storageSetId; return this; } /** *

The number of partitions in the storage set.

* * example: *

3

*/ public Builder storageSetPartitionNumber(Integer storageSetPartitionNumber) { this.storageSetPartitionNumber = storageSetPartitionNumber; return this; } /** *

The zone to which the disk or Shared Block Storage device belongs.

* * example: *

cn-hangzhou-g

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public Disk build() { return new Disk(this); } } } /** * * {@link DescribeStorageSetDetailsResponseBody} extends {@link TeaModel} * *

DescribeStorageSetDetailsResponseBody

*/ public static class Disks extends TeaModel { @com.aliyun.core.annotation.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