Class CfnCondition.Builder

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

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

    • create

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

      @Stability(Stable) public CfnCondition.Builder expression(ICfnConditionExpression expression)
      The expression that the condition will evaluate.

      Default: - None.

      Parameters:
      expression - The expression that the condition will evaluate. This parameter is required.
      Returns:
      this
    • build

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