public SendChannelMessageRequest withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of message, <code>STANDARD</code> or <code>CONTROL</code>.
</p>

@param type
       The type of message, <code>STANDARD</code> or <code>CONTROL</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see ChannelMessageType
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/SendChannelMessageRequest.java