Class PublishToTopicRequest
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.PublishToTopicRequest
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.The message to publish.getTopic()The topic to publish the message.inthashCode()voidsetPublishMessage(PublishMessage publishMessage) The message to publish.voidThe topic to publish the message.withPublishMessage(PublishMessage publishMessage) The message to publish.The topic to publish the message.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
-
PublishToTopicRequest
public PublishToTopicRequest()
-
-
Method Details
-
getTopic
The topic to publish the message. -
setTopic
The topic to publish the message. -
withTopic
The topic to publish the message. -
getPublishMessage
The message to publish. -
setPublishMessage
The message to publish. -
withPublishMessage
The message to publish. -
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()
-