| Package | Description |
|---|---|
| com.amazonaws.services.iot.model |
| Modifier and Type | Method and Description |
|---|---|
MqttHeaders |
MqttHeaders.clone() |
MqttHeaders |
RepublishAction.getHeaders()
MQTT Version 5.0 headers information.
|
MqttHeaders |
MqttHeaders.withContentType(String contentType)
A UTF-8 encoded string that describes the content of the publishing message.
|
MqttHeaders |
MqttHeaders.withCorrelationData(String correlationData)
The base64-encoded binary data used by the sender of the request message to identify which request the response
message is for when it's received.
|
MqttHeaders |
MqttHeaders.withMessageExpiry(String messageExpiry)
A user-defined integer value that will persist a message at the message broker for a specified amount of time to
ensure that the message will expire if it's no longer relevant to the subscriber.
|
MqttHeaders |
MqttHeaders.withPayloadFormatIndicator(String payloadFormatIndicator)
An
Enum string value that indicates whether the payload is formatted as UTF-8. |
MqttHeaders |
MqttHeaders.withResponseTopic(String responseTopic)
A UTF-8 encoded string that's used as the topic name for a response message.
|
MqttHeaders |
MqttHeaders.withUserProperties(Collection<UserProperty> userProperties)
An array of key-value pairs that you define in the MQTT5 header.
|
MqttHeaders |
MqttHeaders.withUserProperties(UserProperty... userProperties)
An array of key-value pairs that you define in the MQTT5 header.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepublishAction.setHeaders(MqttHeaders headers)
MQTT Version 5.0 headers information.
|
RepublishAction |
RepublishAction.withHeaders(MqttHeaders headers)
MQTT Version 5.0 headers information.
|
Copyright © 2023. All rights reserved.