Class CreatePolicyVersionRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cam.v20190116.models.CreatePolicyVersionRequest
-
public class CreatePolicyVersionRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreatePolicyVersionRequest()
CreatePolicyVersionRequest(CreatePolicyVersionRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPolicyDocument()
Get 策略文本信息Long
getPolicyId()
Get 策略IDBoolean
getSetAsDefault()
Get 是否设置为当前策略的版本void
setPolicyDocument(String PolicyDocument)
Set 策略文本信息void
setPolicyId(Long PolicyId)
Set 策略IDvoid
setSetAsDefault(Boolean SetAsDefault)
Set 是否设置为当前策略的版本void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
CreatePolicyVersionRequest
public CreatePolicyVersionRequest()
-
CreatePolicyVersionRequest
public CreatePolicyVersionRequest(CreatePolicyVersionRequest 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.
-
-
Method Detail
-
getPolicyId
public Long getPolicyId()
Get 策略ID- Returns:
- PolicyId 策略ID
-
setPolicyId
public void setPolicyId(Long PolicyId)
Set 策略ID- Parameters:
PolicyId
- 策略ID
-
getPolicyDocument
public String getPolicyDocument()
Get 策略文本信息- Returns:
- PolicyDocument 策略文本信息
-
setPolicyDocument
public void setPolicyDocument(String PolicyDocument)
Set 策略文本信息- Parameters:
PolicyDocument
- 策略文本信息
-
getSetAsDefault
public Boolean getSetAsDefault()
Get 是否设置为当前策略的版本- Returns:
- SetAsDefault 是否设置为当前策略的版本
-
setSetAsDefault
public void setSetAsDefault(Boolean SetAsDefault)
Set 是否设置为当前策略的版本- Parameters:
SetAsDefault
- 是否设置为当前策略的版本
-
-