Class PipelineActivity
- java.lang.Object
-
- software.amazon.awssdk.services.iotanalytics.model.PipelineActivity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PipelineActivity.Builder,PipelineActivity>
@Generated("software.amazon.awssdk:codegen") public final class PipelineActivity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipelineActivity.Builder,PipelineActivity>
An activity that performs a transformation on a message.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipelineActivity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AddAttributesActivityaddAttributes()Adds other attributes based on existing attributes in the message.static PipelineActivity.Builderbuilder()ChannelActivitychannel()Determines the source of the messages to be processed.DatastoreActivitydatastore()Specifies where to store the processed message data.DeviceRegistryEnrichActivitydeviceRegistryEnrich()Adds data from the IoT device registry to your message.DeviceShadowEnrichActivitydeviceShadowEnrich()Adds information from the IoT Device Shadow service to a message.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FilterActivityfilter()Filters a message based on its attributes.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LambdaActivitylambda()Runs a Lambda function to modify the message.MathActivitymath()Computes an arithmetic expression using the message's attributes and adds it to the message.RemoveAttributesActivityremoveAttributes()Removes attributes from a message.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()SelectAttributesActivityselectAttributes()Used to create a new message using only the specified attributes from the original message.static Class<? extends PipelineActivity.Builder>serializableBuilderClass()PipelineActivity.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
channel
public final ChannelActivity channel()
Determines the source of the messages to be processed.
- Returns:
- Determines the source of the messages to be processed.
-
lambda
public final LambdaActivity lambda()
Runs a Lambda function to modify the message.
- Returns:
- Runs a Lambda function to modify the message.
-
datastore
public final DatastoreActivity datastore()
Specifies where to store the processed message data.
- Returns:
- Specifies where to store the processed message data.
-
addAttributes
public final AddAttributesActivity addAttributes()
Adds other attributes based on existing attributes in the message.
- Returns:
- Adds other attributes based on existing attributes in the message.
-
removeAttributes
public final RemoveAttributesActivity removeAttributes()
Removes attributes from a message.
- Returns:
- Removes attributes from a message.
-
selectAttributes
public final SelectAttributesActivity 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
public final FilterActivity filter()
Filters a message based on its attributes.
- Returns:
- Filters a message based on its attributes.
-
math
public final MathActivity 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
public final DeviceRegistryEnrichActivity deviceRegistryEnrich()
Adds data from the IoT device registry to your message.
- Returns:
- Adds data from the IoT device registry to your message.
-
deviceShadowEnrich
public final DeviceShadowEnrichActivity 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
public PipelineActivity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PipelineActivity.Builder,PipelineActivity>
-
builder
public static PipelineActivity.Builder builder()
-
serializableBuilderClass
public static Class<? extends PipelineActivity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-