Class UnconfiguredBehavesLike.Builder

java.lang.Object
software.amazon.awscdk.cloud_assembly_schema.UnconfiguredBehavesLike.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<UnconfiguredBehavesLike>
Enclosing interface:
UnconfiguredBehavesLike

@Stability(Stable) public static final class UnconfiguredBehavesLike.Builder extends Object implements software.amazon.jsii.Builder<UnconfiguredBehavesLike>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • v1

      @Stability(Stable) public UnconfiguredBehavesLike.Builder v1(Object v1)
      Parameters:
      v1 - Historical accident, don't use. This value may be present, but it should never be used. The actual value is in the v2 field, regardless of the version of the CDK library.
      Returns:
      this
    • v2

      @Stability(Stable) public UnconfiguredBehavesLike.Builder v2(Object v2)
      Parameters:
      v2 - The value of the flag that produces the same behavior as when the flag is not configured at all. Even though it is called 'v2', this is the official name of this field. In any future versions of CDK (v3, v4, ...), this field will still be called 'v2'.

      The structure of this field is a historical accident. See the comment on unconfiguredBehavesLike for more information.

      Returns:
      this
    • build

      @Stability(Stable) public UnconfiguredBehavesLike build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<UnconfiguredBehavesLike>
      Returns:
      a new instance of UnconfiguredBehavesLike
      Throws:
      NullPointerException - if any required attribute was not provided