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

com.aliyun.sdk.service.cloudapi20160714.models.DescribeInstancesResponseBody Maven / Gradle / Ivy

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

DescribeInstancesResponseBody

*/ public class DescribeInstancesResponseBody 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 DescribeInstancesResponseBody(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 DescribeInstancesResponseBody 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 instances.

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

The page number of the returned page.

* * 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: *

CEB6EC62-B6C7-5082-A45A-45A204724AC2

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

The total number of entries.

* * example: *

1

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

DescribeInstancesResponseBody

*/ public static class SpecAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("LocalName") private String localName; @com.aliyun.core.annotation.NameInMap("Value") private String value; private SpecAttribute(Builder builder) { this.localName = builder.localName; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static SpecAttribute create() { return builder().build(); } /** * @return localName */ public String getLocalName() { return this.localName; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String localName; private String value; /** *

The variable name.

* * example: *

SLA

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

The variable value.

* * example: *

99.95%

*/ public Builder value(String value) { this.value = value; return this; } public SpecAttribute build() { return new SpecAttribute(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

*/ public static class InstanceSpecAttributes extends TeaModel { @com.aliyun.core.annotation.NameInMap("SpecAttribute") private java.util.List specAttribute; private InstanceSpecAttributes(Builder builder) { this.specAttribute = builder.specAttribute; } public static Builder builder() { return new Builder(); } public static InstanceSpecAttributes create() { return builder().build(); } /** * @return specAttribute */ public java.util.List getSpecAttribute() { return this.specAttribute; } public static final class Builder { private java.util.List specAttribute; /** * SpecAttribute. */ public Builder specAttribute(java.util.List specAttribute) { this.specAttribute = specAttribute; return this; } public InstanceSpecAttributes build() { return new InstanceSpecAttributes(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

*/ public static class NetworkInterfaceAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("CidrBlock") private String cidrBlock; @com.aliyun.core.annotation.NameInMap("SecurityGroupId") private String securityGroupId; @com.aliyun.core.annotation.NameInMap("VswitchId") private String vswitchId; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; private NetworkInterfaceAttribute(Builder builder) { this.cidrBlock = builder.cidrBlock; this.securityGroupId = builder.securityGroupId; this.vswitchId = builder.vswitchId; this.zoneId = builder.zoneId; } public static Builder builder() { return new Builder(); } public static NetworkInterfaceAttribute create() { return builder().build(); } /** * @return cidrBlock */ public String getCidrBlock() { return this.cidrBlock; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return vswitchId */ public String getVswitchId() { return this.vswitchId; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } public static final class Builder { private String cidrBlock; private String securityGroupId; private String vswitchId; private String zoneId; /** *

The CIDR block of the vSwitch.

* * example: *

192.168.17.0/24

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

The security group ID. Services in the same security group can access each other.

* * example: *

sg-2zeehz13zcyj1kfk3o85

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

The vSwitch ID.

* * example: *

vsw-2zeqals6rbj51bhjn8b89

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

The zone ID.

* * example: *

cn-shenzhen-d

*/ public Builder zoneId(String zoneId) { this.zoneId = zoneId; return this; } public NetworkInterfaceAttribute build() { return new NetworkInterfaceAttribute(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

*/ public static class NetworkInterfaceAttributes extends TeaModel { @com.aliyun.core.annotation.NameInMap("NetworkInterfaceAttribute") private java.util.List networkInterfaceAttribute; private NetworkInterfaceAttributes(Builder builder) { this.networkInterfaceAttribute = builder.networkInterfaceAttribute; } public static Builder builder() { return new Builder(); } public static NetworkInterfaceAttributes create() { return builder().build(); } /** * @return networkInterfaceAttribute */ public java.util.List getNetworkInterfaceAttribute() { return this.networkInterfaceAttribute; } public static final class Builder { private java.util.List networkInterfaceAttribute; /** * NetworkInterfaceAttribute. */ public Builder networkInterfaceAttribute(java.util.List networkInterfaceAttribute) { this.networkInterfaceAttribute = networkInterfaceAttribute; return this; } public NetworkInterfaceAttributes build() { return new NetworkInterfaceAttributes(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

*/ public static class PrivateDnsList extends TeaModel { @com.aliyun.core.annotation.NameInMap("PrivateDns") private java.util.List privateDns; private PrivateDnsList(Builder builder) { this.privateDns = builder.privateDns; } public static Builder builder() { return new Builder(); } public static PrivateDnsList create() { return builder().build(); } /** * @return privateDns */ public java.util.List getPrivateDns() { return this.privateDns; } public static final class Builder { private java.util.List privateDns; /** * PrivateDns. */ public Builder privateDns(java.util.List privateDns) { this.privateDns = privateDns; return this; } public PrivateDnsList build() { return new PrivateDnsList(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

*/ public static class TagInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("Key") private String key; @com.aliyun.core.annotation.NameInMap("Value") private String value; private TagInfo(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static TagInfo create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** *

The tag key of the instance.

* * example: *

Cookie

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

The tag value of the instance.

* * example: *

240

*/ public Builder value(String value) { this.value = value; return this; } public TagInfo build() { return new TagInfo(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

*/ public static class Tags extends TeaModel { @com.aliyun.core.annotation.NameInMap("TagInfo") private java.util.List tagInfo; private Tags(Builder builder) { this.tagInfo = builder.tagInfo; } public static Builder builder() { return new Builder(); } public static Tags create() { return builder().build(); } /** * @return tagInfo */ public java.util.List getTagInfo() { return this.tagInfo; } public static final class Builder { private java.util.List tagInfo; /** * TagInfo. */ public Builder tagInfo(java.util.List tagInfo) { this.tagInfo = tagInfo; return this; } public Tags build() { return new Tags(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

*/ public static class InstanceAttribute extends TeaModel { @com.aliyun.core.annotation.NameInMap("AclId") private String aclId; @com.aliyun.core.annotation.NameInMap("AclName") private String aclName; @com.aliyun.core.annotation.NameInMap("AclStatus") private String aclStatus; @com.aliyun.core.annotation.NameInMap("AclType") private String aclType; @com.aliyun.core.annotation.NameInMap("ClassicEgressAddress") private String classicEgressAddress; @com.aliyun.core.annotation.NameInMap("ConnectCidrBlocks") private String connectCidrBlocks; @com.aliyun.core.annotation.NameInMap("ConnectVpcId") private String connectVpcId; @com.aliyun.core.annotation.NameInMap("CreatedTime") private String createdTime; @com.aliyun.core.annotation.NameInMap("DedicatedInstanceType") private String dedicatedInstanceType; @com.aliyun.core.annotation.NameInMap("EgressIpv6Enable") private Boolean egressIpv6Enable; @com.aliyun.core.annotation.NameInMap("ExpiredTime") private String expiredTime; @com.aliyun.core.annotation.NameInMap("HttpsPolicies") private String httpsPolicies; @com.aliyun.core.annotation.NameInMap("IPV6AclId") private String IPV6AclId; @com.aliyun.core.annotation.NameInMap("IPV6AclName") private String IPV6AclName; @com.aliyun.core.annotation.NameInMap("IPV6AclStatus") private String IPV6AclStatus; @com.aliyun.core.annotation.NameInMap("IPV6AclType") private String IPV6AclType; @com.aliyun.core.annotation.NameInMap("InstanceChargeType") private String instanceChargeType; @com.aliyun.core.annotation.NameInMap("InstanceCidrBlock") private String instanceCidrBlock; @com.aliyun.core.annotation.NameInMap("InstanceClusterId") private String instanceClusterId; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceName") private String instanceName; @com.aliyun.core.annotation.NameInMap("InstanceRpsLimit") private Integer instanceRpsLimit; @com.aliyun.core.annotation.NameInMap("InstanceSpec") private String instanceSpec; @com.aliyun.core.annotation.NameInMap("InstanceSpecAttributes") private InstanceSpecAttributes instanceSpecAttributes; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("InternetEgressAddress") private String internetEgressAddress; @com.aliyun.core.annotation.NameInMap("IntranetSegments") private String intranetSegments; @com.aliyun.core.annotation.NameInMap("MaintainEndTime") private String maintainEndTime; @com.aliyun.core.annotation.NameInMap("MaintainStartTime") private String maintainStartTime; @com.aliyun.core.annotation.NameInMap("NetworkInterfaceAttributes") private NetworkInterfaceAttributes networkInterfaceAttributes; @com.aliyun.core.annotation.NameInMap("NewVpcEgressAddress") private String newVpcEgressAddress; @com.aliyun.core.annotation.NameInMap("PrivateDnsList") private PrivateDnsList privateDnsList; @com.aliyun.core.annotation.NameInMap("RegionId") private String regionId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("SupportIpv6") private Boolean supportIpv6; @com.aliyun.core.annotation.NameInMap("Tags") private Tags tags; @com.aliyun.core.annotation.NameInMap("UserVpcId") private String userVpcId; @com.aliyun.core.annotation.NameInMap("UserVswitchId") private String userVswitchId; @com.aliyun.core.annotation.NameInMap("VpcEgressAddress") private String vpcEgressAddress; @com.aliyun.core.annotation.NameInMap("VpcIntranetEnable") private Boolean vpcIntranetEnable; @com.aliyun.core.annotation.NameInMap("VpcOwnerId") private Long vpcOwnerId; @com.aliyun.core.annotation.NameInMap("VpcSlbIntranetEnable") private Boolean vpcSlbIntranetEnable; @com.aliyun.core.annotation.NameInMap("ZoneId") private String zoneId; @com.aliyun.core.annotation.NameInMap("ZoneLocalName") private String zoneLocalName; private InstanceAttribute(Builder builder) { this.aclId = builder.aclId; this.aclName = builder.aclName; this.aclStatus = builder.aclStatus; this.aclType = builder.aclType; this.classicEgressAddress = builder.classicEgressAddress; this.connectCidrBlocks = builder.connectCidrBlocks; this.connectVpcId = builder.connectVpcId; this.createdTime = builder.createdTime; this.dedicatedInstanceType = builder.dedicatedInstanceType; this.egressIpv6Enable = builder.egressIpv6Enable; this.expiredTime = builder.expiredTime; this.httpsPolicies = builder.httpsPolicies; this.IPV6AclId = builder.IPV6AclId; this.IPV6AclName = builder.IPV6AclName; this.IPV6AclStatus = builder.IPV6AclStatus; this.IPV6AclType = builder.IPV6AclType; this.instanceChargeType = builder.instanceChargeType; this.instanceCidrBlock = builder.instanceCidrBlock; this.instanceClusterId = builder.instanceClusterId; this.instanceId = builder.instanceId; this.instanceName = builder.instanceName; this.instanceRpsLimit = builder.instanceRpsLimit; this.instanceSpec = builder.instanceSpec; this.instanceSpecAttributes = builder.instanceSpecAttributes; this.instanceType = builder.instanceType; this.internetEgressAddress = builder.internetEgressAddress; this.intranetSegments = builder.intranetSegments; this.maintainEndTime = builder.maintainEndTime; this.maintainStartTime = builder.maintainStartTime; this.networkInterfaceAttributes = builder.networkInterfaceAttributes; this.newVpcEgressAddress = builder.newVpcEgressAddress; this.privateDnsList = builder.privateDnsList; this.regionId = builder.regionId; this.status = builder.status; this.supportIpv6 = builder.supportIpv6; this.tags = builder.tags; this.userVpcId = builder.userVpcId; this.userVswitchId = builder.userVswitchId; this.vpcEgressAddress = builder.vpcEgressAddress; this.vpcIntranetEnable = builder.vpcIntranetEnable; this.vpcOwnerId = builder.vpcOwnerId; this.vpcSlbIntranetEnable = builder.vpcSlbIntranetEnable; this.zoneId = builder.zoneId; this.zoneLocalName = builder.zoneLocalName; } public static Builder builder() { return new Builder(); } public static InstanceAttribute create() { return builder().build(); } /** * @return aclId */ public String getAclId() { return this.aclId; } /** * @return aclName */ public String getAclName() { return this.aclName; } /** * @return aclStatus */ public String getAclStatus() { return this.aclStatus; } /** * @return aclType */ public String getAclType() { return this.aclType; } /** * @return classicEgressAddress */ public String getClassicEgressAddress() { return this.classicEgressAddress; } /** * @return connectCidrBlocks */ public String getConnectCidrBlocks() { return this.connectCidrBlocks; } /** * @return connectVpcId */ public String getConnectVpcId() { return this.connectVpcId; } /** * @return createdTime */ public String getCreatedTime() { return this.createdTime; } /** * @return dedicatedInstanceType */ public String getDedicatedInstanceType() { return this.dedicatedInstanceType; } /** * @return egressIpv6Enable */ public Boolean getEgressIpv6Enable() { return this.egressIpv6Enable; } /** * @return expiredTime */ public String getExpiredTime() { return this.expiredTime; } /** * @return httpsPolicies */ public String getHttpsPolicies() { return this.httpsPolicies; } /** * @return IPV6AclId */ public String getIPV6AclId() { return this.IPV6AclId; } /** * @return IPV6AclName */ public String getIPV6AclName() { return this.IPV6AclName; } /** * @return IPV6AclStatus */ public String getIPV6AclStatus() { return this.IPV6AclStatus; } /** * @return IPV6AclType */ public String getIPV6AclType() { return this.IPV6AclType; } /** * @return instanceChargeType */ public String getInstanceChargeType() { return this.instanceChargeType; } /** * @return instanceCidrBlock */ public String getInstanceCidrBlock() { return this.instanceCidrBlock; } /** * @return instanceClusterId */ public String getInstanceClusterId() { return this.instanceClusterId; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceName */ public String getInstanceName() { return this.instanceName; } /** * @return instanceRpsLimit */ public Integer getInstanceRpsLimit() { return this.instanceRpsLimit; } /** * @return instanceSpec */ public String getInstanceSpec() { return this.instanceSpec; } /** * @return instanceSpecAttributes */ public InstanceSpecAttributes getInstanceSpecAttributes() { return this.instanceSpecAttributes; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return internetEgressAddress */ public String getInternetEgressAddress() { return this.internetEgressAddress; } /** * @return intranetSegments */ public String getIntranetSegments() { return this.intranetSegments; } /** * @return maintainEndTime */ public String getMaintainEndTime() { return this.maintainEndTime; } /** * @return maintainStartTime */ public String getMaintainStartTime() { return this.maintainStartTime; } /** * @return networkInterfaceAttributes */ public NetworkInterfaceAttributes getNetworkInterfaceAttributes() { return this.networkInterfaceAttributes; } /** * @return newVpcEgressAddress */ public String getNewVpcEgressAddress() { return this.newVpcEgressAddress; } /** * @return privateDnsList */ public PrivateDnsList getPrivateDnsList() { return this.privateDnsList; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return supportIpv6 */ public Boolean getSupportIpv6() { return this.supportIpv6; } /** * @return tags */ public Tags getTags() { return this.tags; } /** * @return userVpcId */ public String getUserVpcId() { return this.userVpcId; } /** * @return userVswitchId */ public String getUserVswitchId() { return this.userVswitchId; } /** * @return vpcEgressAddress */ public String getVpcEgressAddress() { return this.vpcEgressAddress; } /** * @return vpcIntranetEnable */ public Boolean getVpcIntranetEnable() { return this.vpcIntranetEnable; } /** * @return vpcOwnerId */ public Long getVpcOwnerId() { return this.vpcOwnerId; } /** * @return vpcSlbIntranetEnable */ public Boolean getVpcSlbIntranetEnable() { return this.vpcSlbIntranetEnable; } /** * @return zoneId */ public String getZoneId() { return this.zoneId; } /** * @return zoneLocalName */ public String getZoneLocalName() { return this.zoneLocalName; } public static final class Builder { private String aclId; private String aclName; private String aclStatus; private String aclType; private String classicEgressAddress; private String connectCidrBlocks; private String connectVpcId; private String createdTime; private String dedicatedInstanceType; private Boolean egressIpv6Enable; private String expiredTime; private String httpsPolicies; private String IPV6AclId; private String IPV6AclName; private String IPV6AclStatus; private String IPV6AclType; private String instanceChargeType; private String instanceCidrBlock; private String instanceClusterId; private String instanceId; private String instanceName; private Integer instanceRpsLimit; private String instanceSpec; private InstanceSpecAttributes instanceSpecAttributes; private String instanceType; private String internetEgressAddress; private String intranetSegments; private String maintainEndTime; private String maintainStartTime; private NetworkInterfaceAttributes networkInterfaceAttributes; private String newVpcEgressAddress; private PrivateDnsList privateDnsList; private String regionId; private String status; private Boolean supportIpv6; private Tags tags; private String userVpcId; private String userVswitchId; private String vpcEgressAddress; private Boolean vpcIntranetEnable; private Long vpcOwnerId; private Boolean vpcSlbIntranetEnable; private String zoneId; private String zoneLocalName; /** *

The ACL ID.

* * example: *

acl-uf6f9zfxfxtp5j9ng3yv4

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

The name of the access control list (ACL).

* * example: *

test

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

Indicates whether the ACL is enabled. Valid values:

*
    *
  • on
  • *
  • off
  • *
* * example: *

on

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

The ACL type. Valid values:

*
    *
  • black: blacklist
  • *
  • white: whitelist
  • *
* * example: *

white

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

The egress IP address.

* * example: *

10.0.0.1

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

The internal CIDR block of the user"s VPC that can be accessed if the instance is a VPC integration instance.

* * example: *

["172.16.0.0/24","172.16.1.0/24"]

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

The ID of the user"s VPC if the instance is a VPC integration instance.

* * example: *

vpc-m5eo7khlb4h4f8y9egsdg

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

The time when the instance was created.

* * example: *

2021-10-22 15:36:53.0

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

The type of the dedicated instance. Valid values:

*
    *
  • vpc_connect: VPC integration instance
  • *
  • normal: conventional dedicated instance
  • *
* * example: *

vpc_connect

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

Indicates whether outbound IPv6 traffic is supported.

* * example: *

true

*/ public Builder egressIpv6Enable(Boolean egressIpv6Enable) { this.egressIpv6Enable = egressIpv6Enable; return this; } /** *

The time when the instance expires.

* * example: *

1659801600000

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

The HTTPS security policy.

* * example: *

HTTPS2_TLS1_2

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

The ID of the IPv6 ACL.

* * example: *

acl-124resFfs235

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

The name of the IPv6 ACL.

* * example: *

testIPV6

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

Indicates whether the IPv6 ACL is enabled. Valid values:

*
    *
  • on
  • *
  • off
  • *
* * example: *

on

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

The type of the IPv6 ACL. Valid values:

*
    *
  • black: blacklist
  • *
  • white: whitelist
  • *
* * example: *

black

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

The billing method of the instance. Valid values:

*
    *
  • PrePaid: subscription
  • *
  • PayAsYouGo: pay-as-you-go
  • *
* * example: *

PrePaid

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

The CIDR block of the dedicated instance.

*
    *
  • 172.16.0.0/12
  • *
  • 192.168.0.0/16
  • *
* * example: *

192.168.0.0/16

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

The ID of the cluster to which the dedicated instance cluster belongs.

* * example: *

apigateway-cluster-sh-1523cafbgffd

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

The instance ID.

* * example: *

api-shared-vpc-020

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

The instance name.

* * example: *

test

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

The requests per second (RPS) limit on the instance.

* * example: *

500

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

The instance specification.

* * example: *

api.s1.small

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

The instance specification details.

*/ public Builder instanceSpecAttributes(InstanceSpecAttributes instanceSpecAttributes) { this.instanceSpecAttributes = instanceSpecAttributes; return this; } /** *

The instance type. Valid values:

*
    *
  • VPC_SHARED: shared instance (VPC)
  • *
  • VPC_DEDICATED: dedicated instance (VPC)
  • *
* * example: *

VPC_SHARED

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

The outbound public IP address.

* * example: *

47.241.89.244

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

The internal CIDR block that is allowed to access the API Gateway instance.

* * example: *

["172.36.0.0/16","172.31.16.0/20"]

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

The end time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.

* * example: *

01:00Z

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

The start time of the maintenance window. The time is in the HH:mmZ format. The time is displayed in UTC.

* * example: *

22:00Z

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

The network information of the user"s VPC if the instance is a VPC integration instance.

*/ public Builder networkInterfaceAttributes(NetworkInterfaceAttributes networkInterfaceAttributes) { this.networkInterfaceAttributes = networkInterfaceAttributes; return this; } /** *

The new VPC egress CIDR block.

* * example: *

100.104.253.0/26

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

The private DNS list.

*/ public Builder privateDnsList(PrivateDnsList privateDnsList) { this.privateDnsList = privateDnsList; return this; } /** *

The region ID.

* * example: *

cn-beijing

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

The instance status.

* * example: *

RUNNING

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

Indicates whether IPv6 traffic is supported.

* * example: *

true

*/ public Builder supportIpv6(Boolean supportIpv6) { this.supportIpv6 = supportIpv6; return this; } /** *

The tags of the instance.

*/ public Builder tags(Tags tags) { this.tags = tags; return this; } /** *

The user VPC ID.

* * example: *

vpc-thxyu9***t0g4

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

The user vSwitch ID.

* * example: *

vsw-t4ehd7q***i2f

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

The VPC egress CIDR block.

* * example: *

100.104.254.0/26

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

Indicates whether VPC access is enabled.

* * example: *

true

*/ public Builder vpcIntranetEnable(Boolean vpcIntranetEnable) { this.vpcIntranetEnable = vpcIntranetEnable; return this; } /** *

The ID of the account to which the VPC-based instance belongs.

* * example: *

1408453217640291****

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

Indicates whether virtual private cloud (VPC) Server Load Balancer (SLB) is enabled.

* * example: *

true

*/ public Builder vpcSlbIntranetEnable(Boolean vpcSlbIntranetEnable) { this.vpcSlbIntranetEnable = vpcSlbIntranetEnable; return this; } /** *

The zone ID.

* * example: *

cn-hangzhou-MAZ5(g,h)

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

The zone.

* * example: *

Multi-Availability Zone 3(b,c,a)

*/ public Builder zoneLocalName(String zoneLocalName) { this.zoneLocalName = zoneLocalName; return this; } public InstanceAttribute build() { return new InstanceAttribute(this); } } } /** * * {@link DescribeInstancesResponseBody} extends {@link TeaModel} * *

DescribeInstancesResponseBody

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy