public class UpstreamInfo extends AbstractModel
Constructor and Description |
---|
UpstreamInfo() |
UpstreamInfo(UpstreamInfo 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 |
getAlgorithm()
Get Load balancing algorithm.
|
String |
getCreatedTime()
Get Creation time.
|
UpstreamHealthChecker |
getHealthChecker()
Get Health check configuration
Note: This field may return `null`, indicating that no valid value was found.
|
K8sService[] |
getK8sServices()
Get Configuration of TKE service
Note: This field may return `NULL`, indicating that no valid value was found.
|
UpstreamNode[] |
getNodes()
Get Backend nodes
|
Long |
getRetries()
Get Number of retry attempts
|
String |
getScheme()
Get Backend protocol.
|
Tag[] |
getTags()
Get Label
Note: This field may return `null`, indicating that no valid value was found.
|
String |
getUniqVpcId()
Get Unique VPC ID
|
String |
getUpstreamDescription()
Get Upstream description
|
String |
getUpstreamHost()
Get The Host header that the gateway forwards to the upstream
Note: This field may return `NULL`, indicating that no valid value was found.
|
String |
getUpstreamId()
Get Unique upstream ID
|
String |
getUpstreamName()
Get Upstream name
|
String |
getUpstreamType()
Get Upstream type.
|
void |
setAlgorithm(String Algorithm)
Set Load balancing algorithm.
|
void |
setCreatedTime(String CreatedTime)
Set Creation time.
|
void |
setHealthChecker(UpstreamHealthChecker HealthChecker)
Set Health check configuration
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setK8sServices(K8sService[] K8sServices)
Set Configuration of TKE service
Note: This field may return `NULL`, indicating that no valid value was found.
|
void |
setNodes(UpstreamNode[] Nodes)
Set Backend nodes
|
void |
setRetries(Long Retries)
Set Number of retry attempts
|
void |
setScheme(String Scheme)
Set Backend protocol.
|
void |
setTags(Tag[] Tags)
Set Label
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setUniqVpcId(String UniqVpcId)
Set Unique VPC ID
|
void |
setUpstreamDescription(String UpstreamDescription)
Set Upstream description
|
void |
setUpstreamHost(String UpstreamHost)
Set The Host header that the gateway forwards to the upstream
Note: This field may return `NULL`, indicating that no valid value was found.
|
void |
setUpstreamId(String UpstreamId)
Set Unique upstream ID
|
void |
setUpstreamName(String UpstreamName)
Set Upstream name
|
void |
setUpstreamType(String UpstreamType)
Set Upstream type.
|
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 UpstreamInfo()
public UpstreamInfo(UpstreamInfo source)
public String getUpstreamId()
public void setUpstreamId(String UpstreamId)
UpstreamId
- Unique upstream IDpublic String getUpstreamName()
public void setUpstreamName(String UpstreamName)
UpstreamName
- Upstream namepublic String getUpstreamDescription()
public void setUpstreamDescription(String UpstreamDescription)
UpstreamDescription
- Upstream descriptionpublic String getScheme()
public void setScheme(String Scheme)
Scheme
- Backend protocol. Valid values: `HTTP`, `HTTPS`public String getAlgorithm()
public void setAlgorithm(String Algorithm)
Algorithm
- Load balancing algorithm. Valid value: `ROUND_ROBIN`public String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- Unique VPC IDpublic Long getRetries()
public void setRetries(Long Retries)
Retries
- Number of retry attemptspublic UpstreamNode[] getNodes()
public void setNodes(UpstreamNode[] Nodes)
Nodes
- Backend nodespublic String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Creation time.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Label
Note: This field may return `null`, indicating that no valid value was found.public UpstreamHealthChecker getHealthChecker()
public void setHealthChecker(UpstreamHealthChecker HealthChecker)
HealthChecker
- Health check configuration
Note: This field may return `null`, indicating that no valid value was found.public String getUpstreamType()
public void setUpstreamType(String UpstreamType)
UpstreamType
- Upstream type. Valid values: `IP_PORT`, `K8S`public K8sService[] getK8sServices()
public void setK8sServices(K8sService[] K8sServices)
K8sServices
- Configuration of TKE service
Note: This field may return `NULL`, indicating that no valid value was found.public String getUpstreamHost()
public void setUpstreamHost(String UpstreamHost)
UpstreamHost
- The Host header that the gateway forwards to the upstream
Note: This field may return `NULL`, indicating that no valid value was found.Copyright © 2023. All rights reserved.