public GetReadinessCheckStatusResult withMessages(Message... messages) {
        if (this.messages == null) {
            setMessages(new java.util.ArrayList<Message>(messages.length));
        }
        for (Message ele : messages) {
            this.messages.add(ele);
        }
        return this;
    }
<p>
Top level messages for readiness check status
</p>
<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
       Top level messages for readiness check status
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53recoveryreadiness/src/main/java/com/amazonaws/services/route53recoveryreadiness/model/GetReadinessCheckStatusResult.java