public class TargetGroupBackend extends AbstractModel
header, skipSign| Constructor and Description |
|---|
TargetGroupBackend() |
TargetGroupBackend(TargetGroupBackend 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 ID of the ENI
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getInstanceId()
Get Unique backend service ID
|
String |
getInstanceName()
Get Instance name of the real server
Note: This field may return null, indicating that no valid value can be obtained.
|
Long |
getPort()
Get Listening port of backend service
|
String[] |
getPrivateIpAddresses()
Get Private network IP of backend serviceNote: This field may return null, indicating that no valid value can be obtained.
|
String[] |
getPublicIpAddresses()
Get Public network IP of the real server
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getRegisteredTime()
Get Real server binding time
Note: This field may return null, indicating that no valid value can be obtained.
|
String |
getTargetGroupId()
Get Target group ID
|
String |
getType()
Get Backend service type.
|
Long |
getWeight()
Get Forwarding weight of backend service.
|
Long |
getZoneId()
Get Available zone ID of backend serviceNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setEniId(String EniId)
Set Unique ID of the ENI
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setInstanceId(String InstanceId)
Set Unique backend service ID
|
void |
setInstanceName(String InstanceName)
Set Instance name of the real server
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setPort(Long Port)
Set Listening port of backend service
|
void |
setPrivateIpAddresses(String[] PrivateIpAddresses)
Set Private network IP of backend serviceNote: This field may return null, indicating that no valid value can be obtained.
|
void |
setPublicIpAddresses(String[] PublicIpAddresses)
Set Public network IP of the real server
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setRegisteredTime(String RegisteredTime)
Set Real server binding time
Note: This field may return null, indicating that no valid value can be obtained.
|
void |
setTargetGroupId(String TargetGroupId)
Set Target group ID
|
void |
setType(String Type)
Set Backend service type.
|
void |
setWeight(Long Weight)
Set Forwarding weight of backend service.
|
void |
setZoneId(Long ZoneId)
Set Available zone ID of backend serviceNote: This field may return null, indicating that no valid value 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, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TargetGroupBackend()
public TargetGroupBackend(TargetGroupBackend source)
public String getTargetGroupId()
public void setTargetGroupId(String TargetGroupId)
TargetGroupId - Target group IDpublic String getType()
public void setType(String Type)
Type - Backend service type. Valid values: CVM, ENI (to be supported soon)public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Unique backend service IDpublic Long getPort()
public void setPort(Long Port)
Port - Listening port of backend servicepublic Long getWeight()
public void setWeight(Long Weight)
Weight - Forwarding weight of backend service. Value range: [0, 100]. Default value: 10.public String[] getPublicIpAddresses()
public void setPublicIpAddresses(String[] PublicIpAddresses)
PublicIpAddresses - Public network IP of the real server
Note: This field may return null, indicating that no valid value can be obtained.public String[] getPrivateIpAddresses()
public void setPrivateIpAddresses(String[] PrivateIpAddresses)
PrivateIpAddresses - Private network IP of backend serviceNote: This field may return null, indicating that no valid value can be obtained.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName - Instance name of the real server
Note: This field may return null, indicating that no valid value can be obtained.public String getRegisteredTime()
public void setRegisteredTime(String RegisteredTime)
RegisteredTime - Real server binding time
Note: This field may return null, indicating that no valid value can be obtained.public String getEniId()
public void setEniId(String EniId)
EniId - Unique ID of the ENI
Note: This field may return null, indicating that no valid value can be obtained.public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId - Available zone ID of backend serviceNote: This field may return null, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.