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 实例内外网ip相关信息。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getNetworkInterfaceId()
Get 网卡ID。
|
String |
getNetworkInterfaceName()
Get 网卡名称。
注意:此字段可能返回 null,表示取不到有效值。
|
Boolean |
getPrimary()
Get 主网卡属性。true为主网卡,false为辅助网卡。
|
void |
setAddressInfoSet(AddressInfo[] AddressInfoSet)
Set 实例内外网ip相关信息。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setNetworkInterfaceId(String NetworkInterfaceId)
Set 网卡ID。
|
void |
setNetworkInterfaceName(String NetworkInterfaceName)
Set 网卡名称。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPrimary(Boolean Primary)
Set 主网卡属性。true为主网卡,false为辅助网卡。
|
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
- 实例内外网ip相关信息。
注意:此字段可能返回 null,表示取不到有效值。public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String NetworkInterfaceId)
NetworkInterfaceId
- 网卡ID。public String getNetworkInterfaceName()
public void setNetworkInterfaceName(String NetworkInterfaceName)
NetworkInterfaceName
- 网卡名称。
注意:此字段可能返回 null,表示取不到有效值。public Boolean getPrimary()
public void setPrimary(Boolean Primary)
Primary
- 主网卡属性。true为主网卡,false为辅助网卡。Copyright © 2021. All rights reserved.