Class SecretValue.Builder

java.lang.Object
software.amazon.awscdk.core.SecretValue.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<SecretValue>
Enclosing class:
SecretValue

@Stability(Stable) public static final class SecretValue.Builder extends Object implements software.amazon.jsii.Builder<SecretValue>
A fluent builder for SecretValue.
  • Method Details

    • create

      @Stability(Stable) public static SecretValue.Builder create(Object protectedValue)
      Parameters:
      protectedValue - This parameter is required.
      Returns:
      a new instance of SecretValue.Builder.
    • stackTrace

      @Stability(Stable) public SecretValue.Builder stackTrace(Boolean stackTrace)
      Capture the stack trace of where this token is created.

      Default: true

      Parameters:
      stackTrace - Capture the stack trace of where this token is created. This parameter is required.
      Returns:
      this
    • build

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