public StreamingConfiguration withDataType(MessagingDataType dataType) {
        this.dataType = dataType.toString();
        return this;
    }
<p>
The data type of the configuration.
</p>

@param dataType
       The data type of the configuration.
@return Returns a reference to this object so that method calls can be chained together.
@see MessagingDataType
aws-java-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/StreamingConfiguration.java