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 |
getEcmRegion()
Get ECM region, such as `ap-xian-ecm`.
|
String |
getNetworkInterfaceDescription()
Get ENI description.
|
String |
getNetworkInterfaceName()
Get ENI name, which can contain up to 60 bytes.
|
PrivateIpAddressSpecification[] |
getPrivateIpAddresses()
Get Information of the specified private IPs.
|
Long |
getSecondaryPrivateIpAddressCount()
Get Number of private IP addresses applied for.
|
String[] |
getSecurityGroupIds()
Get The security group to be bound with, such as ['sg-1dd51d'].
|
String |
getSubnetId()
Get Subnet instance ID of the ENI, such as 'subnet-0ap8nwca'.
|
Tag[] |
getTags()
Get List of bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
String |
getVpcId()
Get VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API.
|
void |
setEcmRegion(String EcmRegion)
Set ECM region, such as `ap-xian-ecm`.
|
void |
setNetworkInterfaceDescription(String NetworkInterfaceDescription)
Set ENI description.
|
void |
setNetworkInterfaceName(String NetworkInterfaceName)
Set ENI name, which can contain up to 60 bytes.
|
void |
setPrivateIpAddresses(PrivateIpAddressSpecification[] PrivateIpAddresses)
Set Information of the specified private IPs.
|
void |
setSecondaryPrivateIpAddressCount(Long SecondaryPrivateIpAddressCount)
Set Number of private IP addresses applied for.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set The security group to be bound with, such as ['sg-1dd51d'].
|
void |
setSubnetId(String SubnetId)
Set Subnet instance ID of the ENI, such as 'subnet-0ap8nwca'.
|
void |
setTags(Tag[] Tags)
Set List of bound tags, such as [{"Key": "city", "Value": "shanghai"}].
|
void |
setVpcId(String VpcId)
Set VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API.
|
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 CreateNetworkInterfaceRequest()
public CreateNetworkInterfaceRequest(CreateNetworkInterfaceRequest source)
public String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC instance ID, which can be obtained from the `VpcId` field in the returned value of the `DescribeVpcs` API.public String getNetworkInterfaceName()
public void setNetworkInterfaceName(String NetworkInterfaceName)
NetworkInterfaceName
- ENI name, which can contain up to 60 bytes.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet instance ID of the ENI, such as 'subnet-0ap8nwca'.public String getEcmRegion()
public void setEcmRegion(String EcmRegion)
EcmRegion
- ECM region, such as `ap-xian-ecm`.public String getNetworkInterfaceDescription()
public void setNetworkInterfaceDescription(String NetworkInterfaceDescription)
NetworkInterfaceDescription
- ENI description. You can enter any information within 60 characters.public Long getSecondaryPrivateIpAddressCount()
public void setSecondaryPrivateIpAddressCount(Long SecondaryPrivateIpAddressCount)
SecondaryPrivateIpAddressCount
- Number of private IP addresses applied for. The total number of private IP addresses cannot exceed the quota.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- The security group to be bound with, such as ['sg-1dd51d'].public PrivateIpAddressSpecification[] getPrivateIpAddresses()
public void setPrivateIpAddresses(PrivateIpAddressSpecification[] PrivateIpAddresses)
PrivateIpAddresses
- Information of the specified private IPs. You can specify up to 10 IPs at a time.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- List of bound tags, such as [{"Key": "city", "Value": "shanghai"}].Copyright © 2023. All rights reserved.