public class DescribeSecurityPolicyRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeSecurityPolicyRequest() | 
| DescribeSecurityPolicyRequest(DescribeSecurityPolicyRequest 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 `SecurityPolicy` type, the following parameter values can be used for query: `ZoneDefaultPolicy`: used to specify a query for site-level policies; `Template`: used to specify a query for policy templates. | 
| String | getHost()Get Specify the domain name. | 
| String | getTemplateId()Get Specify the policy Template ID. | 
| String | getZoneId()Get Zone ID. | 
| void | setEntity(String Entity)Set `SecurityPolicy` type, the following parameter values can be used for query: `ZoneDefaultPolicy`: used to specify a query for site-level policies; `Template`: used to specify a query for policy templates. | 
| void | setHost(String Host)Set Specify the domain name. | 
| void | setTemplateId(String TemplateId)Set Specify the policy Template ID. | 
| 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, toJsonStringpublic DescribeSecurityPolicyRequest()
public DescribeSecurityPolicyRequest(DescribeSecurityPolicyRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - Zone ID.public String getEntity()
public void setEntity(String Entity)
Entity - `SecurityPolicy` type, the following parameter values can be used for query: public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId - Specify the policy Template ID. Use this parameter to specify the ID of the policy Template to query the Template configuration when the `Entity` parameter value is set to `Template`.public String getHost()
public void setHost(String Host)
Host - Specify the domain name. When the `Entity` parameter value is set to `Host`, use the domain-level policy specified by this parameter to query the domain configuration. For example, use `www.example.com` to configure the domain-level policy for that domain name.Copyright © 2025. All rights reserved.