public void setMessages(java.util.Collection<String> messages) {
        if (messages == null) {
            this.messages = null;
            return;
        }

        this.messages = new com.amazonaws.internal.SdkInternalList<String>(messages);
    }
<p>
If the <code>Success</code> element contains <code>false</code>, this value is an array of one or more error
messages that were generated during the test process.
</p>

@param messages
       If the <code>Success</code> element contains <code>false</code>, this value is an array of one or more
       error messages that were generated during the test process.
aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/TestRoleResult.java