com.aliyun.rds20140815.models.DescribeDBInstanceNetInfoForChannelResponseBody Maven / Gradle / Ivy
Show all versions of rds20140815 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class DescribeDBInstanceNetInfoForChannelResponseBody extends TeaModel {
/**
* The information about the instance connection.
*/
@NameInMap("DBInstanceNetInfos")
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos DBInstanceNetInfos;
/**
* The network type of the instance. Valid values:
*
* - VPC: a virtual private cloud (VPC)
* - Classic: classic network
*
*
* example:
* VPC
*/
@NameInMap("InstanceNetworkType")
public String instanceNetworkType;
/**
* The ID of the request.
*
* example:
* 61DF1F28-F409-50C0-B90A-CCE82D44****
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeDBInstanceNetInfoForChannelResponseBody build(java.util.Map map) throws Exception {
DescribeDBInstanceNetInfoForChannelResponseBody self = new DescribeDBInstanceNetInfoForChannelResponseBody();
return TeaModel.build(map, self);
}
public DescribeDBInstanceNetInfoForChannelResponseBody setDBInstanceNetInfos(DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos DBInstanceNetInfos) {
this.DBInstanceNetInfos = DBInstanceNetInfos;
return this;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos getDBInstanceNetInfos() {
return this.DBInstanceNetInfos;
}
public DescribeDBInstanceNetInfoForChannelResponseBody setInstanceNetworkType(String instanceNetworkType) {
this.instanceNetworkType = instanceNetworkType;
return this;
}
public String getInstanceNetworkType() {
return this.instanceNetworkType;
}
public DescribeDBInstanceNetInfoForChannelResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight extends TeaModel {
/**
* The availability of the instance. Valid values:
*
* - Unavailable
* - Available
*
*
* example:
* Unavailable
*/
@NameInMap("Availability")
public String availability;
/**
* The instance ID.
*
* example:
* rm-uf6wjk5*****
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
/**
* The instance type. Valid values:
*
* - Master: primary instance
* - Readonly: read-only instance
*
*
* example:
* Master
*/
@NameInMap("DBInstanceType")
public String DBInstanceType;
/**
* The weight of the instance.
*
* example:
* 100
*/
@NameInMap("Weight")
public String weight;
public static DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight build(java.util.Map map) throws Exception {
DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight self = new DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight();
return TeaModel.build(map, self);
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight setAvailability(String availability) {
this.availability = availability;
return this;
}
public String getAvailability() {
return this.availability;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight setDBInstanceType(String DBInstanceType) {
this.DBInstanceType = DBInstanceType;
return this;
}
public String getDBInstanceType() {
return this.DBInstanceType;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeightsDBInstanceWeight setWeight(String weight) {
this.weight = weight;
return this;
}
public String getWeight() {
return this.weight;
}
}
public static class DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights extends TeaModel {
@NameInMap("DBInstanceWeight")
public java.util.List DBInstanceWeight;
public static DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights build(java.util.Map map) throws Exception {
DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights self = new DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights();
return TeaModel.build(map, self);
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights setDBInstanceWeight(java.util.List DBInstanceWeight) {
this.DBInstanceWeight = DBInstanceWeight;
return this;
}
public java.util.List getDBInstanceWeight() {
return this.DBInstanceWeight;
}
}
public static class DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup extends TeaModel {
/**
* The name of the IP address whitelist.
*
* example:
* Default
*/
@NameInMap("SecurityIPGroupName")
public String securityIPGroupName;
/**
* The IP addresses that is contained in the IP address whitelist.
*
* example:
* 127.0.XX.XX
*/
@NameInMap("SecurityIPs")
public String securityIPs;
public static DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup build(java.util.Map map) throws Exception {
DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup self = new DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup();
return TeaModel.build(map, self);
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup setSecurityIPGroupName(String securityIPGroupName) {
this.securityIPGroupName = securityIPGroupName;
return this;
}
public String getSecurityIPGroupName() {
return this.securityIPGroupName;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroupsSecurityIPGroup setSecurityIPs(String securityIPs) {
this.securityIPs = securityIPs;
return this;
}
public String getSecurityIPs() {
return this.securityIPs;
}
}
public static class DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups extends TeaModel {
@NameInMap("securityIPGroup")
public java.util.List securityIPGroup;
public static DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups build(java.util.Map map) throws Exception {
DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups self = new DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups();
return TeaModel.build(map, self);
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups setSecurityIPGroup(java.util.List securityIPGroup) {
this.securityIPGroup = securityIPGroup;
return this;
}
public java.util.List getSecurityIPGroup() {
return this.securityIPGroup;
}
}
public static class DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo extends TeaModel {
/**
* The availability of the instance. Valid values:
*
* - Unavailable
* - Available
*
*
* example:
* Unavailable
*/
@NameInMap("Availability")
public String availability;
/**
* The endpoint of the instance.
*
* example:
* rm-uf6w*****.mysql.rds.aliyuncs.com
*/
@NameInMap("ConnectionString")
public String connectionString;
/**
* The type of the endpoint. Valid values:
*
* - Normal: a regular endpoint
* - ReadWriteSplitting: a read/write splitting endpoint that is assigned after the shared proxy feature is enabled.
*
*
* example:
* Normal
*/
@NameInMap("ConnectionStringType")
public String connectionStringType;
/**
* The information about read weights to implement read/write splitting after the shared proxy feature is enabled.
*/
@NameInMap("DBInstanceWeights")
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights DBInstanceWeights;
/**
* The policy that is used to assign read weights. This parameter is returned only for a read/write splitting endpoint that is assigned after the shared proxy feature is enabled. Valid values:
*
* - Standard: The system automatically allocates read weights to the instance and its read-only instances based on the specifications of the instances.
* - Custom: You must manually allocate read weights to the instance and its read-only instances.
*
*
* example:
* Standard
*/
@NameInMap("DistributionType")
public String distributionType;
/**
* The IP address of the instance.
*
* example:
* 172.16.XX.XX
*/
@NameInMap("IPAddress")
public String IPAddress;
/**
* The network type of the IP address. Valid values:
*
* - Public: the Internet
* - Inner: the classic network
* - Private: a virtual private cloud (VPC)
*
*
* example:
* Inner
*/
@NameInMap("IPType")
public String IPType;
/**
* The latency threshold that is allowed for read/write splitting of the shared proxy feature. Unit: seconds.
*
* This parameter is returned only when ConnectionStringType is set to ReadWriteSplitting.
*
*
* example:
* 12
*/
@NameInMap("MaxDelayTime")
public String maxDelayTime;
/**
* The port number of the instance.
*
* example:
* 6379
*/
@NameInMap("Port")
public String port;
/**
* The details of the IP address whitelist.
*/
@NameInMap("SecurityIPGroups")
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups securityIPGroups;
/**
* An internal parameter. You do not need to specify this parameter.
*
* example:
* Disabled
*/
@NameInMap("Upgradeable")
public String upgradeable;
/**
* The VPC ID of the instance.
*
* example:
* vpc-bp1nme44gek34slfc****
*/
@NameInMap("VPCId")
public String VPCId;
/**
* The vSwitch ID of the instance.
*
* example:
* vsw-bp1e7clcw529l773d****
*/
@NameInMap("VSwitchId")
public String vSwitchId;
/**
* The expiration time of the endpoint of the classic network type. Unit: seconds.
*
* example:
* 5183779
*/
@NameInMap("expiredTime")
public String expiredTime;
public static DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo build(java.util.Map map) throws Exception {
DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo self = new DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo();
return TeaModel.build(map, self);
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setAvailability(String availability) {
this.availability = availability;
return this;
}
public String getAvailability() {
return this.availability;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setConnectionString(String connectionString) {
this.connectionString = connectionString;
return this;
}
public String getConnectionString() {
return this.connectionString;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setConnectionStringType(String connectionStringType) {
this.connectionStringType = connectionStringType;
return this;
}
public String getConnectionStringType() {
return this.connectionStringType;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setDBInstanceWeights(DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights DBInstanceWeights) {
this.DBInstanceWeights = DBInstanceWeights;
return this;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoDBInstanceWeights getDBInstanceWeights() {
return this.DBInstanceWeights;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setDistributionType(String distributionType) {
this.distributionType = distributionType;
return this;
}
public String getDistributionType() {
return this.distributionType;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setIPAddress(String IPAddress) {
this.IPAddress = IPAddress;
return this;
}
public String getIPAddress() {
return this.IPAddress;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setIPType(String IPType) {
this.IPType = IPType;
return this;
}
public String getIPType() {
return this.IPType;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setMaxDelayTime(String maxDelayTime) {
this.maxDelayTime = maxDelayTime;
return this;
}
public String getMaxDelayTime() {
return this.maxDelayTime;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setPort(String port) {
this.port = port;
return this;
}
public String getPort() {
return this.port;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setSecurityIPGroups(DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups securityIPGroups) {
this.securityIPGroups = securityIPGroups;
return this;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfoSecurityIPGroups getSecurityIPGroups() {
return this.securityIPGroups;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setUpgradeable(String upgradeable) {
this.upgradeable = upgradeable;
return this;
}
public String getUpgradeable() {
return this.upgradeable;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setVPCId(String VPCId) {
this.VPCId = VPCId;
return this;
}
public String getVPCId() {
return this.VPCId;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
public String getVSwitchId() {
return this.vSwitchId;
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfosDBInstanceNetInfo setExpiredTime(String expiredTime) {
this.expiredTime = expiredTime;
return this;
}
public String getExpiredTime() {
return this.expiredTime;
}
}
public static class DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos extends TeaModel {
@NameInMap("DBInstanceNetInfo")
public java.util.List DBInstanceNetInfo;
public static DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos build(java.util.Map map) throws Exception {
DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos self = new DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos();
return TeaModel.build(map, self);
}
public DescribeDBInstanceNetInfoForChannelResponseBodyDBInstanceNetInfos setDBInstanceNetInfo(java.util.List DBInstanceNetInfo) {
this.DBInstanceNetInfo = DBInstanceNetInfo;
return this;
}
public java.util.List getDBInstanceNetInfo() {
return this.DBInstanceNetInfo;
}
}
}