public static interface RepublishAction.Builder extends SdkPojo, CopyableBuilder<RepublishAction.Builder,RepublishAction>
| Modifier and Type | Method and Description |
|---|---|
default RepublishAction.Builder |
headers(Consumer<MqttHeaders.Builder> headers)
MQTT Version 5.0 headers information.
|
RepublishAction.Builder |
headers(MqttHeaders headers)
MQTT Version 5.0 headers information.
|
RepublishAction.Builder |
qos(Integer qos)
The Quality of Service (QoS) level to use when republishing messages.
|
RepublishAction.Builder |
roleArn(String roleArn)
The ARN of the IAM role that grants access.
|
RepublishAction.Builder |
topic(String topic)
The name of the MQTT topic.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRepublishAction.Builder roleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn - The ARN of the IAM role that grants access.RepublishAction.Builder topic(String topic)
The name of the MQTT topic.
topic - The name of the MQTT topic.RepublishAction.Builder qos(Integer qos)
The Quality of Service (QoS) level to use when republishing messages. The default value is 0.
qos - The Quality of Service (QoS) level to use when republishing messages. The default value is 0.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.
headers - MQTT Version 5.0 headers information. For more information, see MQTT from the Amazon Web
Services IoT Core Developer Guide.default RepublishAction.Builder headers(Consumer<MqttHeaders.Builder> 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 theMqttHeaders.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).
headers - a consumer that will call methods on MqttHeaders.Builderheaders(MqttHeaders)Copyright © 2022. All rights reserved.