public class ShieldArea extends AbstractModel
Constructor and Description |
---|
ShieldArea() |
ShieldArea(ShieldArea 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 |
---|---|
DDoSApplication[] |
getApplication()
Get Layer-7 domain name parameters
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getEntity()
Get Name of the protected resource
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getEntityName()
Get Layer-4 proxy name
Note: This field may return `null`, indicating that no valid value can be obtained.
|
Long |
getPolicyId()
Get Policy ID
|
Boolean |
getShare()
Get Whether the shared resource is used.
|
Long |
getTcpNum()
Get Number of layer-4 TCP forwarding rules
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getType()
Get Type of protected resource.
|
Long |
getUdpNum()
Get Number of layer-4 UDP forwarding rules
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getZoneId()
Get ID of the site (top-level domain name)
|
void |
setApplication(DDoSApplication[] Application)
Set Layer-7 domain name parameters
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setEntity(String Entity)
Set Name of the protected resource
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setEntityName(String EntityName)
Set Layer-4 proxy name
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setPolicyId(Long PolicyId)
Set Policy ID
|
void |
setShare(Boolean Share)
Set Whether the shared resource is used.
|
void |
setTcpNum(Long TcpNum)
Set Number of layer-4 TCP forwarding rules
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setType(String Type)
Set Type of protected resource.
|
void |
setUdpNum(Long UdpNum)
Set Number of layer-4 UDP forwarding rules
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setZoneId(String ZoneId)
Set ID of the site (top-level domain name)
|
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 ShieldArea()
public ShieldArea(ShieldArea source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- ID of the site (top-level domain name)public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId
- Policy IDpublic String getType()
public void setType(String Type)
Type
- Type of protected resource. Values: `domain` and `application`.public String getEntityName()
public void setEntityName(String EntityName)
EntityName
- Layer-4 proxy name
Note: This field may return `null`, indicating that no valid value can be obtained.public DDoSApplication[] getApplication()
public void setApplication(DDoSApplication[] Application)
Application
- Layer-7 domain name parameters
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getTcpNum()
public void setTcpNum(Long TcpNum)
TcpNum
- Number of layer-4 TCP forwarding rules
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getUdpNum()
public void setUdpNum(Long UdpNum)
UdpNum
- Number of layer-4 UDP forwarding rules
Note: This field may return `null`, indicating that no valid value can be obtained.public String getEntity()
public void setEntity(String Entity)
Entity
- Name of the protected resource
Note: This field may return `null`, indicating that no valid value can be obtained.public Boolean getShare()
public void setShare(Boolean Share)
Share
- Whether the shared resource is used. Values: `true` (yes) and `false` (no). The proxy mode cannot be switched when the shared resource is used.
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.