public class LoadBalancer extends AbstractModel
| Constructor and Description | 
|---|
| LoadBalancer() | 
| LoadBalancer(LoadBalancer source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAddressIPv6()Get IPv6 address of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getAddressIPVersion()Get IP version. | 
| String | getAnycastZone()Get Anycast CLB publishing region. | 
| String[] | getAttributeFlags()Get CLB attribute
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| ZoneInfo[] | getBackupZoneSet()Get Secondary AZ
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getChargeType()Get Billing mode of CLB instance. | 
| String[] | getClusterIds()Get | 
| String | getClusterTag()Get Dedicated layer-7 tag. | 
| String | getConfigId()Get Custom configuration ID at the CLB instance level
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getCreateTime()Get CLB instance creation time. | 
| String | getDomain()Get CLB instance domain name. | 
| ExclusiveCluster | getExclusiveCluster()Get Private network dedicated cluster
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getExpireTime()Get CLB instance expiration time, which takes effect only for prepaid instances
Note: This field may return null, indicating that no valid values can be obtained. | 
| ExtraInfo | getExtraInfo()Get Reserved field which can be ignored generally. | 
| Long | getForward()Get CLB type identifier. | 
| String | getHealthLogSetId()Get Health check logset ID of CLB CLS
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getHealthLogTopicId()Get Health check log topic ID of CLB CLS
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| String | getIPv6Mode()Get This field is meaningful only when the IP address version is `ipv6`. | 
| Boolean | getIsBlock()Get Whether VIP is blocked
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getIsBlockTime()Get Time blocked or unblocked
Note: this field may return null, indicating that no valid values can be obtained. | 
| Boolean | getIsDDos()Get Whether an Anti-DDoS Pro instance can be bound
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getIsolatedTime()Get CLB instance isolation time
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getIsolation()Get 0: not isolated; 1: isolated. | 
| String | getLoadBalancerId()Get CLB instance ID. | 
| String | getLoadBalancerName()Get CLB instance name. | 
| Boolean | getLoadBalancerPassToTarget()Get Whether a real server opens the traffic from a CLB instance to the internet
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getLoadBalancerType()Get CLB instance network type:
OPEN: public network; INTERNAL: private network. | 
| String[] | getLoadBalancerVips()Get List of VIPs of a CLB instance. | 
| Boolean | getLocalBgp()Get Whether the IP type is the local BGP | 
| String | getLog()Get Log information. | 
| String | getLogSetId()Get Logset ID of CLB Log Service (CLS)
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getLogTopicId()Get Log topic ID of CLB Log Service (CLS)
Note: This field may return null, indicating that no valid values can be obtained. | 
| ZoneInfo | getMasterZone()Get Primary AZ
Note: This field may return null, indicating that no valid values can be obtained. | 
| Boolean | getMixIpTarget()Get If the layer-7 listener of an IPv6FullChain CLB instance is enabled, the CLB instance can be bound with an IPv4 and an IPv6 CVM instance simultaneously. | 
| InternetAccessible | getNetworkAttributes()Get CLB instance network attributes
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getNfvInfo()Get Whether it is an NFV CLB instance. | 
| Long | getNumericalVpcId()Get VPC ID in a numeric form
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getOpenBgp()Get Protective CLB identifier. | 
| LBChargePrepaid | getPrepaidAttributes()Get Prepaid billing attributes of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getProjectId()Get ID of the project to which a CLB instance belongs. | 
| String[] | getSecureGroups()Get Security group of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getSlaType()Get Performance guarantee specification
Note: this field may return null, indicating that no valid values can be obtained. | 
| Boolean | getSnat()Get SNAT is enabled for all private network classic CLB created before December 2016. | 
| SnatIp[] | getSnatIps()Get `SnatIp` list after SnatPro load balancing is enabled. | 
| Boolean | getSnatPro()Get Whether to enable SnatPro. | 
| Long | getStatus()Get CLB instance status, including:
0: creating; 1: running. | 
| String | getStatusTime()Get Last status change time of a CLB instance. | 
| String | getSubnetId()Get Subnet where a CLB instance resides (meaningful only for private network VPC CLB)
Note: This field may return null, indicating that no valid values can be obtained. | 
| TagInfo[] | getTags()Get CLB instance tag information
Note: This field may return null, indicating that no valid values can be obtained. | 
| TargetRegionInfo | getTargetRegionInfo()Get Basic information of a backend server bound to a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getVipIsp()Get ISP to which a CLB IP address belongs
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getVpcId()Get VPC ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| String[] | getZones()Get Availability zone of a VPC-based private network CLB instance
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setAddressIPv6(String AddressIPv6)Set IPv6 address of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setAddressIPVersion(String AddressIPVersion)Set IP version. | 
| void | setAnycastZone(String AnycastZone)Set Anycast CLB publishing region. | 
| void | setAttributeFlags(String[] AttributeFlags)Set CLB attribute
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setBackupZoneSet(ZoneInfo[] BackupZoneSet)Set Secondary AZ
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setChargeType(String ChargeType)Set Billing mode of CLB instance. | 
| void | setClusterIds(String[] ClusterIds)Set | 
| void | setClusterTag(String ClusterTag)Set Dedicated layer-7 tag. | 
| void | setConfigId(String ConfigId)Set Custom configuration ID at the CLB instance level
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCreateTime(String CreateTime)Set CLB instance creation time. | 
| void | setDomain(String Domain)Set CLB instance domain name. | 
| void | setExclusiveCluster(ExclusiveCluster ExclusiveCluster)Set Private network dedicated cluster
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setExpireTime(String ExpireTime)Set CLB instance expiration time, which takes effect only for prepaid instances
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setExtraInfo(ExtraInfo ExtraInfo)Set Reserved field which can be ignored generally. | 
| void | setForward(Long Forward)Set CLB type identifier. | 
| void | setHealthLogSetId(String HealthLogSetId)Set Health check logset ID of CLB CLS
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setHealthLogTopicId(String HealthLogTopicId)Set Health check log topic ID of CLB CLS
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | setIPv6Mode(String IPv6Mode)Set This field is meaningful only when the IP address version is `ipv6`. | 
| void | setIsBlock(Boolean IsBlock)Set Whether VIP is blocked
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setIsBlockTime(String IsBlockTime)Set Time blocked or unblocked
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setIsDDos(Boolean IsDDos)Set Whether an Anti-DDoS Pro instance can be bound
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIsolatedTime(String IsolatedTime)Set CLB instance isolation time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setIsolation(Long Isolation)Set 0: not isolated; 1: isolated. | 
| void | setLoadBalancerId(String LoadBalancerId)Set CLB instance ID. | 
| void | setLoadBalancerName(String LoadBalancerName)Set CLB instance name. | 
| void | setLoadBalancerPassToTarget(Boolean LoadBalancerPassToTarget)Set Whether a real server opens the traffic from a CLB instance to the internet
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setLoadBalancerType(String LoadBalancerType)Set CLB instance network type:
OPEN: public network; INTERNAL: private network. | 
| void | setLoadBalancerVips(String[] LoadBalancerVips)Set List of VIPs of a CLB instance. | 
| void | setLocalBgp(Boolean LocalBgp)Set Whether the IP type is the local BGP | 
| void | setLog(String Log)Set Log information. | 
| void | setLogSetId(String LogSetId)Set Logset ID of CLB Log Service (CLS)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setLogTopicId(String LogTopicId)Set Log topic ID of CLB Log Service (CLS)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setMasterZone(ZoneInfo MasterZone)Set Primary AZ
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setMixIpTarget(Boolean MixIpTarget)Set If the layer-7 listener of an IPv6FullChain CLB instance is enabled, the CLB instance can be bound with an IPv4 and an IPv6 CVM instance simultaneously. | 
| void | setNetworkAttributes(InternetAccessible NetworkAttributes)Set CLB instance network attributes
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setNfvInfo(String NfvInfo)Set Whether it is an NFV CLB instance. | 
| void | setNumericalVpcId(Long NumericalVpcId)Set VPC ID in a numeric form
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setOpenBgp(Long OpenBgp)Set Protective CLB identifier. | 
| void | setPrepaidAttributes(LBChargePrepaid PrepaidAttributes)Set Prepaid billing attributes of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setProjectId(Long ProjectId)Set ID of the project to which a CLB instance belongs. | 
| void | setSecureGroups(String[] SecureGroups)Set Security group of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setSlaType(String SlaType)Set Performance guarantee specification
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setSnat(Boolean Snat)Set SNAT is enabled for all private network classic CLB created before December 2016. | 
| void | setSnatIps(SnatIp[] SnatIps)Set `SnatIp` list after SnatPro load balancing is enabled. | 
| void | setSnatPro(Boolean SnatPro)Set Whether to enable SnatPro. | 
| void | setStatus(Long Status)Set CLB instance status, including:
0: creating; 1: running. | 
| void | setStatusTime(String StatusTime)Set Last status change time of a CLB instance. | 
| void | setSubnetId(String SubnetId)Set Subnet where a CLB instance resides (meaningful only for private network VPC CLB)
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setTags(TagInfo[] Tags)Set CLB instance tag information
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setTargetRegionInfo(TargetRegionInfo TargetRegionInfo)Set Basic information of a backend server bound to a CLB instance
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setVipIsp(String VipIsp)Set ISP to which a CLB IP address belongs
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setVpcId(String VpcId)Set VPC ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setZones(String[] Zones)Set Availability zone of a VPC-based private network CLB instance
Note: this field may return `null`, indicating that no valid values can be obtained. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic LoadBalancer()
public LoadBalancer(LoadBalancer source)
public String getLoadBalancerId()
public void setLoadBalancerId(String LoadBalancerId)
LoadBalancerId - CLB instance ID.public String getLoadBalancerName()
public void setLoadBalancerName(String LoadBalancerName)
LoadBalancerName - CLB instance name.public String getLoadBalancerType()
public void setLoadBalancerType(String LoadBalancerType)
LoadBalancerType - CLB instance network type:
OPEN: public network; INTERNAL: private network.public Long getForward()
public void setForward(Long Forward)
Forward - CLB type identifier. Value range: 1 (CLB); 0 (classic CLB).public String getDomain()
public void setDomain(String Domain)
Domain - CLB instance domain name. This field is provided only to public network classic CLB instance.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getLoadBalancerVips()
public void setLoadBalancerVips(String[] LoadBalancerVips)
LoadBalancerVips - List of VIPs of a CLB instance.
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status - CLB instance status, including:
0: creating; 1: running.
Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - CLB instance creation time.
Note: This field may return null, indicating that no valid values can be obtained.public String getStatusTime()
public void setStatusTime(String StatusTime)
StatusTime - Last status change time of a CLB instance.
Note: This field may return null, indicating that no valid values can be obtained.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId - ID of the project to which a CLB instance belongs. 0: default project.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC ID
Note: This field may return null, indicating that no valid values can be obtained.public Long getOpenBgp()
public void setOpenBgp(Long OpenBgp)
OpenBgp - Protective CLB identifier. Value range: 1 (protective), 0 (non-protective).
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getSnat()
public void setSnat(Boolean Snat)
Snat - SNAT is enabled for all private network classic CLB created before December 2016.
Note: This field may return null, indicating that no valid values can be obtained.public Long getIsolation()
public void setIsolation(Long Isolation)
Isolation - 0: not isolated; 1: isolated.
Note: This field may return null, indicating that no valid values can be obtained.public String getLog()
public void setLog(String Log)
Log - Log information. Only the public network CLB that have HTTP or HTTPS listeners can generate logs.
Note: This field may return null, indicating that no valid values can be obtained.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - Subnet where a CLB instance resides (meaningful only for private network VPC CLB)
Note: This field may return null, indicating that no valid values can be obtained.public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags - CLB instance tag information
Note: This field may return null, indicating that no valid values can be obtained.public String[] getSecureGroups()
public void setSecureGroups(String[] SecureGroups)
SecureGroups - Security group of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained.public TargetRegionInfo getTargetRegionInfo()
public void setTargetRegionInfo(TargetRegionInfo TargetRegionInfo)
TargetRegionInfo - Basic information of a backend server bound to a CLB instance
Note: This field may return null, indicating that no valid values can be obtained.public String getAnycastZone()
public void setAnycastZone(String AnycastZone)
AnycastZone - Anycast CLB publishing region. For non-anycast CLB, this field returns an empty string.
Note: This field may return null, indicating that no valid values can be obtained.public String getAddressIPVersion()
public void setAddressIPVersion(String AddressIPVersion)
AddressIPVersion - IP version. Valid values: ipv4, ipv6
Note: this field may return null, indicating that no valid values can be obtained.public Long getNumericalVpcId()
public void setNumericalVpcId(Long NumericalVpcId)
NumericalVpcId - VPC ID in a numeric form
Note: This field may return null, indicating that no valid values can be obtained.public String getVipIsp()
public void setVipIsp(String VipIsp)
VipIsp - ISP to which a CLB IP address belongs
Note: This field may return null, indicating that no valid values can be obtained.public ZoneInfo getMasterZone()
public void setMasterZone(ZoneInfo MasterZone)
MasterZone - Primary AZ
Note: This field may return null, indicating that no valid values can be obtained.public ZoneInfo[] getBackupZoneSet()
public void setBackupZoneSet(ZoneInfo[] BackupZoneSet)
BackupZoneSet - Secondary AZ
Note: This field may return null, indicating that no valid values can be obtained.public String getIsolatedTime()
public void setIsolatedTime(String IsolatedTime)
IsolatedTime - CLB instance isolation time
Note: This field may return null, indicating that no valid values can be obtained.public String getExpireTime()
public void setExpireTime(String ExpireTime)
ExpireTime - CLB instance expiration time, which takes effect only for prepaid instances
Note: This field may return null, indicating that no valid values can be obtained.public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType - Billing mode of CLB instance. Valid values: PREPAID (monthly subscription), POSTPAID_BY_HOUR (pay as you go).
Note: this field may return `null`, indicating that no valid values can be obtained.public InternetAccessible getNetworkAttributes()
public void setNetworkAttributes(InternetAccessible NetworkAttributes)
NetworkAttributes - CLB instance network attributes
Note: This field may return null, indicating that no valid values can be obtained.public LBChargePrepaid getPrepaidAttributes()
public void setPrepaidAttributes(LBChargePrepaid PrepaidAttributes)
PrepaidAttributes - Prepaid billing attributes of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained.public String getLogSetId()
public void setLogSetId(String LogSetId)
LogSetId - Logset ID of CLB Log Service (CLS)
Note: This field may return null, indicating that no valid values can be obtained.public String getLogTopicId()
public void setLogTopicId(String LogTopicId)
LogTopicId - Log topic ID of CLB Log Service (CLS)
Note: This field may return null, indicating that no valid values can be obtained.public String getAddressIPv6()
public void setAddressIPv6(String AddressIPv6)
AddressIPv6 - IPv6 address of a CLB instance
Note: This field may return null, indicating that no valid values can be obtained.public ExtraInfo getExtraInfo()
public void setExtraInfo(ExtraInfo ExtraInfo)
ExtraInfo - Reserved field which can be ignored generally.
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getIsDDos()
public void setIsDDos(Boolean IsDDos)
IsDDos - Whether an Anti-DDoS Pro instance can be bound
Note: This field may return null, indicating that no valid values can be obtained.public String getConfigId()
public void setConfigId(String ConfigId)
ConfigId - Custom configuration ID at the CLB instance level
Note: This field may return null, indicating that no valid values can be obtained.public Boolean getLoadBalancerPassToTarget()
public void setLoadBalancerPassToTarget(Boolean LoadBalancerPassToTarget)
LoadBalancerPassToTarget - Whether a real server opens the traffic from a CLB instance to the internet
Note: this field may return null, indicating that no valid values can be obtained.public ExclusiveCluster getExclusiveCluster()
public void setExclusiveCluster(ExclusiveCluster ExclusiveCluster)
ExclusiveCluster - Private network dedicated cluster
Note: this field may return null, indicating that no valid values can be obtained.public String getIPv6Mode()
public void setIPv6Mode(String IPv6Mode)
IPv6Mode - This field is meaningful only when the IP address version is `ipv6`. Valid values: IPv6Nat64, IPv6FullChain
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getSnatPro()
public void setSnatPro(Boolean SnatPro)
SnatPro - Whether to enable SnatPro.
Note: this field may return null, indicating that no valid values can be obtained.public SnatIp[] getSnatIps()
public void setSnatIps(SnatIp[] SnatIps)
SnatIps - `SnatIp` list after SnatPro load balancing is enabled.
Note: this field may return null, indicating that no valid values can be obtained.public String getSlaType()
public void setSlaType(String SlaType)
SlaType - Performance guarantee specification
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getIsBlock()
public void setIsBlock(Boolean IsBlock)
IsBlock - Whether VIP is blocked
Note: this field may return null, indicating that no valid values can be obtained.public String getIsBlockTime()
public void setIsBlockTime(String IsBlockTime)
IsBlockTime - Time blocked or unblocked
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getLocalBgp()
public void setLocalBgp(Boolean LocalBgp)
LocalBgp - Whether the IP type is the local BGPpublic String getClusterTag()
public void setClusterTag(String ClusterTag)
ClusterTag - Dedicated layer-7 tag.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getMixIpTarget()
public void setMixIpTarget(Boolean MixIpTarget)
MixIpTarget - If the layer-7 listener of an IPv6FullChain CLB instance is enabled, the CLB instance can be bound with an IPv4 and an IPv6 CVM instance simultaneously.
Note: this field may return null, indicating that no valid values can be obtained.public String[] getZones()
public void setZones(String[] Zones)
Zones - Availability zone of a VPC-based private network CLB instance
Note: this field may return `null`, indicating that no valid values can be obtained.public String getNfvInfo()
public void setNfvInfo(String NfvInfo)
NfvInfo - Whether it is an NFV CLB instance. No returned information: no; l7nfv: yes.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getHealthLogSetId()
public void setHealthLogSetId(String HealthLogSetId)
HealthLogSetId - Health check logset ID of CLB CLS
Note: this field may return `null`, indicating that no valid values can be obtained.public String getHealthLogTopicId()
public void setHealthLogTopicId(String HealthLogTopicId)
HealthLogTopicId - Health check log topic ID of CLB CLS
Note: this field may return `null`, indicating that no valid values can be obtained.public String[] getClusterIds()
public void setClusterIds(String[] ClusterIds)
ClusterIds - public String[] getAttributeFlags()
public void setAttributeFlags(String[] AttributeFlags)
AttributeFlags - CLB attribute
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.