Class SecretRotationApplication.Builder
java.lang.Object
software.amazon.awscdk.services.secretsmanager.SecretRotationApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecretRotationApplication>
- Enclosing class:
SecretRotationApplication
@Stability(Stable)
public static final class SecretRotationApplication.Builder
extends Object
implements software.amazon.jsii.Builder<SecretRotationApplication>
A fluent builder for
SecretRotationApplication.-
Method Summary
Modifier and TypeMethodDescriptionadditionalSemanticVersions(Map<String, String> additionalSemanticVersions) Semantic versions for partitions other than 'aws'.build()isMultiUser(Boolean isMultiUser) Whether the rotation application uses the multi user scheme.
-
Method Details
-
create
@Stability(Stable) public static SecretRotationApplication.Builder create(String applicationName, String awsSemanticVersion) - Parameters:
applicationName-- The name of the rotation application.
awsSemanticVersion-- AWS partition semantic version for the application.
- Returns:
- a new instance of
SecretRotationApplication.Builder.
-
additionalSemanticVersions
@Stability(Stable) public SecretRotationApplication.Builder additionalSemanticVersions(Map<String, String> additionalSemanticVersions) Semantic versions for partitions other than 'aws'.If not specified, it is assumed that non aws partitions (eg aws-cn, aws-us-gov) are not supported.
Default: - no additional partition versions (only 'aws' partition is supported)
- Parameters:
additionalSemanticVersions- Semantic versions for partitions other than 'aws'. This parameter is required.- Returns:
this
-
isMultiUser
Whether the rotation application uses the multi user scheme.Default: false
- Parameters:
isMultiUser- Whether the rotation application uses the multi user scheme. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecretRotationApplication>- Returns:
- a newly built instance of
SecretRotationApplication.
-