Interface IotAnalyticsAction.Builder

    • Method Detail

      • channelArn

        IotAnalyticsAction.Builder channelArn​(String channelArn)

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

        Parameters:
        channelArn - (deprecated) The ARN of the IoT Analytics channel to which message data will be sent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channelName

        IotAnalyticsAction.Builder channelName​(String channelName)

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

        Parameters:
        channelName - The name of the IoT Analytics channel to which message data will be sent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • batchMode

        IotAnalyticsAction.Builder batchMode​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        IotAnalyticsAction.Builder roleArn​(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).

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.