public class SpartaProtectionPort extends AbstractModel
header, skipSign| Constructor and Description |
|---|
SpartaProtectionPort() |
SpartaProtectionPort(SpartaProtectionPort 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 |
getNginxServerId()
Get nginx Id
|
String |
getPort()
Get Port
|
String |
getProtocol()
Get Protocol
|
String |
getUpstreamPort()
Get Backend port
|
String |
getUpstreamProtocol()
Get Backend protocol
|
void |
setNginxServerId(Long NginxServerId)
Set nginx Id
|
void |
setPort(String Port)
Set Port
|
void |
setProtocol(String Protocol)
Set Protocol
|
void |
setUpstreamPort(String UpstreamPort)
Set Backend port
|
void |
setUpstreamProtocol(String UpstreamProtocol)
Set Backend protocol
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SpartaProtectionPort()
public SpartaProtectionPort(SpartaProtectionPort source)
public Long getNginxServerId()
public void setNginxServerId(Long NginxServerId)
NginxServerId - nginx Idpublic String getPort()
public void setPort(String Port)
Port - Portpublic String getProtocol()
public void setProtocol(String Protocol)
Protocol - Protocolpublic String getUpstreamPort()
public void setUpstreamPort(String UpstreamPort)
UpstreamPort - Backend portpublic String getUpstreamProtocol()
public void setUpstreamProtocol(String UpstreamProtocol)
UpstreamProtocol - Backend protocolCopyright © 2025. All rights reserved.