public class BindSecurityTemplateToEntityRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
BindSecurityTemplateToEntityRequest() |
BindSecurityTemplateToEntityRequest(BindSecurityTemplateToEntityRequest 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[] |
getEntities()
Get List of domain names to bind to/unbind from a policy template
|
String |
getOperate()
Get Action options.
|
Boolean |
getOverWrite()
Get Whether to replace the existing policy template bound with the domain name.
|
String |
getTemplateId()
Get Specifies the ID of the policy template or the site's global policy to be bound or unbound.
|
String |
getZoneId()
Get Site ID of the policy template to be bound to or unbound from.
|
void |
setEntities(String[] Entities)
Set List of domain names to bind to/unbind from a policy template
|
void |
setOperate(String Operate)
Set Action options.
|
void |
setOverWrite(Boolean OverWrite)
Set Whether to replace the existing policy template bound with the domain name.
|
void |
setTemplateId(String TemplateId)
Set Specifies the ID of the policy template or the site's global policy to be bound or unbound.
|
void |
setZoneId(String ZoneId)
Set Site ID of the policy template to be bound to or unbound from.
|
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 BindSecurityTemplateToEntityRequest()
public BindSecurityTemplateToEntityRequest(BindSecurityTemplateToEntityRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Site ID of the policy template to be bound to or unbound from.public String[] getEntities()
public void setEntities(String[] Entities)
Entities
- List of domain names to bind to/unbind from a policy templatepublic String getOperate()
public void setOperate(String Operate)
Operate
- Action options. Values include:
public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId
- Specifies the ID of the policy template or the site's global policy to be bound or unbound.
- To bind to a policy template, or unbind from it, specify the policy template ID.
- To bind to the site's global policy, or unbind from it, use the @ZoneLevel@domain parameter value.
Note: After unbinding, the domain name will use an independent policy and rule quota will be calculated separately. Please make sure there is sufficient rule quota before unbinding.public Boolean getOverWrite()
public void setOverWrite(Boolean OverWrite)
OverWrite
- Whether to replace the existing policy template bound with the domain name. Values:
Copyright © 2024. All rights reserved.