Interface RepublishAction.Builder

    • Method Detail

      • roleArn

        RepublishAction.Builder roleArn​(String roleArn)

        The ARN of the IAM role that grants access.

        Parameters:
        roleArn - The ARN of the IAM role that grants access.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topic

        RepublishAction.Builder topic​(String topic)

        The name of the MQTT topic.

        Parameters:
        topic - The name of the MQTT topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • qos

        RepublishAction.Builder qos​(Integer qos)

        The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

        Parameters:
        qos - The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headers

        RepublishAction.Builder headers​(MqttHeaders headers)

        MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.

        Parameters:
        headers - MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web Services IoT Core Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.