public class DescribePolicyRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribePolicyRequest() | 
| DescribePolicyRequest(DescribePolicyRequest 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 | getPolicyId()Get 策略Id。可以调用[ListPolicies](https://cloud.tencent.com/document/product/850/105311)获取 | 
| String | getPolicyType()Get 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略 | 
| void | setPolicyId(Long PolicyId)Set 策略Id。可以调用[ListPolicies](https://cloud.tencent.com/document/product/850/105311)获取 | 
| void | setPolicyType(String PolicyType)Set 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略 | 
| 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 DescribePolicyRequest()
public DescribePolicyRequest(DescribePolicyRequest source)
public Long getPolicyId()
public void setPolicyId(Long PolicyId)
PolicyId - 策略Id。可以调用[ListPolicies](https://cloud.tencent.com/document/product/850/105311)获取public String getPolicyType()
public void setPolicyType(String PolicyType)
PolicyType - 策略类型。默认值SERVICE_CONTROL_POLICY,取值范围:SERVICE_CONTROL_POLICY-服务控制策略、TAG_POLICY-标签策略Copyright © 2025. All rights reserved.