Class RotateSecretOptions.Builder
java.lang.Object
codes.grow.packages.awssecretsmanager.RotateSecretOptions.Builder
- Enclosing class:
RotateSecretOptions
Builder of
RotateSecretOptions.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the options.clientRequestToken(String clientRequestToken) Sets idempotency token; the AWS SDK fills one when unset.Sets rotation Lambda ARN (omit for managed rotation or to keep the current function).rotateImmediately(Boolean rotateImmediately) Sets whether to rotate now (AWS default true).rules(RotationRules rules) Sets rotation schedule.
-
Method Details
-
lambdaArn
Sets rotation Lambda ARN (omit for managed rotation or to keep the current function).- Parameters:
lambdaArn- the value- Returns:
- this builder
-
rules
Sets rotation schedule.- Parameters:
rules- the value- Returns:
- this builder
-
rotateImmediately
Sets whether to rotate now (AWS default true).- Parameters:
rotateImmediately- the value- Returns:
- this builder
-
clientRequestToken
Sets idempotency token; the AWS SDK fills one when unset.- Parameters:
clientRequestToken- the value- Returns:
- this builder
-
build
Builds the options.- Returns:
- the options
-