public class MachineExtraInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
MachineExtraInfo() |
MachineExtraInfo(MachineExtraInfo 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 |
getHostName()
Get Host name
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInstanceID()
Get Instance ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getNetworkName()
Get Network Name, returns vpc_id in the case of a VPC network
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getNetworkType()
Get Network Type.
|
String |
getPrivateIP()
Get Private IP address
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getWanIP()
Get Public IP address
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setHostName(String HostName)
Set Host name
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceID(String InstanceID)
Set Instance ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNetworkName(String NetworkName)
Set Network Name, returns vpc_id in the case of a VPC network
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setNetworkType(Long NetworkType)
Set Network Type.
|
void |
setPrivateIP(String PrivateIP)
Set Private IP address
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setWanIP(String WanIP)
Set Public IP address
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MachineExtraInfo()
public MachineExtraInfo(MachineExtraInfo source)
public String getWanIP()
public void setWanIP(String WanIP)
WanIP
- Public IP address
Note: This field may return null, indicating that no valid values can be obtained.public String getPrivateIP()
public void setPrivateIP(String PrivateIP)
PrivateIP
- Private IP address
Note: This field may return null, indicating that no valid values can be obtained.public Long getNetworkType()
public void setNetworkType(Long NetworkType)
NetworkType
- Network Type. 1: VPC network; 2: Basic Network; 3: Non-Tencent Cloud Network
Note: This field may return null, indicating that no valid values can be obtained.public String getNetworkName()
public void setNetworkName(String NetworkName)
NetworkName
- Network Name, returns vpc_id in the case of a VPC network
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceID()
public void setInstanceID(String InstanceID)
InstanceID
- Instance ID
Note: This field may return null, indicating that no valid values can be obtained.public String getHostName()
public void setHostName(String HostName)
HostName
- Host name
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.