public DescribeFlowSourceMetadataResult withMessages(MessageDetail... messages) {
        if (this.messages == null) {
            setMessages(new java.util.ArrayList<MessageDetail>(messages.length));
        }
        for (MessageDetail ele : messages) {
            this.messages.add(ele);
        }
        return this;
    }
Provides a status code and message regarding issues found with the flow source metadata.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMessages(java.util.Collection)} or {@link #withMessages(java.util.Collection)} if you want to override
the existing values.
</p>

@param messages
       Provides a status code and message regarding issues found with the flow source metadata.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/DescribeFlowSourceMetadataResult.java