public class Backend extends AbstractModel
| Constructor and Description | 
|---|
| Backend() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getEniId()Get Unique ENI ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| 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. | 
| Long | getPort()Get Listening port of a real server | 
| 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. | 
| String | getRegisteredTime()Get Bound time of a real server
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 | setEniId(String EniId)Set Unique ENI ID
Note: This field may return null, indicating that no valid values can be obtained. | 
| 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 | setPort(Long Port)Set Listening port of a real server | 
| 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 | setRegisteredTime(String RegisteredTime)Set Bound time of a real server
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. Valid values: CVM, ENI.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 getPort()
public void setPort(Long Port)
Port - Listening port of a real serverpublic 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 String getRegisteredTime()
public void setRegisteredTime(String RegisteredTime)
RegisteredTime - Bound time of a real server
Note: This field may return null, indicating that no valid values can be obtained.public String getEniId()
public void setEniId(String EniId)
EniId - Unique ENI ID
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2021. All rights reserved.