Class CfnPipelinePropsMixin.ActivityProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnPipelinePropsMixin.ActivityProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.ActivityProperty>
- Enclosing interface:
CfnPipelinePropsMixin.ActivityProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.ActivityProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.ActivityProperty>
A builder for
CfnPipelinePropsMixin.ActivityProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributes(CfnPipelinePropsMixin.AddAttributesProperty addAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getAddAttributes()addAttributes(IResolvable addAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getAddAttributes()build()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getChannel()channel(IResolvable channel) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getChannel()datastore(CfnPipelinePropsMixin.DatastoreProperty datastore) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDatastore()datastore(IResolvable datastore) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDatastore()deviceRegistryEnrich(CfnPipelinePropsMixin.DeviceRegistryEnrichProperty deviceRegistryEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceRegistryEnrich()deviceRegistryEnrich(IResolvable deviceRegistryEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceRegistryEnrich()deviceShadowEnrich(CfnPipelinePropsMixin.DeviceShadowEnrichProperty deviceShadowEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceShadowEnrich()deviceShadowEnrich(IResolvable deviceShadowEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceShadowEnrich()Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getFilter()filter(IResolvable filter) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getFilter()Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getLambda()lambda(IResolvable lambda) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getLambda()Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getMath()math(IResolvable math) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getMath()removeAttributes(CfnPipelinePropsMixin.RemoveAttributesProperty removeAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getRemoveAttributes()removeAttributes(IResolvable removeAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getRemoveAttributes()selectAttributes(CfnPipelinePropsMixin.SelectAttributesProperty selectAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getSelectAttributes()selectAttributes(IResolvable selectAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getSelectAttributes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addAttributes
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder addAttributes(IResolvable addAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getAddAttributes()- Parameters:
addAttributes- Adds other attributes based on existing attributes in the message.- Returns:
this
-
addAttributes
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder addAttributes(CfnPipelinePropsMixin.AddAttributesProperty addAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getAddAttributes()- Parameters:
addAttributes- Adds other attributes based on existing attributes in the message.- Returns:
this
-
channel
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder channel(IResolvable channel) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getChannel()- Parameters:
channel- Determines the source of the messages to be processed.- Returns:
this
-
channel
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder channel(CfnPipelinePropsMixin.ChannelProperty channel) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getChannel()- Parameters:
channel- Determines the source of the messages to be processed.- Returns:
this
-
datastore
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder datastore(IResolvable datastore) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDatastore()- Parameters:
datastore- Specifies where to store the processed message data.- Returns:
this
-
datastore
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder datastore(CfnPipelinePropsMixin.DatastoreProperty datastore) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDatastore()- Parameters:
datastore- Specifies where to store the processed message data.- Returns:
this
-
deviceRegistryEnrich
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder deviceRegistryEnrich(IResolvable deviceRegistryEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceRegistryEnrich()- Parameters:
deviceRegistryEnrich- Adds data from the AWS IoT device registry to your message.- Returns:
this
-
deviceRegistryEnrich
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder deviceRegistryEnrich(CfnPipelinePropsMixin.DeviceRegistryEnrichProperty deviceRegistryEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceRegistryEnrich()- Parameters:
deviceRegistryEnrich- Adds data from the AWS IoT device registry to your message.- Returns:
this
-
deviceShadowEnrich
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder deviceShadowEnrich(IResolvable deviceShadowEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceShadowEnrich()- Parameters:
deviceShadowEnrich- Adds information from the AWS IoT Device Shadows service to a message.- Returns:
this
-
deviceShadowEnrich
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder deviceShadowEnrich(CfnPipelinePropsMixin.DeviceShadowEnrichProperty deviceShadowEnrich) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getDeviceShadowEnrich()- Parameters:
deviceShadowEnrich- Adds information from the AWS IoT Device Shadows service to a message.- Returns:
this
-
filter
Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getFilter()- Parameters:
filter- Filters a message based on its attributes.- Returns:
this
-
filter
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder filter(CfnPipelinePropsMixin.FilterProperty filter) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getFilter()- Parameters:
filter- Filters a message based on its attributes.- Returns:
this
-
lambda
Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getLambda()- Parameters:
lambda- Runs a Lambda function to modify the message.- Returns:
this
-
lambda
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder lambda(CfnPipelinePropsMixin.LambdaProperty lambda) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getLambda()- Parameters:
lambda- Runs a Lambda function to modify the message.- Returns:
this
-
math
Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getMath()- Parameters:
math- Computes an arithmetic expression using the message's attributes and adds it to the message.- Returns:
this
-
math
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder math(CfnPipelinePropsMixin.MathProperty math) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getMath()- Parameters:
math- Computes an arithmetic expression using the message's attributes and adds it to the message.- Returns:
this
-
removeAttributes
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder removeAttributes(IResolvable removeAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getRemoveAttributes()- Parameters:
removeAttributes- Removes attributes from a message.- Returns:
this
-
removeAttributes
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder removeAttributes(CfnPipelinePropsMixin.RemoveAttributesProperty removeAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getRemoveAttributes()- Parameters:
removeAttributes- Removes attributes from a message.- Returns:
this
-
selectAttributes
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder selectAttributes(IResolvable selectAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getSelectAttributes()- Parameters:
selectAttributes- Creates a new message using only the specified attributes from the original message.- Returns:
this
-
selectAttributes
@Stability(Stable) public CfnPipelinePropsMixin.ActivityProperty.Builder selectAttributes(CfnPipelinePropsMixin.SelectAttributesProperty selectAttributes) Sets the value ofCfnPipelinePropsMixin.ActivityProperty.getSelectAttributes()- Parameters:
selectAttributes- Creates a new message using only the specified attributes from the original message.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.ActivityProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.ActivityProperty - Throws:
NullPointerException- if any required attribute was not provided
-