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 Details

    • create

      @Stability(Stable) public static SecretRotationApplication.Builder create(String applicationName, String awsSemanticVersion)
      Parameters:
      applicationName -
      • The name of the rotation application.
      This parameter is required.
      awsSemanticVersion -
      • AWS partition semantic version for the application.
      This parameter is required.
      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

      @Stability(Stable) public SecretRotationApplication.Builder isMultiUser(Boolean 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

      @Stability(Stable) public SecretRotationApplication build()
      Specified by:
      build in interface software.amazon.jsii.Builder<SecretRotationApplication>
      Returns:
      a newly built instance of SecretRotationApplication.