public static interface PipelineActivity.Builder extends SdkPojo, CopyableBuilder<PipelineActivity.Builder,PipelineActivity>
Modifier and Type | Method and Description |
---|---|
PipelineActivity.Builder |
addAttributes(AddAttributesActivity addAttributes)
Adds other attributes based on existing attributes in the message.
|
default PipelineActivity.Builder |
addAttributes(Consumer<AddAttributesActivity.Builder> addAttributes)
Adds other attributes based on existing attributes in the message.
|
PipelineActivity.Builder |
channel(ChannelActivity channel)
Determines the source of the messages to be processed.
|
default PipelineActivity.Builder |
channel(Consumer<ChannelActivity.Builder> channel)
Determines the source of the messages to be processed.
|
default PipelineActivity.Builder |
datastore(Consumer<DatastoreActivity.Builder> datastore)
Specifies where to store the processed message data.
|
PipelineActivity.Builder |
datastore(DatastoreActivity datastore)
Specifies where to store the processed message data.
|
default PipelineActivity.Builder |
deviceRegistryEnrich(Consumer<DeviceRegistryEnrichActivity.Builder> deviceRegistryEnrich)
Adds data from the AWS IoT device registry to your message.
|
PipelineActivity.Builder |
deviceRegistryEnrich(DeviceRegistryEnrichActivity deviceRegistryEnrich)
Adds data from the AWS IoT device registry to your message.
|
default PipelineActivity.Builder |
deviceShadowEnrich(Consumer<DeviceShadowEnrichActivity.Builder> deviceShadowEnrich)
Adds information from the AWS IoT Device Shadows service to a message.
|
PipelineActivity.Builder |
deviceShadowEnrich(DeviceShadowEnrichActivity deviceShadowEnrich)
Adds information from the AWS IoT Device Shadows service to a message.
|
default PipelineActivity.Builder |
filter(Consumer<FilterActivity.Builder> filter)
Filters a message based on its attributes.
|
PipelineActivity.Builder |
filter(FilterActivity filter)
Filters a message based on its attributes.
|
default PipelineActivity.Builder |
lambda(Consumer<LambdaActivity.Builder> lambda)
Runs a Lambda function to modify the message.
|
PipelineActivity.Builder |
lambda(LambdaActivity lambda)
Runs a Lambda function to modify the message.
|
default PipelineActivity.Builder |
math(Consumer<MathActivity.Builder> math)
Computes an arithmetic expression using the message's attributes and adds it to the message.
|
PipelineActivity.Builder |
math(MathActivity math)
Computes an arithmetic expression using the message's attributes and adds it to the message.
|
default PipelineActivity.Builder |
removeAttributes(Consumer<RemoveAttributesActivity.Builder> removeAttributes)
Removes attributes from a message.
|
PipelineActivity.Builder |
removeAttributes(RemoveAttributesActivity removeAttributes)
Removes attributes from a message.
|
default PipelineActivity.Builder |
selectAttributes(Consumer<SelectAttributesActivity.Builder> selectAttributes)
Creates a new message using only the specified attributes from the original message.
|
PipelineActivity.Builder |
selectAttributes(SelectAttributesActivity selectAttributes)
Creates a new message using only the specified attributes from the original message.
|
copy
applyMutation, build
PipelineActivity.Builder channel(ChannelActivity channel)
Determines the source of the messages to be processed.
channel
- Determines the source of the messages to be processed.default PipelineActivity.Builder channel(Consumer<ChannelActivity.Builder> channel)
Determines the source of the messages to be processed.
This is a convenience that creates an instance of theChannelActivity.Builder
avoiding the need to
create one manually via ChannelActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to channel(ChannelActivity)
.channel
- a consumer that will call methods on ChannelActivity.Builder
channel(ChannelActivity)
PipelineActivity.Builder lambda(LambdaActivity lambda)
Runs a Lambda function to modify the message.
lambda
- Runs a Lambda function to modify the message.default PipelineActivity.Builder lambda(Consumer<LambdaActivity.Builder> lambda)
Runs a Lambda function to modify the message.
This is a convenience that creates an instance of theLambdaActivity.Builder
avoiding the need to
create one manually via LambdaActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to lambda(LambdaActivity)
.lambda
- a consumer that will call methods on LambdaActivity.Builder
lambda(LambdaActivity)
PipelineActivity.Builder datastore(DatastoreActivity datastore)
Specifies where to store the processed message data.
datastore
- Specifies where to store the processed message data.default PipelineActivity.Builder datastore(Consumer<DatastoreActivity.Builder> datastore)
Specifies where to store the processed message data.
This is a convenience that creates an instance of theDatastoreActivity.Builder
avoiding the need to
create one manually via DatastoreActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to datastore(DatastoreActivity)
.datastore
- a consumer that will call methods on DatastoreActivity.Builder
datastore(DatastoreActivity)
PipelineActivity.Builder addAttributes(AddAttributesActivity addAttributes)
Adds other attributes based on existing attributes in the message.
addAttributes
- Adds other attributes based on existing attributes in the message.default PipelineActivity.Builder addAttributes(Consumer<AddAttributesActivity.Builder> addAttributes)
Adds other attributes based on existing attributes in the message.
This is a convenience that creates an instance of theAddAttributesActivity.Builder
avoiding the need
to create one manually via AddAttributesActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to addAttributes(AddAttributesActivity)
.addAttributes
- a consumer that will call methods on AddAttributesActivity.Builder
addAttributes(AddAttributesActivity)
PipelineActivity.Builder removeAttributes(RemoveAttributesActivity removeAttributes)
Removes attributes from a message.
removeAttributes
- Removes attributes from a message.default PipelineActivity.Builder removeAttributes(Consumer<RemoveAttributesActivity.Builder> removeAttributes)
Removes attributes from a message.
This is a convenience that creates an instance of theRemoveAttributesActivity.Builder
avoiding the
need to create one manually via RemoveAttributesActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to removeAttributes(RemoveAttributesActivity)
.removeAttributes
- a consumer that will call methods on RemoveAttributesActivity.Builder
removeAttributes(RemoveAttributesActivity)
PipelineActivity.Builder selectAttributes(SelectAttributesActivity selectAttributes)
Creates a new message using only the specified attributes from the original message.
selectAttributes
- Creates a new message using only the specified attributes from the original message.default PipelineActivity.Builder selectAttributes(Consumer<SelectAttributesActivity.Builder> selectAttributes)
Creates a new message using only the specified attributes from the original message.
This is a convenience that creates an instance of theSelectAttributesActivity.Builder
avoiding the
need to create one manually via SelectAttributesActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to selectAttributes(SelectAttributesActivity)
.selectAttributes
- a consumer that will call methods on SelectAttributesActivity.Builder
selectAttributes(SelectAttributesActivity)
PipelineActivity.Builder filter(FilterActivity filter)
Filters a message based on its attributes.
filter
- Filters a message based on its attributes.default PipelineActivity.Builder filter(Consumer<FilterActivity.Builder> filter)
Filters a message based on its attributes.
This is a convenience that creates an instance of theFilterActivity.Builder
avoiding the need to
create one manually via FilterActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to filter(FilterActivity)
.filter
- a consumer that will call methods on FilterActivity.Builder
filter(FilterActivity)
PipelineActivity.Builder math(MathActivity math)
Computes an arithmetic expression using the message's attributes and adds it to the message.
math
- Computes an arithmetic expression using the message's attributes and adds it to the message.default PipelineActivity.Builder math(Consumer<MathActivity.Builder> math)
Computes an arithmetic expression using the message's attributes and adds it to the message.
This is a convenience that creates an instance of theMathActivity.Builder
avoiding the need to
create one manually via MathActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to math(MathActivity)
.math
- a consumer that will call methods on MathActivity.Builder
math(MathActivity)
PipelineActivity.Builder deviceRegistryEnrich(DeviceRegistryEnrichActivity deviceRegistryEnrich)
Adds data from the AWS IoT device registry to your message.
deviceRegistryEnrich
- Adds data from the AWS IoT device registry to your message.default PipelineActivity.Builder deviceRegistryEnrich(Consumer<DeviceRegistryEnrichActivity.Builder> deviceRegistryEnrich)
Adds data from the AWS IoT device registry to your message.
This is a convenience that creates an instance of theDeviceRegistryEnrichActivity.Builder
avoiding
the need to create one manually via DeviceRegistryEnrichActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to deviceRegistryEnrich(DeviceRegistryEnrichActivity)
.deviceRegistryEnrich
- a consumer that will call methods on DeviceRegistryEnrichActivity.Builder
deviceRegistryEnrich(DeviceRegistryEnrichActivity)
PipelineActivity.Builder deviceShadowEnrich(DeviceShadowEnrichActivity deviceShadowEnrich)
Adds information from the AWS IoT Device Shadows service to a message.
deviceShadowEnrich
- Adds information from the AWS IoT Device Shadows service to a message.default PipelineActivity.Builder deviceShadowEnrich(Consumer<DeviceShadowEnrichActivity.Builder> deviceShadowEnrich)
Adds information from the AWS IoT Device Shadows service to a message.
This is a convenience that creates an instance of theDeviceShadowEnrichActivity.Builder
avoiding the
need to create one manually via DeviceShadowEnrichActivity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to deviceShadowEnrich(DeviceShadowEnrichActivity)
.deviceShadowEnrich
- a consumer that will call methods on DeviceShadowEnrichActivity.Builder
deviceShadowEnrich(DeviceShadowEnrichActivity)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.