public class Subnet extends AbstractModel
Constructor and Description |
---|
Subnet() |
Subnet(Subnet 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 |
---|---|
Long |
getAvailableIpAddressCount()
Get Number of available IPs.
|
String |
getCidrBlock()
Get IPv4 CIDR block of the subnet.
|
String |
getCreatedTime()
Get Creation time.
|
Boolean |
getEnableBroadcast()
Get Whether to enable broadcast.
|
Long |
getInstanceCount()
Get Number of instances
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getIpv6CidrBlock()
Get IPv6 CIDR block of the subnet.
|
Boolean |
getIsDefault()
Get Whether it is the default subnet.
|
Boolean |
getIsRemoteVpcSnat()
Get Whether it is an SNAT address pool subnet.
|
String |
getNetworkAclId()
Get Associated ACLID
|
String |
getRegion()
Get Region
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getRouteTableId()
Get Route table instance ID, such as `rtb-l2h8d7c2`.
|
String |
getSubnetId()
Get Subnet instance ID, such as `subnet-bthucmmy`.
|
String |
getSubnetName()
Get Subnet name.
|
Tag[] |
getTagSet()
Get Tag key-value pairs.
|
String |
getVpcCidrBlock()
Get IPv4 CIDR block of the VPC.
|
String |
getVpcId()
Get VPC instance ID.
|
String |
getVpcIpv6CidrBlock()
Get IPv6 CIDR block of the VPC.
|
String |
getZone()
Get Region
|
String |
getZoneName()
Get AZ name
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setAvailableIpAddressCount(Long AvailableIpAddressCount)
Set Number of available IPs.
|
void |
setCidrBlock(String CidrBlock)
Set IPv4 CIDR block of the subnet.
|
void |
setCreatedTime(String CreatedTime)
Set Creation time.
|
void |
setEnableBroadcast(Boolean EnableBroadcast)
Set Whether to enable broadcast.
|
void |
setInstanceCount(Long InstanceCount)
Set Number of instances
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setIpv6CidrBlock(String Ipv6CidrBlock)
Set IPv6 CIDR block of the subnet.
|
void |
setIsDefault(Boolean IsDefault)
Set Whether it is the default subnet.
|
void |
setIsRemoteVpcSnat(Boolean IsRemoteVpcSnat)
Set Whether it is an SNAT address pool subnet.
|
void |
setNetworkAclId(String NetworkAclId)
Set Associated ACLID
|
void |
setRegion(String Region)
Set Region
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setRouteTableId(String RouteTableId)
Set Route table instance ID, such as `rtb-l2h8d7c2`.
|
void |
setSubnetId(String SubnetId)
Set Subnet instance ID, such as `subnet-bthucmmy`.
|
void |
setSubnetName(String SubnetName)
Set Subnet name.
|
void |
setTagSet(Tag[] TagSet)
Set Tag key-value pairs.
|
void |
setVpcCidrBlock(String VpcCidrBlock)
Set IPv4 CIDR block of the VPC.
|
void |
setVpcId(String VpcId)
Set VPC instance ID.
|
void |
setVpcIpv6CidrBlock(String VpcIpv6CidrBlock)
Set IPv6 CIDR block of the VPC.
|
void |
setZone(String Zone)
Set Region
|
void |
setZoneName(String ZoneName)
Set AZ name
Note: this field may return null, indicating that no valid values can be obtained.
|
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 Subnet()
public Subnet(Subnet source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC instance ID.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet instance ID, such as `subnet-bthucmmy`.public String getSubnetName()
public void setSubnetName(String SubnetName)
SubnetName
- Subnet name.public String getCidrBlock()
public void setCidrBlock(String CidrBlock)
CidrBlock
- IPv4 CIDR block of the subnet.public Boolean getIsDefault()
public void setIsDefault(Boolean IsDefault)
IsDefault
- Whether it is the default subnet.public Boolean getEnableBroadcast()
public void setEnableBroadcast(Boolean EnableBroadcast)
EnableBroadcast
- Whether to enable broadcast.public String getRouteTableId()
public void setRouteTableId(String RouteTableId)
RouteTableId
- Route table instance ID, such as `rtb-l2h8d7c2`.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Creation time.public Long getAvailableIpAddressCount()
public void setAvailableIpAddressCount(Long AvailableIpAddressCount)
AvailableIpAddressCount
- Number of available IPs.public String getIpv6CidrBlock()
public void setIpv6CidrBlock(String Ipv6CidrBlock)
Ipv6CidrBlock
- IPv6 CIDR block of the subnet.public String getNetworkAclId()
public void setNetworkAclId(String NetworkAclId)
NetworkAclId
- Associated ACLIDpublic Boolean getIsRemoteVpcSnat()
public void setIsRemoteVpcSnat(Boolean IsRemoteVpcSnat)
IsRemoteVpcSnat
- Whether it is an SNAT address pool subnet.public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet
- Tag key-value pairs.
Note: this field may return null, indicating that no valid values can be obtained.public String getZone()
public void setZone(String Zone)
Zone
- Regionpublic String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- AZ name
Note: this field may return null, indicating that no valid values can be obtained.public Long getInstanceCount()
public void setInstanceCount(Long InstanceCount)
InstanceCount
- Number of instances
Note: this field may return null, indicating that no valid values can be obtained.public String getVpcCidrBlock()
public void setVpcCidrBlock(String VpcCidrBlock)
VpcCidrBlock
- IPv4 CIDR block of the VPC.
Note: this field may return null, indicating that no valid values can be obtained.public String getVpcIpv6CidrBlock()
public void setVpcIpv6CidrBlock(String VpcIpv6CidrBlock)
VpcIpv6CidrBlock
- IPv6 CIDR block of the VPC.
Note: this field may return null, indicating that no valid values can be obtained.public String getRegion()
public void setRegion(String Region)
Region
- Region
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.