public UpdateChannelMessageRequest withMetadata(String metadata) {
        setMetadata(metadata);
        return this;
    }
<p>
The metadata of the message being updated.
</p>

@param metadata
       The metadata of the message being updated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/UpdateChannelMessageRequest.java