Class PipelineActivity
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PipelineActivity.Builder,
PipelineActivity>
An activity that performs a transformation on a message.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AddAttributesActivity
Adds other attributes based on existing attributes in the message.static PipelineActivity.Builder
builder()
final ChannelActivity
channel()
Determines the source of the messages to be processed.final DatastoreActivity
Specifies where to store the processed message data.Adds data from the IoT device registry to your message.Adds information from the IoT Device Shadow service to a message.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FilterActivity
filter()
Filters a message based on its attributes.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final LambdaActivity
lambda()
Runs a Lambda function to modify the message.final MathActivity
math()
Computes an arithmetic expression using the message's attributes and adds it to the message.final RemoveAttributesActivity
Removes attributes from a message.final SelectAttributesActivity
Used to create a new message using only the specified attributes from the original message.static Class
<? extends PipelineActivity.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
channel
Determines the source of the messages to be processed.
- Returns:
- Determines the source of the messages to be processed.
-
lambda
Runs a Lambda function to modify the message.
- Returns:
- Runs a Lambda function to modify the message.
-
datastore
Specifies where to store the processed message data.
- Returns:
- Specifies where to store the processed message data.
-
addAttributes
Adds other attributes based on existing attributes in the message.
- Returns:
- Adds other attributes based on existing attributes in the message.
-
removeAttributes
Removes attributes from a message.
- Returns:
- Removes attributes from a message.
-
selectAttributes
Used to create a new message using only the specified attributes from the original message.
- Returns:
- Used to create a new message using only the specified attributes from the original message.
-
filter
Filters a message based on its attributes.
- Returns:
- Filters a message based on its attributes.
-
math
Computes an arithmetic expression using the message's attributes and adds it to the message.
- Returns:
- Computes an arithmetic expression using the message's attributes and adds it to the message.
-
deviceRegistryEnrich
Adds data from the IoT device registry to your message.
- Returns:
- Adds data from the IoT device registry to your message.
-
deviceShadowEnrich
Adds information from the IoT Device Shadow service to a message.
- Returns:
- Adds information from the IoT Device Shadow service to a message.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<PipelineActivity.Builder,
PipelineActivity> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-