Class IotAnalyticsAction

    • Method Detail

      • channelArn

        public final String channelArn()

        (deprecated) The ARN of the IoT Analytics channel to which message data will be sent.

        Returns:
        (deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
      • channelName

        public final String channelName()

        The name of the IoT Analytics channel to which message data will be sent.

        Returns:
        The name of the IoT Analytics channel to which message data will be sent.
      • batchMode

        public final Boolean batchMode()

        Whether to process the action as a batch. The default value is false.

        When batchMode is true and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage to the IoT Analytics channel. The resulting array can't have more than 100 messages.

        Returns:
        Whether to process the action as a batch. The default value is false.

        When batchMode is true and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by BatchPutMessage to the IoT Analytics channel. The resulting array can't have more than 100 messages.

      • roleArn

        public final String roleArn()

        The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).

        Returns:
        The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
      • 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)