Interface InputDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InputDefinition.Builder,
,InputDefinition> SdkBuilder<InputDefinition.Builder,
,InputDefinition> SdkPojo
- Enclosing class:
InputDefinition
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<Attribute> attributes) The attributes from the JSON payload that are made available by the input.attributes
(Consumer<Attribute.Builder>... attributes) The attributes from the JSON payload that are made available by the input.attributes
(Attribute... attributes) The attributes from the JSON payload that are made available by the input.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 thecondition
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 usingBatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
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 thecondition
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 usingBatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
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
This is a convenience method that creates an instance of theBatchPutMessage
. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in thecondition
expressions used by detectors that monitor this input.Attribute.Builder
avoiding the need to create one manually viaAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<Attribute>)
.- Parameters:
attributes
- a consumer that will call methods onAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-