@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipelineActivity extends Object implements Serializable, Cloneable, StructuredPojo
An activity that performs a transformation on a message.
Constructor and Description |
---|
PipelineActivity() |
Modifier and Type | Method and Description |
---|---|
PipelineActivity |
clone() |
boolean |
equals(Object obj) |
AddAttributesActivity |
getAddAttributes()
Adds other attributes based on existing attributes in the message.
|
ChannelActivity |
getChannel()
Determines the source of the messages to be processed.
|
DatastoreActivity |
getDatastore()
Specifies where to store the processed message data.
|
DeviceRegistryEnrichActivity |
getDeviceRegistryEnrich()
Adds data from the AWS IoT device registry to your message.
|
DeviceShadowEnrichActivity |
getDeviceShadowEnrich()
Adds information from the AWS IoT Device Shadow service to a message.
|
FilterActivity |
getFilter()
Filters a message based on its attributes.
|
LambdaActivity |
getLambda()
Runs a Lambda function to modify the message.
|
MathActivity |
getMath()
Computes an arithmetic expression using the message's attributes and adds it to the message.
|
RemoveAttributesActivity |
getRemoveAttributes()
Removes attributes from a message.
|
SelectAttributesActivity |
getSelectAttributes()
Creates a new message using only the specified attributes from the original message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAddAttributes(AddAttributesActivity addAttributes)
Adds other attributes based on existing attributes in the message.
|
void |
setChannel(ChannelActivity channel)
Determines the source of the messages to be processed.
|
void |
setDatastore(DatastoreActivity datastore)
Specifies where to store the processed message data.
|
void |
setDeviceRegistryEnrich(DeviceRegistryEnrichActivity deviceRegistryEnrich)
Adds data from the AWS IoT device registry to your message.
|
void |
setDeviceShadowEnrich(DeviceShadowEnrichActivity deviceShadowEnrich)
Adds information from the AWS IoT Device Shadow service to a message.
|
void |
setFilter(FilterActivity filter)
Filters a message based on its attributes.
|
void |
setLambda(LambdaActivity lambda)
Runs a Lambda function to modify the message.
|
void |
setMath(MathActivity math)
Computes an arithmetic expression using the message's attributes and adds it to the message.
|
void |
setRemoveAttributes(RemoveAttributesActivity removeAttributes)
Removes attributes from a message.
|
void |
setSelectAttributes(SelectAttributesActivity selectAttributes)
Creates a new message using only the specified attributes from the original message.
|
String |
toString()
Returns a string representation of this object.
|
PipelineActivity |
withAddAttributes(AddAttributesActivity addAttributes)
Adds other attributes based on existing attributes in the message.
|
PipelineActivity |
withChannel(ChannelActivity channel)
Determines the source of the messages to be processed.
|
PipelineActivity |
withDatastore(DatastoreActivity datastore)
Specifies where to store the processed message data.
|
PipelineActivity |
withDeviceRegistryEnrich(DeviceRegistryEnrichActivity deviceRegistryEnrich)
Adds data from the AWS IoT device registry to your message.
|
PipelineActivity |
withDeviceShadowEnrich(DeviceShadowEnrichActivity deviceShadowEnrich)
Adds information from the AWS IoT Device Shadow service to a message.
|
PipelineActivity |
withFilter(FilterActivity filter)
Filters a message based on its attributes.
|
PipelineActivity |
withLambda(LambdaActivity lambda)
Runs a Lambda function to modify the message.
|
PipelineActivity |
withMath(MathActivity math)
Computes an arithmetic expression using the message's attributes and adds it to the message.
|
PipelineActivity |
withRemoveAttributes(RemoveAttributesActivity removeAttributes)
Removes attributes from a message.
|
PipelineActivity |
withSelectAttributes(SelectAttributesActivity selectAttributes)
Creates a new message using only the specified attributes from the original message.
|
public void setChannel(ChannelActivity channel)
Determines the source of the messages to be processed.
channel
- Determines the source of the messages to be processed.public ChannelActivity getChannel()
Determines the source of the messages to be processed.
public PipelineActivity withChannel(ChannelActivity channel)
Determines the source of the messages to be processed.
channel
- Determines the source of the messages to be processed.public void setLambda(LambdaActivity lambda)
Runs a Lambda function to modify the message.
lambda
- Runs a Lambda function to modify the message.public LambdaActivity getLambda()
Runs a Lambda function to modify the message.
public PipelineActivity withLambda(LambdaActivity lambda)
Runs a Lambda function to modify the message.
lambda
- Runs a Lambda function to modify the message.public void setDatastore(DatastoreActivity datastore)
Specifies where to store the processed message data.
datastore
- Specifies where to store the processed message data.public DatastoreActivity getDatastore()
Specifies where to store the processed message data.
public PipelineActivity withDatastore(DatastoreActivity datastore)
Specifies where to store the processed message data.
datastore
- Specifies where to store the processed message data.public void setAddAttributes(AddAttributesActivity addAttributes)
Adds other attributes based on existing attributes in the message.
addAttributes
- Adds other attributes based on existing attributes in the message.public AddAttributesActivity getAddAttributes()
Adds other attributes based on existing attributes in the message.
public PipelineActivity withAddAttributes(AddAttributesActivity addAttributes)
Adds other attributes based on existing attributes in the message.
addAttributes
- Adds other attributes based on existing attributes in the message.public void setRemoveAttributes(RemoveAttributesActivity removeAttributes)
Removes attributes from a message.
removeAttributes
- Removes attributes from a message.public RemoveAttributesActivity getRemoveAttributes()
Removes attributes from a message.
public PipelineActivity withRemoveAttributes(RemoveAttributesActivity removeAttributes)
Removes attributes from a message.
removeAttributes
- Removes attributes from a message.public void setSelectAttributes(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.public SelectAttributesActivity getSelectAttributes()
Creates a new message using only the specified attributes from the original message.
public PipelineActivity withSelectAttributes(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.public void setFilter(FilterActivity filter)
Filters a message based on its attributes.
filter
- Filters a message based on its attributes.public FilterActivity getFilter()
Filters a message based on its attributes.
public PipelineActivity withFilter(FilterActivity filter)
Filters a message based on its attributes.
filter
- Filters a message based on its attributes.public void setMath(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.public MathActivity getMath()
Computes an arithmetic expression using the message's attributes and adds it to the message.
public PipelineActivity withMath(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.public void setDeviceRegistryEnrich(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.public DeviceRegistryEnrichActivity getDeviceRegistryEnrich()
Adds data from the AWS IoT device registry to your message.
public PipelineActivity withDeviceRegistryEnrich(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.public void setDeviceShadowEnrich(DeviceShadowEnrichActivity deviceShadowEnrich)
Adds information from the AWS IoT Device Shadow service to a message.
deviceShadowEnrich
- Adds information from the AWS IoT Device Shadow service to a message.public DeviceShadowEnrichActivity getDeviceShadowEnrich()
Adds information from the AWS IoT Device Shadow service to a message.
public PipelineActivity withDeviceShadowEnrich(DeviceShadowEnrichActivity deviceShadowEnrich)
Adds information from the AWS IoT Device Shadow service to a message.
deviceShadowEnrich
- Adds information from the AWS IoT Device Shadow service to a message.public String toString()
toString
in class Object
Object.toString()
public PipelineActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.