public class AWSIotMqttLastWillAndTestament
extends java.lang.Object
Constructor and Description |
---|
AWSIotMqttLastWillAndTestament(java.lang.String willTopic,
java.lang.String willMessage,
AWSIotMqttQos willQos)
Create a new LWT parameter object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Get the LWT message to be delivered.
|
AWSIotMqttQos |
getQos()
Get the Quality of Service for the LWT message.
|
java.lang.String |
getTopic()
Get the LWT topic.
|
public AWSIotMqttLastWillAndTestament(java.lang.String willTopic, java.lang.String willMessage, AWSIotMqttQos willQos)
willTopic
- the topic on which the will message will be delivered.willMessage
- payload of will message.willQos
- the quality of service requested for the will message.public java.lang.String getTopic()
public java.lang.String getMessage()
public AWSIotMqttQos getQos()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.