com.aliyun.sdk.service.cloudapi20160714.models.DescribeInstanceClusterInfoResponseBody Maven / Gradle / Ivy
Show all versions of alibabacloud-cloudapi20160714 Show documentation
// 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 DescribeInstanceClusterInfoResponseBody} extends {@link TeaModel}
*
* DescribeInstanceClusterInfoResponseBody
*/
public class DescribeInstanceClusterInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreatedTime")
private String createdTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("InstanceClusterAttribute")
private InstanceClusterAttribute instanceClusterAttribute;
@com.aliyun.core.annotation.NameInMap("InstanceClusterId")
private String instanceClusterId;
@com.aliyun.core.annotation.NameInMap("InstanceClusterName")
private String instanceClusterName;
@com.aliyun.core.annotation.NameInMap("InstanceClusterStatus")
private String instanceClusterStatus;
@com.aliyun.core.annotation.NameInMap("InstanceClusterType")
private String instanceClusterType;
@com.aliyun.core.annotation.NameInMap("InstanceClusterVersion")
private String instanceClusterVersion;
@com.aliyun.core.annotation.NameInMap("InstanceList")
private InstanceList instanceList;
@com.aliyun.core.annotation.NameInMap("ModifiedTime")
private String modifiedTime;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private DescribeInstanceClusterInfoResponseBody(Builder builder) {
this.createdTime = builder.createdTime;
this.description = builder.description;
this.instanceClusterAttribute = builder.instanceClusterAttribute;
this.instanceClusterId = builder.instanceClusterId;
this.instanceClusterName = builder.instanceClusterName;
this.instanceClusterStatus = builder.instanceClusterStatus;
this.instanceClusterType = builder.instanceClusterType;
this.instanceClusterVersion = builder.instanceClusterVersion;
this.instanceList = builder.instanceList;
this.modifiedTime = builder.modifiedTime;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static DescribeInstanceClusterInfoResponseBody create() {
return builder().build();
}
/**
* @return createdTime
*/
public String getCreatedTime() {
return this.createdTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return instanceClusterAttribute
*/
public InstanceClusterAttribute getInstanceClusterAttribute() {
return this.instanceClusterAttribute;
}
/**
* @return instanceClusterId
*/
public String getInstanceClusterId() {
return this.instanceClusterId;
}
/**
* @return instanceClusterName
*/
public String getInstanceClusterName() {
return this.instanceClusterName;
}
/**
* @return instanceClusterStatus
*/
public String getInstanceClusterStatus() {
return this.instanceClusterStatus;
}
/**
* @return instanceClusterType
*/
public String getInstanceClusterType() {
return this.instanceClusterType;
}
/**
* @return instanceClusterVersion
*/
public String getInstanceClusterVersion() {
return this.instanceClusterVersion;
}
/**
* @return instanceList
*/
public InstanceList getInstanceList() {
return this.instanceList;
}
/**
* @return modifiedTime
*/
public String getModifiedTime() {
return this.modifiedTime;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String createdTime;
private String description;
private InstanceClusterAttribute instanceClusterAttribute;
private String instanceClusterId;
private String instanceClusterName;
private String instanceClusterStatus;
private String instanceClusterType;
private String instanceClusterVersion;
private InstanceList instanceList;
private String modifiedTime;
private String regionId;
private String requestId;
/**
* The time when the cluster was created.
*
* example:
* 2022-10-10T18:29:27
*/
public Builder createdTime(String createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* The cluster description, which can be up to 200 characters in length.
*
* example:
* v0.0.4
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* The cluster details.
*/
public Builder instanceClusterAttribute(InstanceClusterAttribute instanceClusterAttribute) {
this.instanceClusterAttribute = instanceClusterAttribute;
return this;
}
/**
* The cluster ID.
*
* example:
* apigateway-ht-04e41d95e9c1
*/
public Builder instanceClusterId(String instanceClusterId) {
this.instanceClusterId = instanceClusterId;
return this;
}
/**
* The cluster name.
*
* example:
* test
*/
public Builder instanceClusterName(String instanceClusterName) {
this.instanceClusterName = instanceClusterName;
return this;
}
/**
* The cluster status.
*
* example:
* RUNNING
*/
public Builder instanceClusterStatus(String instanceClusterStatus) {
this.instanceClusterStatus = instanceClusterStatus;
return this;
}
/**
* The cluster type.
*
* example:
* normal
*/
public Builder instanceClusterType(String instanceClusterType) {
this.instanceClusterType = instanceClusterType;
return this;
}
/**
* The cluster version.
*
* example:
* 3.5.3.856
*/
public Builder instanceClusterVersion(String instanceClusterVersion) {
this.instanceClusterVersion = instanceClusterVersion;
return this;
}
/**
* The dedicated instances contained in the cluster.
*/
public Builder instanceList(InstanceList instanceList) {
this.instanceList = instanceList;
return this;
}
/**
* The time when the cluster was last modified.
*
* example:
* 2023-06-19 10:40:29 +0800
*/
public Builder modifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
/**
* The region ID of the cluster.
*
* example:
* cn-hangzhou
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The request ID.
*
* example:
* CEF72CEB-54B6-4AE8-B225-F876FF7BZ015
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public DescribeInstanceClusterInfoResponseBody build() {
return new DescribeInstanceClusterInfoResponseBody(this);
}
}
/**
*
* {@link DescribeInstanceClusterInfoResponseBody} extends {@link TeaModel}
*
* DescribeInstanceClusterInfoResponseBody
*/
public static class InstanceClusterAttribute extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ConnectCidrBlocks")
private String connectCidrBlocks;
@com.aliyun.core.annotation.NameInMap("ConnectVpcId")
private String connectVpcId;
@com.aliyun.core.annotation.NameInMap("EgressIpv6Enable")
private Boolean egressIpv6Enable;
@com.aliyun.core.annotation.NameInMap("HttpsPolicies")
private String httpsPolicies;
@com.aliyun.core.annotation.NameInMap("IPV4AclId")
private String IPV4AclId;
@com.aliyun.core.annotation.NameInMap("IPV4AclName")
private String IPV4AclName;
@com.aliyun.core.annotation.NameInMap("IPV4AclStatus")
private String IPV4AclStatus;
@com.aliyun.core.annotation.NameInMap("IPV4AclType")
private String IPV4AclType;
@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("InternetEgressAddress")
private String internetEgressAddress;
@com.aliyun.core.annotation.NameInMap("IntranetEgressAddress")
private String intranetEgressAddress;
@com.aliyun.core.annotation.NameInMap("IntranetSegments")
private String intranetSegments;
@com.aliyun.core.annotation.NameInMap("SupportIpv6")
private Boolean supportIpv6;
@com.aliyun.core.annotation.NameInMap("UserVpcId")
private String userVpcId;
@com.aliyun.core.annotation.NameInMap("UserVswitchId")
private String userVswitchId;
@com.aliyun.core.annotation.NameInMap("VipTypeList")
private String vipTypeList;
@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;
private InstanceClusterAttribute(Builder builder) {
this.connectCidrBlocks = builder.connectCidrBlocks;
this.connectVpcId = builder.connectVpcId;
this.egressIpv6Enable = builder.egressIpv6Enable;
this.httpsPolicies = builder.httpsPolicies;
this.IPV4AclId = builder.IPV4AclId;
this.IPV4AclName = builder.IPV4AclName;
this.IPV4AclStatus = builder.IPV4AclStatus;
this.IPV4AclType = builder.IPV4AclType;
this.IPV6AclId = builder.IPV6AclId;
this.IPV6AclName = builder.IPV6AclName;
this.IPV6AclStatus = builder.IPV6AclStatus;
this.IPV6AclType = builder.IPV6AclType;
this.internetEgressAddress = builder.internetEgressAddress;
this.intranetEgressAddress = builder.intranetEgressAddress;
this.intranetSegments = builder.intranetSegments;
this.supportIpv6 = builder.supportIpv6;
this.userVpcId = builder.userVpcId;
this.userVswitchId = builder.userVswitchId;
this.vipTypeList = builder.vipTypeList;
this.vpcIntranetEnable = builder.vpcIntranetEnable;
this.vpcOwnerId = builder.vpcOwnerId;
this.vpcSlbIntranetEnable = builder.vpcSlbIntranetEnable;
}
public static Builder builder() {
return new Builder();
}
public static InstanceClusterAttribute create() {
return builder().build();
}
/**
* @return connectCidrBlocks
*/
public String getConnectCidrBlocks() {
return this.connectCidrBlocks;
}
/**
* @return connectVpcId
*/
public String getConnectVpcId() {
return this.connectVpcId;
}
/**
* @return egressIpv6Enable
*/
public Boolean getEgressIpv6Enable() {
return this.egressIpv6Enable;
}
/**
* @return httpsPolicies
*/
public String getHttpsPolicies() {
return this.httpsPolicies;
}
/**
* @return IPV4AclId
*/
public String getIPV4AclId() {
return this.IPV4AclId;
}
/**
* @return IPV4AclName
*/
public String getIPV4AclName() {
return this.IPV4AclName;
}
/**
* @return IPV4AclStatus
*/
public String getIPV4AclStatus() {
return this.IPV4AclStatus;
}
/**
* @return IPV4AclType
*/
public String getIPV4AclType() {
return this.IPV4AclType;
}
/**
* @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 internetEgressAddress
*/
public String getInternetEgressAddress() {
return this.internetEgressAddress;
}
/**
* @return intranetEgressAddress
*/
public String getIntranetEgressAddress() {
return this.intranetEgressAddress;
}
/**
* @return intranetSegments
*/
public String getIntranetSegments() {
return this.intranetSegments;
}
/**
* @return supportIpv6
*/
public Boolean getSupportIpv6() {
return this.supportIpv6;
}
/**
* @return userVpcId
*/
public String getUserVpcId() {
return this.userVpcId;
}
/**
* @return userVswitchId
*/
public String getUserVswitchId() {
return this.userVswitchId;
}
/**
* @return vipTypeList
*/
public String getVipTypeList() {
return this.vipTypeList;
}
/**
* @return vpcIntranetEnable
*/
public Boolean getVpcIntranetEnable() {
return this.vpcIntranetEnable;
}
/**
* @return vpcOwnerId
*/
public Long getVpcOwnerId() {
return this.vpcOwnerId;
}
/**
* @return vpcSlbIntranetEnable
*/
public Boolean getVpcSlbIntranetEnable() {
return this.vpcSlbIntranetEnable;
}
public static final class Builder {
private String connectCidrBlocks;
private String connectVpcId;
private Boolean egressIpv6Enable;
private String httpsPolicies;
private String IPV4AclId;
private String IPV4AclName;
private String IPV4AclStatus;
private String IPV4AclType;
private String IPV6AclId;
private String IPV6AclName;
private String IPV6AclStatus;
private String IPV6AclType;
private String internetEgressAddress;
private String intranetEgressAddress;
private String intranetSegments;
private Boolean supportIpv6;
private String userVpcId;
private String userVswitchId;
private String vipTypeList;
private Boolean vpcIntranetEnable;
private Long vpcOwnerId;
private Boolean vpcSlbIntranetEnable;
/**
* The internal CIDR block of the user VPC that can be accessed by the cluster if the cluster consists of VPC integration instances.
*
* example:
* ["192.168.1.0/24","192.168.0.0/24"]
*/
public Builder connectCidrBlocks(String connectCidrBlocks) {
this.connectCidrBlocks = connectCidrBlocks;
return this;
}
/**
* The ID of the user VPC that is connected to the cluster if the cluster consists of VPC integration instances.
*
* example:
* vpc-p0w3kxxxxxxxxxxxxxxxx
*/
public Builder connectVpcId(String connectVpcId) {
this.connectVpcId = connectVpcId;
return this;
}
/**
* Indicates whether outbound IPv6 traffic is supported.
*
* example:
* true
*/
public Builder egressIpv6Enable(Boolean egressIpv6Enable) {
this.egressIpv6Enable = egressIpv6Enable;
return this;
}
/**
* The HTTPS security policy.
*
* example:
* HTTPS2_TLS1_0
*/
public Builder httpsPolicies(String httpsPolicies) {
this.httpsPolicies = httpsPolicies;
return this;
}
/**
* The ID of the IPv4 access control list (ACL).
*
* example:
* acl-t4n8i4rvvp70kcyuoXXXX
*/
public Builder IPV4AclId(String IPV4AclId) {
this.IPV4AclId = IPV4AclId;
return this;
}
/**
* The name of the IPv4 ACL.
*
* example:
* test-black
*/
public Builder IPV4AclName(String IPV4AclName) {
this.IPV4AclName = IPV4AclName;
return this;
}
/**
* Indicates whether IPv4 access control is enabled. Valid values:
*
* - on
* - off
*
*
* example:
* on
*/
public Builder IPV4AclStatus(String IPV4AclStatus) {
this.IPV4AclStatus = IPV4AclStatus;
return this;
}
/**
* The type of the IPv4 ACL.
*
* - black: blacklist
* - white: whitelist
*
*
* example:
* black
*/
public Builder IPV4AclType(String IPV4AclType) {
this.IPV4AclType = IPV4AclType;
return this;
}
/**
* The ID of the IPv6 ACL.
*
* example:
* acl-t4nevzhwbpe7cup18XXXX
*/
public Builder IPV6AclId(String IPV6AclId) {
this.IPV6AclId = IPV6AclId;
return this;
}
/**
* The name of the IPv6 ACL.
*
* example:
* test
*/
public Builder IPV6AclName(String IPV6AclName) {
this.IPV6AclName = IPV6AclName;
return this;
}
/**
* Indicates whether IPv6 access control 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:
* white
*/
public Builder IPV6AclType(String IPV6AclType) {
this.IPV6AclType = IPV6AclType;
return this;
}
/**
* The outbound public IP address.
*
* example:
* 39.106.XX.XX
*/
public Builder internetEgressAddress(String internetEgressAddress) {
this.internetEgressAddress = internetEgressAddress;
return this;
}
/**
* The outbound private IP address.
*
* example:
* 100.104.XX.XX/26
*/
public Builder intranetEgressAddress(String intranetEgressAddress) {
this.intranetEgressAddress = intranetEgressAddress;
return this;
}
/**
* The custom CIDR block. The configured CIDR block is considered as a private block.
*
* example:
* 123.0.0.1
*/
public Builder intranetSegments(String intranetSegments) {
this.intranetSegments = intranetSegments;
return this;
}
/**
* Indicates whether IPv6 traffic is supported.
*
* example:
* true
*/
public Builder supportIpv6(Boolean supportIpv6) {
this.supportIpv6 = supportIpv6;
return this;
}
/**
* The ID of the client VPC.
*
* example:
* vpc-2zew2v4vcg78mXXXX
*/
public Builder userVpcId(String userVpcId) {
this.userVpcId = userVpcId;
return this;
}
/**
* The vSwitch of the client VPC.
*
* example:
* vsw-2zecr5r7ao44tslsXXXX
*/
public Builder userVswitchId(String userVswitchId) {
this.userVswitchId = userVswitchId;
return this;
}
/**
* The VIPs of the cluster.
*
* example:
* VPC_INTERNET_IPV6
*/
public Builder vipTypeList(String vipTypeList) {
this.vipTypeList = vipTypeList;
return this;
}
/**
* Indicates whether a virtual private cloud (VPC) domain name is enabled.
*/
public Builder vpcIntranetEnable(Boolean vpcIntranetEnable) {
this.vpcIntranetEnable = vpcIntranetEnable;
return this;
}
/**
* The ID of the account to which the VPC belongs.
*
* example:
* 165438596694XXXX
*/
public Builder vpcOwnerId(Long vpcOwnerId) {
this.vpcOwnerId = vpcOwnerId;
return this;
}
/**
* Indicates whether self-calling is enabled.
*
* example:
* false
*/
public Builder vpcSlbIntranetEnable(Boolean vpcSlbIntranetEnable) {
this.vpcSlbIntranetEnable = vpcSlbIntranetEnable;
return this;
}
public InstanceClusterAttribute build() {
return new InstanceClusterAttribute(this);
}
}
}
/**
*
* {@link DescribeInstanceClusterInfoResponseBody} extends {@link TeaModel}
*
* DescribeInstanceClusterInfoResponseBody
*/
public static class Instance extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ErrorMessage")
private String errorMessage;
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.NameInMap("InstanceName")
private String instanceName;
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private Instance(Builder builder) {
this.errorMessage = builder.errorMessage;
this.instanceId = builder.instanceId;
this.instanceName = builder.instanceName;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static Instance create() {
return builder().build();
}
/**
* @return errorMessage
*/
public String getErrorMessage() {
return this.errorMessage;
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return instanceName
*/
public String getInstanceName() {
return this.instanceName;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder {
private String errorMessage;
private String instanceId;
private String instanceName;
private String status;
/**
* The error message returned if the call fails.
*
* example:
* Instance not found.
*/
public Builder errorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
/**
* The instance ID.
*
* example:
* apigateway-ht-04e41d95e9c1
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* The instance name.
*
* example:
* tf-testacceu-central-1apigatewayinstance8752
*/
public Builder instanceName(String instanceName) {
this.instanceName = instanceName;
return this;
}
/**
* The instance status.
*
* example:
* RUNNING
*/
public Builder status(String status) {
this.status = status;
return this;
}
public Instance build() {
return new Instance(this);
}
}
}
/**
*
* {@link DescribeInstanceClusterInfoResponseBody} extends {@link TeaModel}
*
* DescribeInstanceClusterInfoResponseBody
*/
public static class InstanceList extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Instance")
private java.util.List instance;
private InstanceList(Builder builder) {
this.instance = builder.instance;
}
public static Builder builder() {
return new Builder();
}
public static InstanceList 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 InstanceList build() {
return new InstanceList(this);
}
}
}
}