public class CreateGatewayLoadBalancerRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateGatewayLoadBalancerRequest() |
CreateGatewayLoadBalancerRequest(CreateGatewayLoadBalancerRequest 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 |
getLBChargeType()
Get GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only.
|
String |
getLoadBalancerName()
Get GWLB instance name.
|
Long |
getNumber()
Get Number of GWLBs to create, with a default of 1.
|
String |
getSubnetId()
Get Subnet ID of the VPC to which the backend target device of the GWLB belongs.
|
TagInfo[] |
getTags()
Get While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
|
String |
getVpcId()
Get ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678.
|
void |
setLBChargeType(String LBChargeType)
Set GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only.
|
void |
setLoadBalancerName(String LoadBalancerName)
Set GWLB instance name.
|
void |
setNumber(Long Number)
Set Number of GWLBs to create, with a default of 1.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID of the VPC to which the backend target device of the GWLB belongs.
|
void |
setTags(TagInfo[] Tags)
Set While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.
|
void |
setVpcId(String VpcId)
Set ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateGatewayLoadBalancerRequest()
public CreateGatewayLoadBalancerRequest(CreateGatewayLoadBalancerRequest source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- ID of the VPC to which the backend target device of the GWLB belongs, such as vpc-12345678. It can be obtained through the DescribeVpcEx interface. If left blank, it defaults to DefaultVPC. This parameter is required when a private network CLB instance is created.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet ID of the VPC to which the backend target device of the GWLB belongs.public String getLoadBalancerName()
public void setLoadBalancerName(String LoadBalancerName)
LoadBalancerName
- GWLB instance name. It supports 1-60 characters, including letters, digits, Chinese characters, "-", "_", and ".". If left blank, it will be automatically generated by default.public Long getNumber()
public void setNumber(Long Number)
Number
- Number of GWLBs to create, with a default of 1. The maximum batch creation quantity is 10.public TagInfo[] getTags()
public void setTags(TagInfo[] Tags)
Tags
- While the GWLB is purchased, it is tagged, with a maximum of 20 tag key-value pairs.public String getLBChargeType()
public void setLBChargeType(String LBChargeType)
LBChargeType
- GWLB instance billing type, which currently supports POSTPAID_BY_HOUR only. The default is POSTPAID_BY_HOUR.Copyright © 2024. All rights reserved.