public class ClassicalTarget extends AbstractModel
| Constructor and Description | 
|---|
| ClassicalTarget() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getInstanceId()Get Unique ID of a real server, which can be obtained from the unInstanceId field in the return of the DescribeInstances API | 
| String | getInstanceName()Get Real server instance names
Note: This field may return null, indicating that no valid values can be obtained. | 
| String[] | getPrivateIpAddresses()Get Private IP of a real server
Note: This field may return null, indicating that no valid values can be obtained. | 
| String[] | getPublicIpAddresses()Get Public IP of a real server
Note: This field may return null, indicating that no valid values can be obtained. | 
| Long | getRunFlag()Get Real server status
1: failed; 2: running; 3: creating; 4: shut down; 5: returned; 6: returning; 7: restarting; 8: starting; 9: shutting down; 10: resetting password; 11: formatting; 12: making image; 13: setting bandwidth; 14: reinstalling system; 19: upgrading; 21: hot migrating
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getType()Get Real server type. | 
| Long | getWeight()Get Forwarding weight of a real server. | 
| void | setInstanceId(String InstanceId)Set Unique ID of a real server, which can be obtained from the unInstanceId field in the return of the DescribeInstances API | 
| void | setInstanceName(String InstanceName)Set Real server instance names
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setPrivateIpAddresses(String[] PrivateIpAddresses)Set Private IP of a real server
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setPublicIpAddresses(String[] PublicIpAddresses)Set Public IP of a real server
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setRunFlag(Long RunFlag)Set Real server status
1: failed; 2: running; 3: creating; 4: shut down; 5: returned; 6: returning; 7: restarting; 8: starting; 9: shutting down; 10: resetting password; 11: formatting; 12: making image; 13: setting bandwidth; 14: reinstalling system; 19: upgrading; 21: hot migrating
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setType(String Type)Set Real server type. | 
| void | setWeight(Long Weight)Set Forwarding weight of a real server. | 
| 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 getType()
public void setType(String Type)
Type - Real server type. Value range: CVM, ENI (coming soon)public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Unique ID of a real server, which can be obtained from the unInstanceId field in the return of the DescribeInstances APIpublic Long getWeight()
public void setWeight(Long Weight)
Weight - Forwarding weight of a real server. Value range: [0, 100]. Default value: 10.public String[] getPublicIpAddresses()
public void setPublicIpAddresses(String[] PublicIpAddresses)
PublicIpAddresses - Public IP of a real server
Note: This field may return null, indicating that no valid values can be obtained.public String[] getPrivateIpAddresses()
public void setPrivateIpAddresses(String[] PrivateIpAddresses)
PrivateIpAddresses - Private IP of a real server
Note: This field may return null, indicating that no valid values can be obtained.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Real server instance names
Note: This field may return null, indicating that no valid values can be obtained.public Long getRunFlag()
public void setRunFlag(Long RunFlag)
RunFlag - Real server status
1: failed; 2: running; 3: creating; 4: shut down; 5: returned; 6: returning; 7: restarting; 8: starting; 9: shutting down; 10: resetting password; 11: formatting; 12: making image; 13: setting bandwidth; 14: reinstalling system; 19: upgrading; 21: hot migrating
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.