Interface RepublishAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RepublishAction.Builder,RepublishAction>, SdkBuilder<RepublishAction.Builder,RepublishAction>, SdkPojo
Enclosing class:
RepublishAction

public static interface RepublishAction.Builder extends SdkPojo, CopyableBuilder<RepublishAction.Builder,RepublishAction>
  • Method Details

    • 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

      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

      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

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

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

      This is a convenience method that creates an instance of the MqttHeaders.Builder avoiding the need to create one manually via MqttHeaders.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to headers(MqttHeaders).

      Parameters:
      headers - a consumer that will call methods on MqttHeaders.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: