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

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

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.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 DescribeInstanceAttachmentAttributesResponseBody} extends {@link TeaModel}
 *
 * 

DescribeInstanceAttachmentAttributesResponseBody

*/ public class DescribeInstanceAttachmentAttributesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("Instances") private Instances instances; @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 DescribeInstanceAttachmentAttributesResponseBody(Builder builder) { this.instances = builder.instances; 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 DescribeInstanceAttachmentAttributesResponseBody create() { return builder().build(); } /** * @return instances */ public Instances getInstances() { return this.instances; } /** * @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 Instances instances; private Integer pageNumber; private Integer pageSize; private String requestId; private Integer totalCount; /** *

The information about the association between private pools and instances.

*/ public Builder instances(Instances instances) { this.instances = instances; return this; } /** *

The page number.

* * example: *

1

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

The number of entries per page.

* * example: *

10

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

The request ID.

* * example: *

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

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

The total number of entries returned.

* * example: *

1

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

DescribeInstanceAttachmentAttributesResponseBody

*/ public static class Instance extends TeaModel { @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("PrivatePoolOptionsId") private String privatePoolOptionsId; @com.aliyun.core.annotation.NameInMap("PrivatePoolOptionsMatchCriteria") private String privatePoolOptionsMatchCriteria; private Instance(Builder builder) { this.instanceId = builder.instanceId; this.privatePoolOptionsId = builder.privatePoolOptionsId; this.privatePoolOptionsMatchCriteria = builder.privatePoolOptionsMatchCriteria; } public static Builder builder() { return new Builder(); } public static Instance create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return privatePoolOptionsId */ public String getPrivatePoolOptionsId() { return this.privatePoolOptionsId; } /** * @return privatePoolOptionsMatchCriteria */ public String getPrivatePoolOptionsMatchCriteria() { return this.privatePoolOptionsMatchCriteria; } public static final class Builder { private String instanceId; private String privatePoolOptionsId; private String privatePoolOptionsMatchCriteria; /** *

The ID of the instance.

* * example: *

i-bp67acfmxazb4****

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

The ID of the private pool. If the value of PrivatePoolOptionsMatchCriteria is Open, the value of PrivatePoolOptionsId is the ID of the private pool that is automatically matched to the instance.

* * example: *

eap-bp67acfmxazb4****

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

The match mode of the private pool. Valid values:

*
    *
  • Open: open private pool. Instances automatically match an open private pool.
  • *
  • Target: specified private pool. Instances match a specified private pool.
  • *
  • None: no private pool. Instances do not use private pools.
  • *
* * example: *

Open

*/ public Builder privatePoolOptionsMatchCriteria(String privatePoolOptionsMatchCriteria) { this.privatePoolOptionsMatchCriteria = privatePoolOptionsMatchCriteria; return this; } public Instance build() { return new Instance(this); } } } /** * * {@link DescribeInstanceAttachmentAttributesResponseBody} extends {@link TeaModel} * *

DescribeInstanceAttachmentAttributesResponseBody

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy