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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionattributeJsonPaths
(List<String> attributeJsonPaths) Sets the value ofInputProps.getAttributeJsonPaths()
build()
Builds the configured instance.Sets the value ofInputProps.getInputName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeJsonPaths
@Stability(Experimental) public InputProps.Builder attributeJsonPaths(List<String> attributeJsonPaths) Sets the value ofInputProps.getAttributeJsonPaths()
- 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
Sets the value ofInputProps.getInputName()
- Parameters:
inputName
- The name of the input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<InputProps>
- Returns:
- a new instance of
InputProps
- Throws:
NullPointerException
- if any required attribute was not provided
-