public class Layer4Rule extends AbstractModel
header, skipSign
Constructor and Description |
---|
Layer4Rule() |
Layer4Rule(Layer4Rule 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 |
getBackendPort()
Get Real server port.
|
Long |
getFrontendPort()
Get Forwarding port.
|
RuleInstanceRelation[] |
getInstanceDetailRule()
Get Information of the Anti-DDoS instance configured
|
InstanceRelation[] |
getInstanceDetails()
Get Information of the Anti-DDoS instance
|
String |
getProtocol()
Get Forwarding rule.
|
SourceServer[] |
getRealServers()
Get List of real servers
|
void |
setBackendPort(Long BackendPort)
Set Real server port.
|
void |
setFrontendPort(Long FrontendPort)
Set Forwarding port.
|
void |
setInstanceDetailRule(RuleInstanceRelation[] InstanceDetailRule)
Set Information of the Anti-DDoS instance configured
|
void |
setInstanceDetails(InstanceRelation[] InstanceDetails)
Set Information of the Anti-DDoS instance
|
void |
setProtocol(String Protocol)
Set Forwarding rule.
|
void |
setRealServers(SourceServer[] RealServers)
Set List of real servers
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Layer4Rule()
public Layer4Rule(Layer4Rule source)
public Long getBackendPort()
public void setBackendPort(Long BackendPort)
BackendPort
- Real server port. Value range: 1–65535.public Long getFrontendPort()
public void setFrontendPort(Long FrontendPort)
FrontendPort
- Forwarding port. Value range: 1–65535.public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- Forwarding rule. Valid values:
TCP
UDP
]public SourceServer[] getRealServers()
public void setRealServers(SourceServer[] RealServers)
RealServers
- List of real serverspublic InstanceRelation[] getInstanceDetails()
public void setInstanceDetails(InstanceRelation[] InstanceDetails)
InstanceDetails
- Information of the Anti-DDoS instancepublic RuleInstanceRelation[] getInstanceDetailRule()
public void setInstanceDetailRule(RuleInstanceRelation[] InstanceDetailRule)
InstanceDetailRule
- Information of the Anti-DDoS instance configuredCopyright © 2024. All rights reserved.