public class InstanceNetworkInfo extends AbstractModel
Constructor and Description |
---|
InstanceNetworkInfo() |
InstanceNetworkInfo(InstanceNetworkInfo 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 |
---|---|
AddressInfo[] |
getAddressInfoSet()
Get Private and public IP information of the instance.
|
String |
getNetworkInterfaceId()
Get ENI ID.
|
String |
getNetworkInterfaceName()
Get ENI name.
|
Boolean |
getPrimary()
Get Primary ENI attribute.
|
void |
setAddressInfoSet(AddressInfo[] AddressInfoSet)
Set Private and public IP information of the instance.
|
void |
setNetworkInterfaceId(String NetworkInterfaceId)
Set ENI ID.
|
void |
setNetworkInterfaceName(String NetworkInterfaceName)
Set ENI name.
|
void |
setPrimary(Boolean Primary)
Set Primary ENI attribute.
|
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 InstanceNetworkInfo()
public InstanceNetworkInfo(InstanceNetworkInfo source)
public AddressInfo[] getAddressInfoSet()
public void setAddressInfoSet(AddressInfo[] AddressInfoSet)
AddressInfoSet
- Private and public IP information of the instance.
Note: this field may return null, indicating that no valid values can be obtained.public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId
- ENI ID.public String getNetworkInterfaceName()
public void setNetworkInterfaceName(String NetworkInterfaceName)
NetworkInterfaceName
- ENI name.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getPrimary()
public void setPrimary(Boolean Primary)
Primary
- Primary ENI attribute. Valid values: true: primary ENI; false: secondary ENI.Copyright © 2023. All rights reserved.