public class VirtualPrivateCloud extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| VirtualPrivateCloud() | 
| VirtualPrivateCloud(VirtualPrivateCloud 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 | 
|---|---|
| Boolean | getAsVpcGateway()Get Whether it is used as a public gateway. | 
| Long | getIpv6AddressCount()Get Number of the IPv6 addresses to be randomly generated for the ENI. | 
| String[] | getPrivateIpAddresses()Get Array of VPC subnet IPs. | 
| String | getSubnetId()Get Subnet ID of the VPC, such as `subnet-xxx`. | 
| String | getVpcId()Get VPC ID, such as `vpc-xxx`. | 
| void | setAsVpcGateway(Boolean AsVpcGateway)Set Whether it is used as a public gateway. | 
| void | setIpv6AddressCount(Long Ipv6AddressCount)Set Number of the IPv6 addresses to be randomly generated for the ENI. | 
| void | setPrivateIpAddresses(String[] PrivateIpAddresses)Set Array of VPC subnet IPs. | 
| void | setSubnetId(String SubnetId)Set Subnet ID of the VPC, such as `subnet-xxx`. | 
| void | setVpcId(String VpcId)Set VPC ID, such as `vpc-xxx`. | 
| 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, toJsonStringpublic VirtualPrivateCloud()
public VirtualPrivateCloud(VirtualPrivateCloud source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC ID, such as `vpc-xxx`.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - Subnet ID of the VPC, such as `subnet-xxx`.public Boolean getAsVpcGateway()
public void setAsVpcGateway(Boolean AsVpcGateway)
AsVpcGateway - Whether it is used as a public gateway. The public gateway can be used only when the instance has a public IP and resides in a VPC. Valid values:
TRUE: yes
FALSE: no
Default value: FALSE.public String[] getPrivateIpAddresses()
public void setPrivateIpAddresses(String[] PrivateIpAddresses)
PrivateIpAddresses - Array of VPC subnet IPs. This parameter can be used to create instances or modify the VPC attributes of instances.public Long getIpv6AddressCount()
public void setIpv6AddressCount(Long Ipv6AddressCount)
Ipv6AddressCount - Number of the IPv6 addresses to be randomly generated for the ENI.Copyright © 2023. All rights reserved.