Class SubscribeToIoTCoreRequest
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.SubscribeToIoTCoreRequest
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class SubscribeToIoTCoreRequest extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic SubscribeToIoTCoreRequestVOID
-
Constructor Summary
Constructors Constructor Description SubscribeToIoTCoreRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.QOSgetQos()StringgetQosAsString()The MQTT QoS to use.StringgetTopicName()The topic to which to subscribe.inthashCode()voidsetQos(String qos)The MQTT QoS to use.voidsetQos(QOS qos)The MQTT QoS to use.voidsetTopicName(String topicName)The topic to which to subscribe.SubscribeToIoTCoreRequestwithQos(String qos)The MQTT QoS to use.SubscribeToIoTCoreRequestwithQos(QOS qos)The MQTT QoS to use.SubscribeToIoTCoreRequestwithTopicName(String topicName)The topic to which to subscribe.-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final SubscribeToIoTCoreRequest VOID
-
-
Method Detail
-
getTopicName
public String getTopicName()
The topic to which to subscribe. Supports MQTT wildcards.
-
setTopicName
public void setTopicName(String topicName)
The topic to which to subscribe. Supports MQTT wildcards.
-
withTopicName
public SubscribeToIoTCoreRequest withTopicName(String topicName)
The topic to which to subscribe. Supports MQTT wildcards.
-
getQos
public QOS getQos()
-
getQosAsString
public String getQosAsString()
The MQTT QoS to use.
-
setQos
public void setQos(String qos)
The MQTT QoS to use.
-
withQos
public SubscribeToIoTCoreRequest withQos(String qos)
The MQTT QoS to use.
-
setQos
public void setQos(QOS qos)
The MQTT QoS to use.
-
withQos
public SubscribeToIoTCoreRequest withQos(QOS qos)
The MQTT QoS to use.
-
getApplicationModelType
public String getApplicationModelType()
Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
-