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

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

DescribeLoadBalancerSpecResponseBody

*/ public class DescribeLoadBalancerSpecResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("LoadBalancerSpecs") private java.util.List loadBalancerSpecs; @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 DescribeLoadBalancerSpecResponseBody(Builder builder) { this.loadBalancerSpecs = builder.loadBalancerSpecs; 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 DescribeLoadBalancerSpecResponseBody create() { return builder().build(); } /** * @return loadBalancerSpecs */ public java.util.List getLoadBalancerSpecs() { return this.loadBalancerSpecs; } /** * @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 java.util.List loadBalancerSpecs; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; /** *

The specifications. Valid values:

*/ public Builder loadBalancerSpecs(java.util.List loadBalancerSpecs) { this.loadBalancerSpecs = loadBalancerSpecs; return this; } /** *

The page number.

* * example: *

10

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

The number of entries per page. Maximum value: 100. Default value: 10.

* * example: *

100

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

The ID of the request.

* * example: *

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

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

The total number of entries returned.

* * example: *

7

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

DescribeLoadBalancerSpecResponseBody

*/ public static class LoadBalancerSpecs extends TeaModel { @com.aliyun.core.annotation.NameInMap("DisplayName") private String displayName; @com.aliyun.core.annotation.NameInMap("LoadBalancerSpec") private String loadBalancerSpec; private LoadBalancerSpecs(Builder builder) { this.displayName = builder.displayName; this.loadBalancerSpec = builder.loadBalancerSpec; } public static Builder builder() { return new Builder(); } public static LoadBalancerSpecs create() { return builder().build(); } /** * @return displayName */ public String getDisplayName() { return this.displayName; } /** * @return loadBalancerSpec */ public String getLoadBalancerSpec() { return this.loadBalancerSpec; } public static final class Builder { private String displayName; private String loadBalancerSpec; /** *

The display name of the instance type.

* * example: *

elb.s1.small

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

The specifications of the ELB instance.

* * example: *

elb.s1.small

*/ public Builder loadBalancerSpec(String loadBalancerSpec) { this.loadBalancerSpec = loadBalancerSpec; return this; } public LoadBalancerSpecs build() { return new LoadBalancerSpecs(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy