public class CreateVpcRequest extends AbstractModel
Constructor and Description |
---|
CreateVpcRequest() |
CreateVpcRequest(CreateVpcRequest 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 |
getCidrBlock()
Get VPC CIDR block, which must fall within the following three private network IP ranges: 10.0.0.0/12, 172.16.0.0/12, and 192.168.0.0/16.
|
String[] |
getDnsServers()
Get DNS address.
|
String |
getDomainName()
Get Domain name of DHCP
|
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 block, which must fall within the following three private network IP ranges: 10.0.0.0/12, 172.16.0.0/12, and 192.168.0.0/16.
|
void |
setDnsServers(String[] DnsServers)
Set DNS address.
|
void |
setDomainName(String DomainName)
Set Domain name of DHCP
|
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 CreateVpcRequest()
public CreateVpcRequest(CreateVpcRequest source)
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 block, which must fall within the following three private network IP ranges: 10.0.0.0/12, 172.16.0.0/12, 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
- DNS address. A maximum of 4 addresses is supported.public String getDomainName()
public void setDomainName(String DomainName)
DomainName
- Domain name of DHCPpublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}]Copyright © 2023. All rights reserved.