public class SourceServer extends AbstractModel
Constructor and Description |
---|
SourceServer() |
SourceServer(SourceServer 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 |
---|---|
Long |
getPort()
Get Port number.
|
String |
getRealServer()
Get Types of the real server address, such as IP or domain name.
|
Long |
getRsType()
Get Types of the real server address:
`1`: domain name
`2`: IP
]
|
Long |
getWeight()
Get Forward weight of the real server.
|
void |
setPort(Long Port)
Set Port number.
|
void |
setRealServer(String RealServer)
Set Types of the real server address, such as IP or domain name.
|
void |
setRsType(Long RsType)
Set Types of the real server address:
`1`: domain name
`2`: IP
]
|
void |
setWeight(Long Weight)
Set Forward weight of the real server.
|
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 SourceServer()
public SourceServer(SourceServer source)
public String getRealServer()
public void setRealServer(String RealServer)
RealServer
- Types of the real server address, such as IP or domain name.public Long getRsType()
public void setRsType(Long RsType)
RsType
- Types of the real server address:
`1`: domain name
`2`: IP
]public Long getWeight()
public void setWeight(Long Weight)
Weight
- Forward weight of the real server. Value range: 1–100.public Long getPort()
public void setPort(Long Port)
Port
- Port number. Value range: 0-65535.Copyright © 2023. All rights reserved.