public class CreateSubnetRequest extends AbstractModel
Constructor and Description |
---|
CreateSubnetRequest() |
CreateSubnetRequest(CreateSubnetRequest 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 |
getCdcId()
Get CDC instance ID
|
String |
getCidrBlock()
Get The subnet IP address range.
|
String |
getSubnetName()
Get The subnet name.
|
Tag[] |
getTags()
Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
String |
getVpcId()
Get The ID of the VPC instance to be operated on.
|
String |
getZone()
Get The ID of the availability zone in which the subnet resides.
|
void |
setCdcId(String CdcId)
Set CDC instance ID
|
void |
setCidrBlock(String CidrBlock)
Set The subnet IP address range.
|
void |
setSubnetName(String SubnetName)
Set The subnet name.
|
void |
setTags(Tag[] Tags)
Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
void |
setVpcId(String VpcId)
Set The ID of the VPC instance to be operated on.
|
void |
setZone(String Zone)
Set The ID of the availability zone in which the subnet resides.
|
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 CreateSubnetRequest()
public CreateSubnetRequest(CreateSubnetRequest source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- The ID of the VPC instance to be operated on. You can obtain the parameter value from the VpcId field in the returned result of DescribeVpcs API.public String getSubnetName()
public void setSubnetName(String SubnetName)
SubnetName
- The subnet name. The maximum length is 60 bytes.public String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock
- The subnet IP address range. It must be within the VPC IP address range. Subnet IP address ranges cannot overlap with each other within the same VPC.public String getZone()
public void setZone(String Zone)
Zone
- The ID of the availability zone in which the subnet resides. You can set up disaster recovery across availability zones by choosing different availability zones for different subnets.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Bound tags, such as [{"Key": "city", "Value": "shanghai"}].public String getCdcId()
public void setCdcId(String CdcId)
CdcId
- CDC instance IDCopyright © 2023. All rights reserved.