Class SetDefaultPolicyVersionRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cam.v20190116.models.SetDefaultPolicyVersionRequest
-
public class SetDefaultPolicyVersionRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SetDefaultPolicyVersionRequest()
SetDefaultPolicyVersionRequest(SetDefaultPolicyVersionRequest 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 Long
getPolicyId()
Get 策略IDLong
getVersionId()
Get 策略版本号,可由ListPolicyVersions获取void
setPolicyId(Long PolicyId)
Set 策略IDvoid
setVersionId(Long VersionId)
Set 策略版本号,可由ListPolicyVersions获取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
-
SetDefaultPolicyVersionRequest
public SetDefaultPolicyVersionRequest()
-
SetDefaultPolicyVersionRequest
public SetDefaultPolicyVersionRequest(SetDefaultPolicyVersionRequest 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
-
getVersionId
public Long getVersionId()
Get 策略版本号,可由ListPolicyVersions获取- Returns:
- VersionId 策略版本号,可由ListPolicyVersions获取
-
setVersionId
public void setVersionId(Long VersionId)
Set 策略版本号,可由ListPolicyVersions获取- Parameters:
VersionId
- 策略版本号,可由ListPolicyVersions获取
-
-