public class CreateWebSecurityTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateWebSecurityTemplateRequest() |
CreateWebSecurityTemplateRequest(CreateWebSecurityTemplateRequest 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 |
---|---|
SecurityPolicy |
getSecurityPolicy()
Get Web security policy template configuration.
|
String |
getTemplateName()
Get Policy template name.
|
String |
getZoneId()
Get Zone ID.
|
void |
setSecurityPolicy(SecurityPolicy SecurityPolicy)
Set Web security policy template configuration.
|
void |
setTemplateName(String TemplateName)
Set Policy template name.
|
void |
setZoneId(String ZoneId)
Set Zone ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateWebSecurityTemplateRequest()
public CreateWebSecurityTemplateRequest(CreateWebSecurityTemplateRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Zone ID. Explicitly identifies the zone to which the policy template belongs for access control purposes.public String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- Policy template name. Composed of Chinese characters, letters, digits, and underscores. Cannot begin with an underscore and must be less than or equal to 32 characters.public SecurityPolicy getSecurityPolicy()
public void setSecurityPolicy(SecurityPolicy SecurityPolicy)
SecurityPolicy
- Web security policy template configuration. Generates default config if empty. Supported: Exception rules, custom rules, rate limiting rules, managed rules. Not supported: Bot management rules (under development).Copyright © 2025. All rights reserved.