public class ModifyDDoSPolicyRequest extends AbstractModel
Constructor and Description |
---|
ModifyDDoSPolicyRequest() |
ModifyDDoSPolicyRequest(ModifyDDoSPolicyRequest 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 |
getBusiness()
Get Anti-DDoS service type.
|
DDoSPolicyDropOption[] |
getDropOptions()
Get Protocol disablement, which must be entered, and the array length must be 1
|
IpBlackWhite[] |
getIpAllowDenys()
Get IP blocklist/allowlist.
|
DDoSPolicyPacketFilter[] |
getPacketFilters()
Get Packet filter.
|
String |
getPolicyId()
Get Policy ID
|
DDoSPolicyPortLimit[] |
getPortLimits()
Get Port disablement.
|
WaterPrintPolicy[] |
getWaterPrint()
Get Watermarking policy parameter.
|
void |
setBusiness(String Business)
Set Anti-DDoS service type.
|
void |
setDropOptions(DDoSPolicyDropOption[] DropOptions)
Set Protocol disablement, which must be entered, and the array length must be 1
|
void |
setIpAllowDenys(IpBlackWhite[] IpAllowDenys)
Set IP blocklist/allowlist.
|
void |
setPacketFilters(DDoSPolicyPacketFilter[] PacketFilters)
Set Packet filter.
|
void |
setPolicyId(String PolicyId)
Set Policy ID
|
void |
setPortLimits(DDoSPolicyPortLimit[] PortLimits)
Set Port disablement.
|
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, toJsonString
public ModifyDDoSPolicyRequest()
public ModifyDDoSPolicyRequest(ModifyDDoSPolicyRequest source)
public String getBusiness()
public void setBusiness(String Business)
Business
- Anti-DDoS service type. `bgpip`: Anti-DDoS Advanced; `bgp`: Anti-DDoS Pro (single IP); `bgp-multip`: Anti-DDoS Pro (multi-IP), `net`: Anti-DDoS Ultimatepublic String getPolicyId()
public void setPolicyId(String PolicyId)
PolicyId
- Policy IDpublic DDoSPolicyDropOption[] getDropOptions()
public void setDropOptions(DDoSPolicyDropOption[] DropOptions)
DropOptions
- Protocol disablement, which must be entered, and the array length must be 1public DDoSPolicyPortLimit[] getPortLimits()
public void setPortLimits(DDoSPolicyPortLimit[] PortLimits)
PortLimits
- Port disablement. If no ports are to be disabled, enter an empty arraypublic IpBlackWhite[] getIpAllowDenys()
public void setIpAllowDenys(IpBlackWhite[] IpAllowDenys)
IpAllowDenys
- IP blocklist/allowlist. Enter an empty array if there is no IP blocklist/allowlistpublic DDoSPolicyPacketFilter[] getPacketFilters()
public void setPacketFilters(DDoSPolicyPacketFilter[] PacketFilters)
PacketFilters
- Packet filter. Enter an empty array if there are no packets to filterpublic WaterPrintPolicy[] getWaterPrint()
public void setWaterPrint(WaterPrintPolicy[] WaterPrint)
WaterPrint
- Watermarking policy parameter. Enter an empty array if the watermarking feature is not enabled. At most one watermarking policy can be passed in (that is, the size of the array cannot exceed 1)Copyright © 2023. All rights reserved.