public class UDPListener extends AbstractModel
Constructor and Description |
---|
UDPListener() |
UDPListener(UDPListener 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 |
getBindStatus()
Get Status of origin server bound to listener.
|
Long |
getCreateTime()
Get Listener creation time; using UNIX timestamp.
|
String |
getListenerId()
Get Listener ID
|
String |
getListenerName()
Get Listener name
|
Long |
getListenerStatus()
Get Listener status.
|
Long |
getPort()
Get Listener port
|
String |
getProtocol()
Get Listener protocol: UDP.
|
Long |
getRealServerPort()
Get Origin server port, which is only valid for the connections or connection groups of version 1.0.
|
BindRealServer[] |
getRealServerSet()
Get Information of the origin server bound to listeners
|
String |
getRealServerType()
Get Type of the origin server bound to listeners
|
String |
getScheduler()
Get Origin server access policy of listeners
|
void |
setBindStatus(Long BindStatus)
Set Status of origin server bound to listener.
|
void |
setCreateTime(Long CreateTime)
Set Listener creation time; using UNIX timestamp.
|
void |
setListenerId(String ListenerId)
Set Listener ID
|
void |
setListenerName(String ListenerName)
Set Listener name
|
void |
setListenerStatus(Long ListenerStatus)
Set Listener status.
|
void |
setPort(Long Port)
Set Listener port
|
void |
setProtocol(String Protocol)
Set Listener protocol: UDP.
|
void |
setRealServerPort(Long RealServerPort)
Set Origin server port, which is only valid for the connections or connection groups of version 1.0.
|
void |
setRealServerSet(BindRealServer[] RealServerSet)
Set Information of the origin server bound to listeners
|
void |
setRealServerType(String RealServerType)
Set Type of the origin server bound to listeners
|
void |
setScheduler(String Scheduler)
Set Origin server access policy of listeners
|
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 UDPListener()
public UDPListener(UDPListener source)
public String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- Listener IDpublic String getListenerName()
public void setListenerName(String ListenerName)
ListenerName
- Listener namepublic Long getPort()
public void setPort(Long Port)
Port
- Listener portpublic Long getRealServerPort()
public void setRealServerPort(Long RealServerPort)
RealServerPort
- Origin server port, which is only valid for the connections or connection groups of version 1.0.
Note: This field may return null, indicating that no valid values can be obtained.public String getRealServerType()
public void setRealServerType(String RealServerType)
RealServerType
- Type of the origin server bound to listenerspublic String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Listener protocol: UDP.public Long getListenerStatus()
public void setListenerStatus(Long ListenerStatus)
ListenerStatus
- Listener status. Valid values:
0: running;
1: creating;
2: terminating;
3: adjusting origin server;
4: adjusting configuration.public String getScheduler()
public void setScheduler(String Scheduler)
Scheduler
- Origin server access policy of listenerspublic Long getBindStatus()
public void setBindStatus(Long BindStatus)
BindStatus
- Status of origin server bound to listener. 0: normal, 1: exceptional IP, 2: exceptional domain name resolutionpublic BindRealServer[] getRealServerSet()
public void setRealServerSet(BindRealServer[] RealServerSet)
RealServerSet
- Information of the origin server bound to listenerspublic Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Listener creation time; using UNIX timestamp.Copyright © 2021. All rights reserved.