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

com.aliyun.sdk.service.ens20171110.models.DescribePrePaidInstanceStockResponseBody 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 DescribePrePaidInstanceStockResponseBody} extends {@link TeaModel}
 *
 * 

DescribePrePaidInstanceStockResponseBody

*/ public class DescribePrePaidInstanceStockResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("AvaliableCount") private Integer avaliableCount; @com.aliyun.core.annotation.NameInMap("Cores") private Integer cores; @com.aliyun.core.annotation.NameInMap("DataDiskSize") private Integer dataDiskSize; @com.aliyun.core.annotation.NameInMap("EnsRegionId") private String ensRegionId; @com.aliyun.core.annotation.NameInMap("InstanceSpec") private String instanceSpec; @com.aliyun.core.annotation.NameInMap("Memory") private Integer memory; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("ResourceGap") private String resourceGap; @com.aliyun.core.annotation.NameInMap("SystemDiskSize") private Integer systemDiskSize; private DescribePrePaidInstanceStockResponseBody(Builder builder) { this.avaliableCount = builder.avaliableCount; this.cores = builder.cores; this.dataDiskSize = builder.dataDiskSize; this.ensRegionId = builder.ensRegionId; this.instanceSpec = builder.instanceSpec; this.memory = builder.memory; this.requestId = builder.requestId; this.resourceGap = builder.resourceGap; this.systemDiskSize = builder.systemDiskSize; } public static Builder builder() { return new Builder(); } public static DescribePrePaidInstanceStockResponseBody create() { return builder().build(); } /** * @return avaliableCount */ public Integer getAvaliableCount() { return this.avaliableCount; } /** * @return cores */ public Integer getCores() { return this.cores; } /** * @return dataDiskSize */ public Integer getDataDiskSize() { return this.dataDiskSize; } /** * @return ensRegionId */ public String getEnsRegionId() { return this.ensRegionId; } /** * @return instanceSpec */ public String getInstanceSpec() { return this.instanceSpec; } /** * @return memory */ public Integer getMemory() { return this.memory; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return resourceGap */ public String getResourceGap() { return this.resourceGap; } /** * @return systemDiskSize */ public Integer getSystemDiskSize() { return this.systemDiskSize; } public static final class Builder { private Integer avaliableCount; private Integer cores; private Integer dataDiskSize; private String ensRegionId; private String instanceSpec; private Integer memory; private String requestId; private String resourceGap; private Integer systemDiskSize; /** *

The number of resources that you can purchase.

* * example: *

84

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

The number of CPU cores.

* * example: *

1

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

The size of the data disk.

* * example: *

20

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

The ID of the node.

* * example: *

cn-suzhou-telecom

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

The specification of the instance.

* * example: *

ens.sn1.stiny

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

The memory size. Unit: GB.

* * example: *

2048

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

The request ID.

* * example: *

007833C8-E819-4122-B636-0D48D7BF6DFB

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

The reason why resources are insufficient.

* * example: *

StockNotEnough

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

The size of the system disk.

* * example: *

20

*/ public Builder systemDiskSize(Integer systemDiskSize) { this.systemDiskSize = systemDiskSize; return this; } public DescribePrePaidInstanceStockResponseBody build() { return new DescribePrePaidInstanceStockResponseBody(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy