public static final class UpdateRotationPolicyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateRotationPolicyRequest |
build() |
UpdateRotationPolicyRequest.Builder |
enableAutomaticRotation(Boolean enableAutomaticRotation)
Specifies whether to enable automatic key rotation.
|
UpdateRotationPolicyRequest.Builder |
keyId(String keyId)
The ID of the customer master key (CMK).
|
UpdateRotationPolicyRequest.Builder |
rotationInterval(String rotationInterval)
The period of automatic key rotation.
|
public UpdateRotationPolicyRequest.Builder enableAutomaticRotation(Boolean enableAutomaticRotation)
* true: enables automatic key rotation. * false: disables automatic key rotation.
public UpdateRotationPolicyRequest.Builder keyId(String keyId)
public UpdateRotationPolicyRequest.Builder rotationInterval(String rotationInterval)
> If you set the EnableAutomaticRotation parameter to true, you must also specify this parameter. If you set the EnableAutomaticRotation parameter to false, you can leave this parameter unspecified.
public UpdateRotationPolicyRequest build()
Copyright © 2023. All rights reserved.