Class InputProps.Builder

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

@Stability(Experimental) public static final class InputProps.Builder extends Object implements software.amazon.jsii.Builder<InputProps>
A builder for InputProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • attributeJsonPaths

      @Stability(Experimental) public InputProps.Builder attributeJsonPaths(List<String> attributeJsonPaths)
      Parameters:
      attributeJsonPaths - An expression that specifies an attribute-value pair in a JSON structure. This parameter is required. Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events (BatchPutMessage). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition expressions used by detectors.
      Returns:
      this
    • inputName

      @Stability(Experimental) public InputProps.Builder inputName(String inputName)
      Sets the value of InputProps.getInputName()
      Parameters:
      inputName - The name of the input.
      Returns:
      this
    • build

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