public class TemplatePolicy extends AbstractModel
header, skipSign
Constructor and Description |
---|
TemplatePolicy() |
TemplatePolicy(TemplatePolicy 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 |
getTemplatePolicyDealType()
Get Process method when the guardrail policy takes effect.
|
String[] |
getTemplatePolicyIdList()
Get Protection policy ID list
|
String |
getTemplatePolicyRule()
Get Policy rules
|
void |
setTemplatePolicyDealType(Long TemplatePolicyDealType)
Set Process method when the guardrail policy takes effect.
|
void |
setTemplatePolicyIdList(String[] TemplatePolicyIdList)
Set Protection policy ID list
|
void |
setTemplatePolicyRule(String TemplatePolicyRule)
Set Policy rules
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public TemplatePolicy()
public TemplatePolicy(TemplatePolicy source)
public String[] getTemplatePolicyIdList()
public void setTemplatePolicyIdList(String[] TemplatePolicyIdList)
TemplatePolicyIdList
- Protection policy ID listpublic String getTemplatePolicyRule()
public void setTemplatePolicyRule(String TemplatePolicyRule)
TemplatePolicyRule
- Policy rulespublic Long getTemplatePolicyDealType()
public void setTemplatePolicyDealType(Long TemplatePolicyDealType)
TemplatePolicyDealType
- Process method when the guardrail policy takes effect. 1: sequential execution, 2: pausing.Copyright © 2024. All rights reserved.