public class CreateVpcRequest extends AbstractModel
Constructor and Description |
---|
CreateVpcRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getCidrBlock()
Get VPC CIDR, which must fall within the following private network IP ranges: 10.0.0.0/16, 172.16.0.0/16, and 192.168.0.0/16.
|
String[] |
getDnsServers()
Get The DNS address.
|
String |
getDomainName()
Get Domain name
|
String |
getEnableMulticast()
Get Whether multicast is enabled.
|
Tag[] |
getTags()
Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
String |
getVpcName()
Get The VPC name.
|
void |
setCidrBlock(String CidrBlock)
Set VPC CIDR, which must fall within the following private network IP ranges: 10.0.0.0/16, 172.16.0.0/16, and 192.168.0.0/16.
|
void |
setDnsServers(String[] DnsServers)
Set The DNS address.
|
void |
setDomainName(String DomainName)
Set Domain name
|
void |
setEnableMulticast(String EnableMulticast)
Set Whether multicast is enabled.
|
void |
setTags(Tag[] Tags)
Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
void |
setVpcName(String VpcName)
Set The VPC name.
|
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 String getVpcName()
public void setVpcName(String VpcName)
VpcName
- The VPC name. The maximum length is 60 bytes.public String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock
- VPC CIDR, which must fall within the following private network IP ranges: 10.0.0.0/16, 172.16.0.0/16, and 192.168.0.0/16.public String getEnableMulticast()
public void setEnableMulticast(String EnableMulticast)
EnableMulticast
- Whether multicast is enabled. `true`: Enabled. `false`: Not enabled.public String[] getDnsServers()
public void setDnsServers(String[] DnsServers)
DnsServers
- The DNS address. A maximum of 4 addresses is supported.public String getDomainName()
public void setDomainName(String DomainName)
DomainName
- Domain namepublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}].Copyright © 2020. All rights reserved.