public class UpstreamNode extends AbstractModel
Constructor and Description |
---|
UpstreamNode() |
UpstreamNode(UpstreamNode 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 |
getClusterId()
Get ID of the TKE cluster
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getHealthy()
Get Health status of the node.
|
String |
getHost()
Get IP or domain name
|
String |
getNameSpace()
Get TKE namespace
Note: This field may return `NULL`, indicating that no valid value was found.
|
Long |
getPort()
Get The port number.
|
String |
getServiceName()
Get TKE container name
Note: This field may return `NULL`, indicating that no valid value was found.
|
String |
getSource()
Get Node source.
|
String[] |
getTags()
Get Tag
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getUniqueServiceName()
Get The unique service name in API Gateway
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getVmInstanceId()
Get CVM Instance ID
Note: This field may return `NULL`, indicating that no valid value was found.
|
Long |
getWeight()
Get Value range: [0, 100].
|
void |
setClusterId(String ClusterId)
Set ID of the TKE cluster
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setHealthy(String Healthy)
Set Health status of the node.
|
void |
setHost(String Host)
Set IP or domain name
|
void |
setNameSpace(String NameSpace)
Set TKE namespace
Note: This field may return `NULL`, indicating that no valid value was found.
|
void |
setPort(Long Port)
Set The port number.
|
void |
setServiceName(String ServiceName)
Set TKE container name
Note: This field may return `NULL`, indicating that no valid value was found.
|
void |
setSource(String Source)
Set Node source.
|
void |
setTags(String[] Tags)
Set Tag
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setUniqueServiceName(String UniqueServiceName)
Set The unique service name in API Gateway
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setVmInstanceId(String VmInstanceId)
Set CVM Instance ID
Note: This field may return `NULL`, indicating that no valid value was found.
|
void |
setWeight(Long Weight)
Set Value range: [0, 100].
|
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 UpstreamNode()
public UpstreamNode(UpstreamNode source)
public String getHost()
public void setHost(String Host)
Host
- IP or domain namepublic Long getPort()
public void setPort(Long Port)
Port
- The port number. Range: [0, 65535]public Long getWeight()
public void setWeight(Long Weight)
Weight
- Value range: [0, 100]. `0` refers to disable it.public String getVmInstanceId()
public void setVmInstanceId(String VmInstanceId)
VmInstanceId
- CVM Instance ID
Note: This field may return `NULL`, indicating that no valid value was found.public String[] getTags()
public void setTags(String[] Tags)
Tags
- Tag
Note: This field may return `null`, indicating that no valid value was found.public String getHealthy()
public void setHealthy(String Healthy)
Healthy
- Health status of the node. Values: `OFF`, `HEALTHY`, `UNHEALTHY` and `NO_DATA`. It’s not required for creating and editing actions. It only supports VPC upstreams.
Note: This field may return `NULL`, indicating that no valid value was found.public String getServiceName()
public void setServiceName(String ServiceName)
ServiceName
- TKE container name
Note: This field may return `NULL`, indicating that no valid value was found.public String getNameSpace()
public void setNameSpace(String NameSpace)
NameSpace
- TKE namespace
Note: This field may return `NULL`, indicating that no valid value was found.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- ID of the TKE cluster
Note: This field may return `null`, indicating that no valid value was found.public String getSource()
public void setSource(String Source)
Source
- Node source. Valid value: `K8S`
Note: This field may return `NULL`, indicating that no valid value was found.public String getUniqueServiceName()
public void setUniqueServiceName(String UniqueServiceName)
UniqueServiceName
- The unique service name in API Gateway
Note: This field may return `null`, indicating that no valid value was found.Copyright © 2023. All rights reserved.