public class CreateNetworkInterfaceRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateNetworkInterfaceRequest() | 
| CreateNetworkInterfaceRequest(CreateNetworkInterfaceRequest 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 | getNetworkInterfaceDescription()Get ENI description can be named freely, but the maximum length is 60 characters. | 
| String | getNetworkInterfaceName()Get The name of the ENI. | 
| PrivateIpAddressSpecification[] | getPrivateIpAddresses()Get The information of the specified private IPs. | 
| Long | getSecondaryPrivateIpAddressCount()Get The number of private IP addresses that is newly applied for. | 
| String[] | getSecurityGroupIds()Get Specifies the security group to be bound with, such as ['sg-1dd51d']. | 
| String | getSubnetId()Get The subnet instance ID of the ENI, such as `subnet-0ap8nwca`. | 
| Tag[] | getTags()Get Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| String | getTrunkingFlag()Get Configuration of the ENI trunking mode. | 
| String | getVpcId()Get The ID of the VPC instance. | 
| void | setNetworkInterfaceDescription(String NetworkInterfaceDescription)Set ENI description can be named freely, but the maximum length is 60 characters. | 
| void | setNetworkInterfaceName(String NetworkInterfaceName)Set The name of the ENI. | 
| void | setPrivateIpAddresses(PrivateIpAddressSpecification[] PrivateIpAddresses)Set The information of the specified private IPs. | 
| void | setSecondaryPrivateIpAddressCount(Long SecondaryPrivateIpAddressCount)Set The number of private IP addresses that is newly applied for. | 
| void | setSecurityGroupIds(String[] SecurityGroupIds)Set Specifies the security group to be bound with, such as ['sg-1dd51d']. | 
| void | setSubnetId(String SubnetId)Set The subnet instance ID of the ENI, such as `subnet-0ap8nwca`. | 
| void | setTags(Tag[] Tags)Set Bound tags, such as [{"Key": "city", "Value": "shanghai"}]. | 
| void | setTrunkingFlag(String TrunkingFlag)Set Configuration of the ENI trunking mode. | 
| void | setVpcId(String VpcId)Set The ID of the VPC instance. | 
| 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, toJsonStringpublic CreateNetworkInterfaceRequest()
public CreateNetworkInterfaceRequest(CreateNetworkInterfaceRequest source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId - The ID of the VPC instance. You can obtain the parameter value from the VpcId field in the returned result of DescribeVpcs API.public String getNetworkInterfaceName()
public void setNetworkInterfaceName(String NetworkInterfaceName)
NetworkInterfaceName - The name of the ENI. The maximum length is 60 characters.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - The subnet instance ID of the ENI, such as `subnet-0ap8nwca`.public String getNetworkInterfaceDescription()
public void setNetworkInterfaceDescription(String NetworkInterfaceDescription)
NetworkInterfaceDescription - ENI description can be named freely, but the maximum length is 60 characters.public Long getSecondaryPrivateIpAddressCount()
public void setSecondaryPrivateIpAddressCount(Long SecondaryPrivateIpAddressCount)
SecondaryPrivateIpAddressCount - The number of private IP addresses that is newly applied for. The total number of private IP addresses cannot exceed the quota.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds - Specifies the security group to be bound with, such as ['sg-1dd51d'].public PrivateIpAddressSpecification[] getPrivateIpAddresses()
public void setPrivateIpAddresses(PrivateIpAddressSpecification[] PrivateIpAddresses)
PrivateIpAddresses - The information of the specified private IPs. You can specify a maximum of 10 each time.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Bound tags, such as [{"Key": "city", "Value": "shanghai"}].public String getTrunkingFlag()
public void setTrunkingFlag(String TrunkingFlag)
TrunkingFlag - Configuration of the ENI trunking mode. Valid values: `Enable` and `Disable`. Default value: `Disable`.Copyright © 2022. All rights reserved.