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 of the host | 
| String | getNameSpace()Get K8s namespace
Note: This field may return `null`, indicating that no valid value was found. | 
| Long | getPort()Get The port number. | 
| String | getServiceName()Get The K8s service name
Note: This field may return `null`, indicating that no valid value was found. | 
| String | getSource()Get Source of the node
Note: This field may return `null`, indicating that no valid value was found. | 
| 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 VM 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 of the host | 
| void | setNameSpace(String NameSpace)Set K8s 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 The K8s service name
Note: This field may return `null`, indicating that no valid value was found. | 
| void | setSource(String Source)Set Source of the node
Note: This field may return `null`, indicating that no valid value was found. | 
| 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 VM 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, toJsonStringpublic UpstreamNode()
public UpstreamNode(UpstreamNode source)
public String getHost()
public void setHost(String Host)
Host - IP or domain name of the hostpublic 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 - VM 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. Value: `OFF`, `HEALTHY`, `UNHEALTHY` and `NO_DATA`. It’s not required for creating and editing actions.
Note: This field may return `null`, indicating that no valid value was found.public String getServiceName()
public void setServiceName(String ServiceName)
ServiceName - The K8s service name
Note: This field may return `null`, indicating that no valid value was found.public String getNameSpace()
public void setNameSpace(String NameSpace)
NameSpace - K8s 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 - Source of the node
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 © 2022. All rights reserved.