Class CfnInput.AttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnInput.AttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput.AttributeProperty>
- Enclosing interface:
CfnInput.AttributeProperty
@Stability(Stable)
public static final class CfnInput.AttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInput.AttributeProperty>
A builder for
CfnInput.AttributeProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnInput.AttributeProperty.getJsonPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jsonPath
Sets the value ofCfnInput.AttributeProperty.getJsonPath()
- Parameters:
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 thecondition
expressions used by detectors.Syntax:
<field-name>.<field-name>...
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInput.AttributeProperty>
- Returns:
- a new instance of
CfnInput.AttributeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-