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

com.aliyun.sdk.service.ens20171110.models.DescribeCloudDiskAvailableResourceInfoResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

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

DescribeCloudDiskAvailableResourceInfoResponseBody

*/ public class DescribeCloudDiskAvailableResourceInfoResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("SupportResources") private SupportResources supportResources; private DescribeCloudDiskAvailableResourceInfoResponseBody(Builder builder) { this.requestId = builder.requestId; this.supportResources = builder.supportResources; } public static Builder builder() { return new Builder(); } public static DescribeCloudDiskAvailableResourceInfoResponseBody create() { return builder().build(); } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return supportResources */ public SupportResources getSupportResources() { return this.supportResources; } public static final class Builder { private String requestId; private SupportResources supportResources; /** *

The request ID.

* * example: *

0AE4F26E-7527-569F-A987-E3CF269A3C11

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

The specifications of resources that you can purchase.

*/ public Builder supportResources(SupportResources supportResources) { this.supportResources = supportResources; return this; } public DescribeCloudDiskAvailableResourceInfoResponseBody build() { return new DescribeCloudDiskAvailableResourceInfoResponseBody(this); } } /** * * {@link DescribeCloudDiskAvailableResourceInfoResponseBody} extends {@link TeaModel} * *

DescribeCloudDiskAvailableResourceInfoResponseBody

*/ public static class SupportResource extends TeaModel { @com.aliyun.core.annotation.NameInMap("CanBuyCount") private Long canBuyCount; @com.aliyun.core.annotation.NameInMap("Category") private String category; @com.aliyun.core.annotation.NameInMap("DefaultDiskSize") private Long defaultDiskSize; @com.aliyun.core.annotation.NameInMap("DiskMaxSize") private Long diskMaxSize; @com.aliyun.core.annotation.NameInMap("DiskMinSize") private Long diskMinSize; @com.aliyun.core.annotation.NameInMap("EnsRegionId") private String ensRegionId; @com.aliyun.core.annotation.NameInMap("EnsRegionName") private String ensRegionName; private SupportResource(Builder builder) { this.canBuyCount = builder.canBuyCount; this.category = builder.category; this.defaultDiskSize = builder.defaultDiskSize; this.diskMaxSize = builder.diskMaxSize; this.diskMinSize = builder.diskMinSize; this.ensRegionId = builder.ensRegionId; this.ensRegionName = builder.ensRegionName; } public static Builder builder() { return new Builder(); } public static SupportResource create() { return builder().build(); } /** * @return canBuyCount */ public Long getCanBuyCount() { return this.canBuyCount; } /** * @return category */ public String getCategory() { return this.category; } /** * @return defaultDiskSize */ public Long getDefaultDiskSize() { return this.defaultDiskSize; } /** * @return diskMaxSize */ public Long getDiskMaxSize() { return this.diskMaxSize; } /** * @return diskMinSize */ public Long getDiskMinSize() { return this.diskMinSize; } /** * @return ensRegionId */ public String getEnsRegionId() { return this.ensRegionId; } /** * @return ensRegionName */ public String getEnsRegionName() { return this.ensRegionName; } public static final class Builder { private Long canBuyCount; private String category; private Long defaultDiskSize; private Long diskMaxSize; private Long diskMinSize; private String ensRegionId; private String ensRegionName; /** *

The number of disks that you can purchase.

* * example: *

2

*/ public Builder canBuyCount(Long canBuyCount) { this.canBuyCount = canBuyCount; return this; } /** *

The type of the disk.

*
    *
  • cloud_efficiency: ultra disk.
  • *
  • cloud_ssd: all-flash disk.
  • *
  • local_hdd: local HDD.
  • *
  • local_ssd: local SSD.
  • *
* * example: *

cloud_ssd

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

The default size of the disk. Unit: GiB.

* * example: *

20

*/ public Builder defaultDiskSize(Long defaultDiskSize) { this.defaultDiskSize = defaultDiskSize; return this; } /** *

The maximum size of the disk. Unit: GiB.

* * example: *

80

*/ public Builder diskMaxSize(Long diskMaxSize) { this.diskMaxSize = diskMaxSize; return this; } /** *

The minimum size of the disk size. Unit: GiB.

* * example: *

20

*/ public Builder diskMinSize(Long diskMinSize) { this.diskMinSize = diskMinSize; return this; } /** *

The ID of the edge node.

* * example: *

cn-beijing-cmcc

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

The name of the task node.

* * example: *

Beijing Mobile

*/ public Builder ensRegionName(String ensRegionName) { this.ensRegionName = ensRegionName; return this; } public SupportResource build() { return new SupportResource(this); } } } /** * * {@link DescribeCloudDiskAvailableResourceInfoResponseBody} extends {@link TeaModel} * *

DescribeCloudDiskAvailableResourceInfoResponseBody

*/ public static class SupportResources extends TeaModel { @com.aliyun.core.annotation.NameInMap("SupportResource") private java.util.List supportResource; private SupportResources(Builder builder) { this.supportResource = builder.supportResource; } public static Builder builder() { return new Builder(); } public static SupportResources create() { return builder().build(); } /** * @return supportResource */ public java.util.List getSupportResource() { return this.supportResource; } public static final class Builder { private java.util.List supportResource; /** * SupportResource. */ public Builder supportResource(java.util.List supportResource) { this.supportResource = supportResource; return this; } public SupportResources build() { return new SupportResources(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy