Class EnableKeyRotationRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.kms.v20190118.models.EnableKeyRotationRequest
-
public class EnableKeyRotationRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description EnableKeyRotationRequest()EnableKeyRotationRequest(EnableKeyRotationRequest 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 StringgetKeyId()Get CMK唯一标识符LonggetRotateDays()Get 密钥轮转周期,单位天,允许范围 7 ~ 365,默认值 365。voidsetKeyId(String KeyId)Set CMK唯一标识符voidsetRotateDays(Long RotateDays)Set 密钥轮转周期,单位天,允许范围 7 ~ 365,默认值 365。voidtoMap(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
-
EnableKeyRotationRequest
public EnableKeyRotationRequest()
-
EnableKeyRotationRequest
public EnableKeyRotationRequest(EnableKeyRotationRequest 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
-
getKeyId
public String getKeyId()
Get CMK唯一标识符- Returns:
- KeyId CMK唯一标识符
-
setKeyId
public void setKeyId(String KeyId)
Set CMK唯一标识符- Parameters:
KeyId- CMK唯一标识符
-
getRotateDays
public Long getRotateDays()
Get 密钥轮转周期,单位天,允许范围 7 ~ 365,默认值 365。- Returns:
- RotateDays 密钥轮转周期,单位天,允许范围 7 ~ 365,默认值 365。
-
setRotateDays
public void setRotateDays(Long RotateDays)
Set 密钥轮转周期,单位天,允许范围 7 ~ 365,默认值 365。- Parameters:
RotateDays- 密钥轮转周期,单位天,允许范围 7 ~ 365,默认值 365。
-
-