public static final class CfnInput.AttributeProperty.Builder
extends java.lang.Object
CfnInput.AttributeProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnInput.AttributeProperty |
build()
Builds the configured instance.
|
CfnInput.AttributeProperty.Builder |
jsonPath(java.lang.String jsonPath)
Sets the value of
CfnInput.AttributeProperty.getJsonPath() |
public CfnInput.AttributeProperty.Builder jsonPath(java.lang.String jsonPath)
CfnInput.AttributeProperty.getJsonPath()
jsonPath
- 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.
Syntax: <field-name>.<field-name>...
this
public CfnInput.AttributeProperty build()
CfnInput.AttributeProperty
java.lang.NullPointerException
- if any required attribute was not provided