public class CreateLoadBalancerRequest extends AbstractModel
Constructor and Description |
---|
CreateLoadBalancerRequest() |
CreateLoadBalancerRequest(CreateLoadBalancerRequest 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 |
getAddressIPVersion()
Get IP version.
|
String |
getEcmRegion()
Get ECM region, such as `ap-xian-ecm`.
|
LoadBalancerInternetAccessible |
getInternetAccessible()
Get CLB information such as bandwidth limit.
|
String |
getLoadBalancerName()
Get CLB instance name, which will take effect only when one instance is created.
|
String |
getLoadBalancerType()
Get Network type of the CLB instance.
|
Long |
getNumber()
Get Number of CLB instances to be created.
|
String[] |
getSecurityGroups()
Get Security groups.
|
String |
getSubnetId()
Get Subnet ID.
|
TagInfo[] |
getTags()
Get Tags.
|
String |
getVipIsp()
Get CMCC: China Mobile; CTCC: China Telecom; CUCC: China Unicom.
|
String |
getVpcId()
Get Network ID of the target device on the CLB backend, such as `vpc-12345678`.
|
void |
setAddressIPVersion(String AddressIPVersion)
Set IP version.
|
void |
setEcmRegion(String EcmRegion)
Set ECM region, such as `ap-xian-ecm`.
|
void |
setInternetAccessible(LoadBalancerInternetAccessible InternetAccessible)
Set CLB information such as bandwidth limit.
|
void |
setLoadBalancerName(String LoadBalancerName)
Set CLB instance name, which will take effect only when one instance is created.
|
void |
setLoadBalancerType(String LoadBalancerType)
Set Network type of the CLB instance.
|
void |
setNumber(Long Number)
Set Number of CLB instances to be created.
|
void |
setSecurityGroups(String[] SecurityGroups)
Set Security groups.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID.
|
void |
setTags(TagInfo[] Tags)
Set Tags.
|
void |
setVipIsp(String VipIsp)
Set CMCC: China Mobile; CTCC: China Telecom; CUCC: China Unicom.
|
void |
setVpcId(String VpcId)
Set Network ID of the target device on the CLB backend, such as `vpc-12345678`.
|
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, toJsonString
public CreateLoadBalancerRequest()
public CreateLoadBalancerRequest(CreateLoadBalancerRequest source)
public String getEcmRegion()
public void setEcmRegion(String EcmRegion)
EcmRegion
- ECM region, such as `ap-xian-ecm`.public String getLoadBalancerType()
public void setLoadBalancerType(String LoadBalancerType)
LoadBalancerType
- Network type of the CLB instance. Currently, you can pass in only `OPEN`, which indicates public network.public String getVipIsp()
public void setVipIsp(String VipIsp)
VipIsp
- CMCC: China Mobile; CTCC: China Telecom; CUCC: China Unicom.public String getLoadBalancerName()
public void setLoadBalancerName(String LoadBalancerName)
LoadBalancerName
- CLB instance name, which will take effect only when one instance is created. It can contain 1–50 letters, digits, hyphens, and underscores.
Note: if the name of the new CLB instance already exists, a default name will be generated automatically.public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- Network ID of the target device on the CLB backend, such as `vpc-12345678`.public Long getNumber()
public void setNumber(Long Number)
Number
- Number of CLB instances to be created. Default value: 1.public LoadBalancerInternetAccessible getInternetAccessible()
public void setInternetAccessible(LoadBalancerInternetAccessible InternetAccessible)
InternetAccessible
- CLB information such as bandwidth limit.public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- Tags.public String[] getSecurityGroups()
public void setSecurityGroups(String[] SecurityGroups)
SecurityGroups
- Security groups.public String getAddressIPVersion()
public void setAddressIPVersion(String AddressIPVersion)
AddressIPVersion
- IP version. Valid values: `IPV4` (default), `IPv6FullChain` (IPv6 version). This parameter is only for public network CLB instances.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID. This parameter is required for IPv6 CLB instances.Copyright © 2023. All rights reserved.