Class CfnInput.InputDefinitionProperty.Builder

java.lang.Object
software.amazon.awscdk.services.iotevents.CfnInput.InputDefinitionProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput.InputDefinitionProperty>
Enclosing interface:
CfnInput.InputDefinitionProperty

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

    • Builder

      public Builder()
  • Method Details

    • attributes

      @Stability(Stable) public CfnInput.InputDefinitionProperty.Builder attributes(IResolvable attributes)
      Parameters:
      attributes - The attributes from the JSON payload that are made available by the input. This parameter is required. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage . Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors that monitor this input.
      Returns:
      this
    • attributes

      @Stability(Stable) public CfnInput.InputDefinitionProperty.Builder attributes(List<? extends Object> attributes)
      Parameters:
      attributes - The attributes from the JSON payload that are made available by the input. This parameter is required. Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage . Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors that monitor this input.
      Returns:
      this
    • build

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