Class SubscribeToTopicRequest
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.SubscribeToTopicRequest
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.(Optional) The behavior that specifies whether the component receives messages from itself.getTopic()The topic to subscribe to.inthashCode()voidsetReceiveMode(String receiveMode) (Optional) The behavior that specifies whether the component receives messages from itself.voidsetReceiveMode(ReceiveMode receiveMode) (Optional) The behavior that specifies whether the component receives messages from itself.voidThe topic to subscribe to.withReceiveMode(String receiveMode) (Optional) The behavior that specifies whether the component receives messages from itself.withReceiveMode(ReceiveMode receiveMode) (Optional) The behavior that specifies whether the component receives messages from itself.The topic to subscribe to.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
Field Details
-
APPLICATION_MODEL_TYPE
- See Also:
-
VOID
-
-
Constructor Details
-
SubscribeToTopicRequest
public SubscribeToTopicRequest()
-
-
Method Details
-
getTopic
The topic to subscribe to. Supports MQTT-style wildcards. -
setTopic
The topic to subscribe to. Supports MQTT-style wildcards. -
withTopic
The topic to subscribe to. Supports MQTT-style wildcards. -
getReceiveMode
-
getReceiveModeAsString
(Optional) The behavior that specifies whether the component receives messages from itself. -
setReceiveMode
(Optional) The behavior that specifies whether the component receives messages from itself. -
withReceiveMode
(Optional) The behavior that specifies whether the component receives messages from itself. -
setReceiveMode
(Optional) The behavior that specifies whether the component receives messages from itself. -
withReceiveMode
(Optional) The behavior that specifies whether the component receives messages from itself. -
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
-
equals
-
hashCode
public int hashCode()
-