public class NetworkInterface extends AbstractModel
| Constructor and Description | 
|---|
| NetworkInterface() | 
| Modifier and Type | Method and Description | 
|---|---|
| NetworkInterfaceAttachment | getAttachment()Get Bound CVM object. | 
| String | getCreatedTime()Get Creation Time. | 
| Long | getEniType()Get The ENI type. | 
| String[] | getGroupSet()Get Bound security group. | 
| Ipv6Address[] | getIpv6AddressSet()Get The `IPv6` address list. | 
| String | getMacAddress()Get MAC address | 
| String | getNetworkInterfaceDescription()Get ENI description. | 
| String | getNetworkInterfaceId()Get The ID of the ENI instance, such as `eni-f1xjkw1b`. | 
| String | getNetworkInterfaceName()Get ENI Name | 
| Boolean | getPrimary()Get Whether it is the primary ENI. | 
| PrivateIpAddressSpecification[] | getPrivateIpAddressSet()Get Private IP information. | 
| String | getState()Get ENI status:
`PENDING`: Creating
`AVAILABLE`: Available
`ATTACHING`: Binding
`DETACHING`: Unbinding
`DELETING`: Deleting | 
| String | getSubnetId()Get Subnet instance ID. | 
| Tag[] | getTagSet()Get Tag key-value pair. | 
| String | getVpcId()Get VPC instance ID. | 
| String | getZone()Get Availability Zone. | 
| void | setAttachment(NetworkInterfaceAttachment Attachment)Set Bound CVM object. | 
| void | setCreatedTime(String CreatedTime)Set Creation Time. | 
| void | setEniType(Long EniType)Set The ENI type. | 
| void | setGroupSet(String[] GroupSet)Set Bound security group. | 
| void | setIpv6AddressSet(Ipv6Address[] Ipv6AddressSet)Set The `IPv6` address list. | 
| void | setMacAddress(String MacAddress)Set MAC address | 
| void | setNetworkInterfaceDescription(String NetworkInterfaceDescription)Set ENI description. | 
| void | setNetworkInterfaceId(String NetworkInterfaceId)Set The ID of the ENI instance, such as `eni-f1xjkw1b`. | 
| void | setNetworkInterfaceName(String NetworkInterfaceName)Set ENI Name | 
| void | setPrimary(Boolean Primary)Set Whether it is the primary ENI. | 
| void | setPrivateIpAddressSet(PrivateIpAddressSpecification[] PrivateIpAddressSet)Set Private IP information. | 
| void | setState(String State)Set ENI status:
`PENDING`: Creating
`AVAILABLE`: Available
`ATTACHING`: Binding
`DETACHING`: Unbinding
`DELETING`: Deleting | 
| void | setSubnetId(String SubnetId)Set Subnet instance ID. | 
| void | setTagSet(Tag[] TagSet)Set Tag key-value pair. | 
| void | setVpcId(String VpcId)Set VPC instance ID. | 
| void | setZone(String Zone)Set Availability Zone. | 
| 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 String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId - The ID of the ENI instance, such as `eni-f1xjkw1b`.public String getNetworkInterfaceName()
public void setNetworkInterfaceName(String NetworkInterfaceName)
NetworkInterfaceName - ENI Namepublic String getNetworkInterfaceDescription()
public void setNetworkInterfaceDescription(String NetworkInterfaceDescription)
NetworkInterfaceDescription - ENI description.public String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId - Subnet instance ID.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPC instance ID.public String[] getGroupSet()
public void setGroupSet(String[] GroupSet)
GroupSet - Bound security group.public Boolean getPrimary()
public void setPrimary(Boolean Primary)
Primary - Whether it is the primary ENI.public String getMacAddress()
public void setMacAddress(String MacAddress)
MacAddress - MAC addresspublic String getState()
public void setState(String State)
State - ENI status:
public PrivateIpAddressSpecification[] getPrivateIpAddressSet()
public void setPrivateIpAddressSet(PrivateIpAddressSpecification[] PrivateIpAddressSet)
PrivateIpAddressSet - Private IP information.public NetworkInterfaceAttachment getAttachment()
public void setAttachment(NetworkInterfaceAttachment Attachment)
Attachment - Bound CVM object.
Note: This field may return null, indicating no valid value.public String getZone()
public void setZone(String Zone)
Zone - Availability Zone.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Creation Time.public Ipv6Address[] getIpv6AddressSet()
public void setIpv6AddressSet(Ipv6Address[] Ipv6AddressSet)
Ipv6AddressSet - The `IPv6` address list.public Tag[] getTagSet()
public void setTagSet(Tag[] TagSet)
TagSet - Tag key-value pair.public Long getEniType()
public void setEniType(Long EniType)
EniType - The ENI type. 0: ENI. 1: EVM ENI.Copyright © 2020. All rights reserved.