public static final class UpdateSecretRotationPolicyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateSecretRotationPolicyRequest |
build() |
UpdateSecretRotationPolicyRequest.Builder |
enableAutomaticRotation(Boolean enableAutomaticRotation)
Specifies whether to enable automatic rotation.
|
UpdateSecretRotationPolicyRequest.Builder |
rotationInterval(String rotationInterval)
The interval for automatic rotation.
|
UpdateSecretRotationPolicyRequest.Builder |
secretName(String secretName)
The name of the secret.
|
public UpdateSecretRotationPolicyRequest.Builder enableAutomaticRotation(Boolean enableAutomaticRotation)
* true: enables automatic rotation. * false: does not enable automatic rotation. This is the default value.
public UpdateSecretRotationPolicyRequest.Builder rotationInterval(String rotationInterval)
The value is in the `integer[unit]` format.```` The unit can be d (day), h (hour), m (minute), or s (second). For example, both 7d and 604800s indicate a seven-day interval. > This parameter is required if you set the EnableAutomaticRotation parameter to true. This parameter is ignored if you set the EnableAutomaticRotation parameter to false or does not specify the EnableAutomaticRotation parameter.
public UpdateSecretRotationPolicyRequest.Builder secretName(String secretName)
public UpdateSecretRotationPolicyRequest build()
Copyright © 2023. All rights reserved.