Interface InputDefinition.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InputDefinition.Builder,InputDefinition>, SdkBuilder<InputDefinition.Builder,InputDefinition>, SdkPojo
Enclosing class:
InputDefinition

public static interface InputDefinition.Builder extends SdkPojo, CopyableBuilder<InputDefinition.Builder,InputDefinition>
  • Method Details

    • attributes

      InputDefinition.Builder attributes(Collection<Attribute> attributes)

      The attributes from the JSON payload that are made available by the input. 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.

      Parameters:
      attributes - The attributes from the JSON payload that are made available by the input. 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:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      InputDefinition.Builder attributes(Attribute... attributes)

      The attributes from the JSON payload that are made available by the input. 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.

      Parameters:
      attributes - The attributes from the JSON payload that are made available by the input. 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:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      The attributes from the JSON payload that are made available by the input. 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.

      This is a convenience method that creates an instance of the Attribute.Builder avoiding the need to create one manually via Attribute.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attributes(List<Attribute>).

      Parameters:
      attributes - a consumer that will call methods on Attribute.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: