Class PipelineActivity

    • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)