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

com.aliyun.sdk.service.ecs20140526.models.DescribeElasticityAssuranceInstancesResponseBody 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 com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

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

DescribeElasticityAssuranceInstancesResponseBody

*/ public class DescribeElasticityAssuranceInstancesResponseBody extends TeaModel { @NameInMap("ElasticityAssuranceItem") private ElasticityAssuranceItem elasticityAssuranceItem; @NameInMap("MaxResults") private Integer maxResults; @NameInMap("NextToken") private String nextToken; @NameInMap("RequestId") private String requestId; @NameInMap("TotalCount") private Integer totalCount; private DescribeElasticityAssuranceInstancesResponseBody(Builder builder) { this.elasticityAssuranceItem = builder.elasticityAssuranceItem; this.maxResults = builder.maxResults; this.nextToken = builder.nextToken; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeElasticityAssuranceInstancesResponseBody create() { return builder().build(); } /** * @return elasticityAssuranceItem */ public ElasticityAssuranceItem getElasticityAssuranceItem() { return this.elasticityAssuranceItem; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private ElasticityAssuranceItem elasticityAssuranceItem; private Integer maxResults; private String nextToken; private String requestId; private Integer totalCount; /** * Details about the instances that match and use the elasticity assurance. */ public Builder elasticityAssuranceItem(ElasticityAssuranceItem elasticityAssuranceItem) { this.elasticityAssuranceItem = elasticityAssuranceItem; return this; } /** * The number of entries returned per page. */ public Builder maxResults(Integer maxResults) { this.maxResults = maxResults; return this; } /** * The token used to start the next query. */ public Builder nextToken(String nextToken) { this.nextToken = nextToken; return this; } /** * The request ID. */ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** * The total number of entries returned. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public DescribeElasticityAssuranceInstancesResponseBody build() { return new DescribeElasticityAssuranceInstancesResponseBody(this); } } public static class InstanceIdSet extends TeaModel { @NameInMap("InstanceId") private String instanceId; private InstanceIdSet(Builder builder) { this.instanceId = builder.instanceId; } public static Builder builder() { return new Builder(); } public static InstanceIdSet create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } public static final class Builder { private String instanceId; /** * The instance ID */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } public InstanceIdSet build() { return new InstanceIdSet(this); } } } public static class ElasticityAssuranceItem extends TeaModel { @NameInMap("InstanceIdSet") private java.util.List < InstanceIdSet> instanceIdSet; private ElasticityAssuranceItem(Builder builder) { this.instanceIdSet = builder.instanceIdSet; } public static Builder builder() { return new Builder(); } public static ElasticityAssuranceItem create() { return builder().build(); } /** * @return instanceIdSet */ public java.util.List < InstanceIdSet> getInstanceIdSet() { return this.instanceIdSet; } public static final class Builder { private java.util.List < InstanceIdSet> instanceIdSet; /** * InstanceIdSet. */ public Builder instanceIdSet(java.util.List < InstanceIdSet> instanceIdSet) { this.instanceIdSet = instanceIdSet; return this; } public ElasticityAssuranceItem build() { return new ElasticityAssuranceItem(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy