public static final class PubSubMqttJsonConnectionSendMessageCommand.Builder extends Object implements PubSubConnectionCommand.Builder<PubSubMqttJsonConnectionSendMessageCommand.Builder>
PubSubMqttJsonConnectionSendMessageCommand.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
clearMessage |
protected String |
connectionName |
protected PubSubMqttMessageType |
messageType |
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PubSubMqttJsonConnectionSendMessageCommand |
build()
Returns an instance of
PubSubMqttJsonConnectionSendMessageCommand with the values given to this builder. |
String |
getConnectionName() |
PubSubMqttMessageType |
getMessageType() |
boolean |
isClearMessage() |
PubSubMqttJsonConnectionSendMessageCommand.Builder |
setClearMessage(boolean clearMessage)
Set the value for
PubSubMqttJsonConnectionSendMessageCommand.isClearMessage(). |
PubSubMqttJsonConnectionSendMessageCommand.Builder |
setConnectionName(String connectionName)
Set the value for
PubSubMqttJsonConnectionSendMessageCommand.getConnectionName(). |
PubSubMqttJsonConnectionSendMessageCommand.Builder |
setMessageType(PubSubMqttMessageType messageType)
Set the value for
PubSubMqttJsonConnectionSendMessageCommand.getMessageType(). |
protected String connectionName
protected PubSubMqttMessageType messageType
protected boolean clearMessage
public String getConnectionName()
public PubSubMqttMessageType getMessageType()
public boolean isClearMessage()
public PubSubMqttJsonConnectionSendMessageCommand.Builder setConnectionName(String connectionName)
PubSubMqttJsonConnectionSendMessageCommand.getConnectionName(). Returns itself for method chaining.public PubSubMqttJsonConnectionSendMessageCommand.Builder setMessageType(PubSubMqttMessageType messageType)
PubSubMqttJsonConnectionSendMessageCommand.getMessageType(). Returns itself for method chaining.public PubSubMqttJsonConnectionSendMessageCommand.Builder setClearMessage(boolean clearMessage)
PubSubMqttJsonConnectionSendMessageCommand.isClearMessage(). Returns itself for method chaining.public PubSubMqttJsonConnectionSendMessageCommand build()
PubSubMqttJsonConnectionSendMessageCommand with the values given to this builder.Copyright © 2026. All rights reserved.