@Stability(value=Stable) public static final class RotationScheduleOptions.Builder extends Object implements software.amazon.jsii.Builder<RotationScheduleOptions>
RotationScheduleOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RotationScheduleOptions.Builder |
automaticallyAfter(Duration automaticallyAfter)
Sets the value of
RotationScheduleOptions.getAutomaticallyAfter() |
RotationScheduleOptions |
build()
Builds the configured instance.
|
RotationScheduleOptions.Builder |
hostedRotation(HostedRotation hostedRotation)
Sets the value of
RotationScheduleOptions.getHostedRotation() |
RotationScheduleOptions.Builder |
rotationLambda(IFunction rotationLambda)
Sets the value of
RotationScheduleOptions.getRotationLambda() |
@Stability(value=Stable) public RotationScheduleOptions.Builder automaticallyAfter(Duration automaticallyAfter)
RotationScheduleOptions.getAutomaticallyAfter()automaticallyAfter - Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
A value of zero will disable automatic rotation - Duration.days(0).this@Stability(value=Stable) public RotationScheduleOptions.Builder hostedRotation(HostedRotation hostedRotation)
RotationScheduleOptions.getHostedRotation()hostedRotation - Hosted rotation.this@Stability(value=Stable) public RotationScheduleOptions.Builder rotationLambda(IFunction rotationLambda)
RotationScheduleOptions.getRotationLambda()rotationLambda - A Lambda function that can rotate the secret.this@Stability(value=Stable) public RotationScheduleOptions build()
build in interface software.amazon.jsii.Builder<RotationScheduleOptions>RotationScheduleOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.