public RuleResult withMessages(java.util.Collection<Message> messages) {
        setMessages(messages);
        return this;
    }
<p>
Details about the resource's readiness.
</p>

@param messages
       Details about the resource's readiness.
@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/RuleResult.java