Class CfnInputPropsMixin.InputDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnInputPropsMixin.InputDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputPropsMixin.InputDefinitionProperty>
- Enclosing interface:
CfnInputPropsMixin.InputDefinitionProperty
@Stability(Stable)
public static final class CfnInputPropsMixin.InputDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputPropsMixin.InputDefinitionProperty>
A builder for
CfnInputPropsMixin.InputDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(List<? extends Object> attributes) Sets the value ofCfnInputPropsMixin.InputDefinitionProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnInputPropsMixin.InputDefinitionProperty.getAttributes()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributes
@Stability(Stable) public CfnInputPropsMixin.InputDefinitionProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnInputPropsMixin.InputDefinitionProperty.getAttributes()- 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:
this
-
attributes
@Stability(Stable) public CfnInputPropsMixin.InputDefinitionProperty.Builder attributes(List<? extends Object> attributes) Sets the value ofCfnInputPropsMixin.InputDefinitionProperty.getAttributes()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInputPropsMixin.InputDefinitionProperty>- Returns:
- a new instance of
CfnInputPropsMixin.InputDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-