public MessageSignal withTopicName(String topicName) {
        setTopicName(topicName);
        return this;
    }
<p>
The topic name for the message signal. It corresponds to topics in ROS 2.
</p>

@param topicName
       The topic name for the message signal. It corresponds to topics in ROS 2.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/MessageSignal.java