Class CfnJson.Builder

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

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

    • create

      @Stability(Stable) public static CfnJson.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of CfnJson.Builder.
    • value

      @Stability(Stable) public CfnJson.Builder value(Object value)
      The value to resolve.

      Can be any JavaScript object, including tokens and references in keys or values.

      Parameters:
      value - The value to resolve. This parameter is required.
      Returns:
      this
    • build

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