Interface InputDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InputDefinition.Builder,InputDefinition>,SdkBuilder<InputDefinition.Builder,InputDefinition>,SdkPojo
- Enclosing class:
- InputDefinition
public static interface InputDefinition.Builder extends SdkPojo, CopyableBuilder<InputDefinition.Builder,InputDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputDefinition.Builderattributes(Collection<Attribute> attributes)The attributes from the JSON payload that are made available by the input.InputDefinition.Builderattributes(Consumer<Attribute.Builder>... attributes)The attributes from the JSON payload that are made available by the input.InputDefinition.Builderattributes(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 Detail
-
attributes
InputDefinition.Builder attributes(Collection<Attribute> 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 theconditionexpressions 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 theconditionexpressions used by detectors that monitor this input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
InputDefinition.Builder attributes(Attribute... 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 theconditionexpressions 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 theconditionexpressions used by detectors that monitor this input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
InputDefinition.Builder attributes(Consumer<Attribute.Builder>... 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 theconditionexpressions used by detectors that monitor this input.Attribute.Builderavoiding the need to create one manually viaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-