public class Backend extends AbstractModel
header, skipSign
Constructor and Description |
---|
Backend() |
Backend(Backend 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 |
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Backend()
public Backend(Backend source)
public 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 © 2024. All rights reserved.