public class ModifySecurityPolicyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifySecurityPolicyRequest() |
ModifySecurityPolicyRequest(ModifySecurityPolicyRequest 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 |
getEntity()
Get Subdomain/application name.
|
SecurityConfig |
getSecurityConfig()
Get Security configuration.
|
String |
getTemplateId()
Get Specifies the policy template ID, or the site's global policy.
|
String |
getZoneId()
Get The site ID.
|
void |
setEntity(String Entity)
Set Subdomain/application name.
|
void |
setSecurityConfig(SecurityConfig SecurityConfig)
Set Security configuration.
|
void |
setTemplateId(String TemplateId)
Set Specifies the policy template ID, or the site's global policy.
|
void |
setZoneId(String ZoneId)
Set The site ID.
|
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 ModifySecurityPolicyRequest()
public ModifySecurityPolicyRequest(ModifySecurityPolicyRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- The site ID.public SecurityConfig getSecurityConfig()
public void setSecurityConfig(SecurityConfig SecurityConfig)
SecurityConfig
- Security configuration.public String getEntity()
public void setEntity(String Entity)
Entity
- Subdomain/application name.
Note: When both this parameter and the TemplateId parameter are specified, this parameter will not take effect. Do not specify this parameter and the TemplateId parameter at the same time.public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- Specifies the policy template ID, or the site's global policy.
- To configure a policy template, specify the policy template ID.
- To configure the site's global policy, use the @ZoneLevel@Domain parameter value.
Note: When this parameter is used, the Entity parameter will not take effect. Do not use this parameter and the Entity parameter at the same time.Copyright © 2024. All rights reserved.