@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MessageSignal extends Object implements Serializable, Cloneable, StructuredPojo
The decoding information for a specific message which support higher order data types.
| Constructor and Description |
|---|
MessageSignal() |
| Modifier and Type | Method and Description |
|---|---|
MessageSignal |
clone() |
boolean |
equals(Object obj) |
StructuredMessage |
getStructuredMessage()
The structured message for the message signal.
|
String |
getTopicName()
The topic name for the message signal.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStructuredMessage(StructuredMessage structuredMessage)
The structured message for the message signal.
|
void |
setTopicName(String topicName)
The topic name for the message signal.
|
String |
toString()
Returns a string representation of this object.
|
MessageSignal |
withStructuredMessage(StructuredMessage structuredMessage)
The structured message for the message signal.
|
MessageSignal |
withTopicName(String topicName)
The topic name for the message signal.
|
public void setTopicName(String topicName)
The topic name for the message signal. It corresponds to topics in ROS 2.
topicName - The topic name for the message signal. It corresponds to topics in ROS 2.public String getTopicName()
The topic name for the message signal. It corresponds to topics in ROS 2.
public MessageSignal withTopicName(String topicName)
The topic name for the message signal. It corresponds to topics in ROS 2.
topicName - The topic name for the message signal. It corresponds to topics in ROS 2.public void setStructuredMessage(StructuredMessage structuredMessage)
The structured message for the message signal. It can be defined with either a
primitiveMessageDefinition, structuredMessageListDefinition, or
structuredMessageDefinition recursively.
structuredMessage - The structured message for the message signal. It can be defined with either a
primitiveMessageDefinition, structuredMessageListDefinition, or
structuredMessageDefinition recursively.public StructuredMessage getStructuredMessage()
The structured message for the message signal. It can be defined with either a
primitiveMessageDefinition, structuredMessageListDefinition, or
structuredMessageDefinition recursively.
primitiveMessageDefinition, structuredMessageListDefinition, or
structuredMessageDefinition recursively.public MessageSignal withStructuredMessage(StructuredMessage structuredMessage)
The structured message for the message signal. It can be defined with either a
primitiveMessageDefinition, structuredMessageListDefinition, or
structuredMessageDefinition recursively.
structuredMessage - The structured message for the message signal. It can be defined with either a
primitiveMessageDefinition, structuredMessageListDefinition, or
structuredMessageDefinition recursively.public String toString()
toString in class ObjectObject.toString()public MessageSignal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.