public ValidationWarning withErrors(java.util.Collection<ValidationError> errors) {
        setErrors(errors);
        return this;
    }
<p>
The error codes and error messages.
</p>

@param errors
       The error codes and error messages.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ValidationWarning.java