Uses of Class
software.amazon.awssdk.crt.mqtt5.packets.PublishPacket.PublishPacketBuilder
Packages that use PublishPacket.PublishPacketBuilder
-
Uses of PublishPacket.PublishPacketBuilder in software.amazon.awssdk.crt.mqtt5.packets
Methods in software.amazon.awssdk.crt.mqtt5.packets that return PublishPacket.PublishPacketBuilderModifier and TypeMethodDescriptionPublishPacket.PublishPacketBuilder.withContentType(String contentType) Sets the property specifying the content type of the payload.PublishPacket.PublishPacketBuilder.withCorrelationData(byte[] correlationData) Sets the opaque binary data used to correlate between publish messages, as a potential method for request-response implementation.PublishPacket.PublishPacketBuilder.withMessageExpiryIntervalSeconds(Long messageExpiryIntervalSeconds) Sets the maximum amount of time allowed to elapse for message delivery before the server should instead delete the message (relative to a recipient).PublishPacket.PublishPacketBuilder.withPayload(byte[] payload) Sets the payload for the publish message.PublishPacket.PublishPacketBuilder.withPayloadFormat(PublishPacket.PayloadFormatIndicator payloadFormat) Sets the property specifying the format of the payload data.Sets the MQTT quality of service level the message should be delivered with.PublishPacket.PublishPacketBuilder.withResponseTopic(String responseTopic) Sets the opaque topic string intended to assist with request/response implementations.PublishPacket.PublishPacketBuilder.withRetain(Boolean retain) Sets if this should be a retained message.Sets the topic this message should be published to.PublishPacket.PublishPacketBuilder.withTopicAlias(long topicAlias) Sets the topic alias to use when sending this publish.PublishPacket.PublishPacketBuilder.withUserProperties(List<UserProperty> userProperties) Sets the list of MQTT5 user properties included with the packet.