public class DDosPolicy extends AbstractModel
| Constructor and Description | 
|---|
| DDosPolicy() | 
| DDosPolicy(DDosPolicy 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 | 
|---|---|
| String[] | getBoundResources()Get Resource instance bound to policy
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getCreateTime()Get Policy creation time | 
| DDoSPolicyDropOption | getDropOptions()Get Disabled protocol | 
| IpBlackWhite[] | getIpBlackWhiteLists()Get IP blocklist/allowlist | 
| DDoSPolicyPacketFilter[] | getPacketFilters()Get Packet filter | 
| String | getPolicyId()Get Policy ID | 
| String | getPolicyName()Get Policy name | 
| DDoSPolicyPortLimit[] | getPortLimits()Get Disabled port | 
| ResourceIp[] | getResources()Get Resource bound to policy | 
| String | getSceneId()Get Policy scenario
Note: this field may return null, indicating that no valid values can be obtained. | 
| WaterPrintKey[] | getWaterKey()Get Watermark key. | 
| WaterPrintPolicy[] | getWaterPrint()Get Watermarking policy parameter. | 
| void | setBoundResources(String[] BoundResources)Set Resource instance bound to policy
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setCreateTime(String CreateTime)Set Policy creation time | 
| void | setDropOptions(DDoSPolicyDropOption DropOptions)Set Disabled protocol | 
| void | setIpBlackWhiteLists(IpBlackWhite[] IpBlackWhiteLists)Set IP blocklist/allowlist | 
| void | setPacketFilters(DDoSPolicyPacketFilter[] PacketFilters)Set Packet filter | 
| void | setPolicyId(String PolicyId)Set Policy ID | 
| void | setPolicyName(String PolicyName)Set Policy name | 
| void | setPortLimits(DDoSPolicyPortLimit[] PortLimits)Set Disabled port | 
| void | setResources(ResourceIp[] Resources)Set Resource bound to policy | 
| void | setSceneId(String SceneId)Set Policy scenario
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setWaterKey(WaterPrintKey[] WaterKey)Set Watermark key. | 
| void | setWaterPrint(WaterPrintPolicy[] WaterPrint)Set Watermarking policy parameter. | 
| 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, toJsonStringpublic DDosPolicy()
public DDosPolicy(DDosPolicy source)
public ResourceIp[] getResources()
public void setResources(ResourceIp[] Resources)
Resources - Resource bound to policypublic DDoSPolicyDropOption getDropOptions()
public void setDropOptions(DDoSPolicyDropOption DropOptions)
DropOptions - Disabled protocolpublic DDoSPolicyPortLimit[] getPortLimits()
public void setPortLimits(DDoSPolicyPortLimit[] PortLimits)
PortLimits - Disabled portpublic DDoSPolicyPacketFilter[] getPacketFilters()
public void setPacketFilters(DDoSPolicyPacketFilter[] PacketFilters)
PacketFilters - Packet filterpublic IpBlackWhite[] getIpBlackWhiteLists()
public void setIpBlackWhiteLists(IpBlackWhite[] IpBlackWhiteLists)
IpBlackWhiteLists - IP blocklist/allowlistpublic String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId - Policy IDpublic String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Policy namepublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - Policy creation timepublic WaterPrintPolicy[] getWaterPrint()
public void setWaterPrint(WaterPrintPolicy[] WaterPrint)
WaterPrint - Watermarking policy parameter. There can be only one policy. If there are no policies, the array is emptypublic WaterPrintKey[] getWaterKey()
public void setWaterKey(WaterPrintKey[] WaterKey)
WaterKey - Watermark key. There can be up to two keys. If there are no policies, the array is emptypublic String[] getBoundResources()
public void setBoundResources(String[] BoundResources)
BoundResources - Resource instance bound to policy
Note: this field may return null, indicating that no valid values can be obtained.public String getSceneId()
public void setSceneId(String SceneId)
SceneId - Policy scenario
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.