public StructuredMessageListDefinition withListType(String listType) {
        setListType(listType);
        return this;
    }
<p>
The type of list of the structured message list definition.
</p>

@param listType
       The type of list of the structured message list definition.
@return Returns a reference to this object so that method calls can be chained together.
@see StructuredMessageListType
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/StructuredMessageListDefinition.java