public class Waf extends AbstractModel
Constructor and Description |
---|
Waf() |
Waf(Waf 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 |
getPolicyId()
Get ID of the policy
|
String |
getSwitch()
Get Whether to enable WAF.
|
void |
setPolicyId(Long PolicyId)
Set ID of the policy
|
void |
setSwitch(String Switch)
Set Whether to enable WAF.
|
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 Waf()
public Waf(Waf source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable WAF. Values:
public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId
- ID of the policyCopyright © 2023. All rights reserved.