Interface Attribute.Builder

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

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

    • jsonPath

      Attribute.Builder jsonPath(String jsonPath)

      An expression that specifies an attribute-value pair in a JSON structure. 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.

      Syntax: <field-name>.<field-name>...

      Parameters:
      jsonPath - An expression that specifies an attribute-value pair in a JSON structure. 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.

      Syntax: <field-name>.<field-name>...

      Returns:
      Returns a reference to this object so that method calls can be chained together.