public class InstanceInfo extends AbstractModel
Constructor and Description |
---|
InstanceInfo() |
InstanceInfo(InstanceInfo 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 |
getAppId()
Get App ID
|
String |
getInsSource()
Get 1: public network; 2: private network
|
String |
getInstanceId()
Get Asset ID
|
String |
getInstanceName()
Get Asset name
|
Long |
getInsType()
Get Asset type
3: CVM instance; 4: CLB instance; 5: ENI instance; 6: MySQL; 7: Redis; 8: NAT; 9: VPN; 10: ES; 11: MariaDB; 12: Kafka; 13: NATFW
|
String |
getLeakNum()
Get Number of vulnerabilities
|
String |
getPortNum()
Get Number of ports
|
String |
getPrivateIp()
Get Private IP
|
String |
getPublicIp()
Get Public IP
|
String |
getRegion()
Get Region
|
String[] |
getResourcePath()
Get [a,b]
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getSubnetId()
Get Subnet ID
|
String |
getVpcId()
Get VPC ID
|
String |
getVPCName()
Get VPC name
|
void |
setAppId(String AppId)
Set App ID
|
void |
setInsSource(String InsSource)
Set 1: public network; 2: private network
|
void |
setInstanceId(String InstanceId)
Set Asset ID
|
void |
setInstanceName(String InstanceName)
Set Asset name
|
void |
setInsType(Long InsType)
Set Asset type
3: CVM instance; 4: CLB instance; 5: ENI instance; 6: MySQL; 7: Redis; 8: NAT; 9: VPN; 10: ES; 11: MariaDB; 12: Kafka; 13: NATFW
|
void |
setLeakNum(String LeakNum)
Set Number of vulnerabilities
|
void |
setPortNum(String PortNum)
Set Number of ports
|
void |
setPrivateIp(String PrivateIp)
Set Private IP
|
void |
setPublicIp(String PublicIp)
Set Public IP
|
void |
setRegion(String Region)
Set Region
|
void |
setResourcePath(String[] ResourcePath)
Set [a,b]
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setSubnetId(String SubnetId)
Set Subnet ID
|
void |
setVpcId(String VpcId)
Set VPC ID
|
void |
setVPCName(String VPCName)
Set VPC name
|
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 InstanceInfo()
public InstanceInfo(InstanceInfo source)
public String getAppId()
public void setAppId(String AppId)
AppId
- App IDpublic String getRegion()
public void setRegion(String Region)
Region
- Regionpublic String getVpcId()
public void setVpcId(String VpcId)
VpcId
- VPC IDpublic String getVPCName()
public void setVPCName(String VPCName)
VPCName
- VPC namepublic String getSubnetId()
public void setSubnetId(String SubnetId)
SubnetId
- Subnet IDpublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Asset IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Asset namepublic Long getInsType()
public void setInsType(Long InsType)
InsType
- Asset type
3: CVM instance; 4: CLB instance; 5: ENI instance; 6: MySQL; 7: Redis; 8: NAT; 9: VPN; 10: ES; 11: MariaDB; 12: Kafka; 13: NATFWpublic String getPublicIp()
public void setPublicIp(String PublicIp)
PublicIp
- Public IPpublic String getPrivateIp()
public void setPrivateIp(String PrivateIp)
PrivateIp
- Private IPpublic String getPortNum()
public void setPortNum(String PortNum)
PortNum
- Number of portspublic String getLeakNum()
public void setLeakNum(String LeakNum)
LeakNum
- Number of vulnerabilitiespublic String getInsSource()
public void setInsSource(String InsSource)
InsSource
- 1: public network; 2: private networkpublic String[] getResourcePath()
public void setResourcePath(String[] ResourcePath)
ResourcePath
- [a,b]
Note: This field may return `null`, indicating that no valid value was found.Copyright © 2023. All rights reserved.