public java.util.List<ValidationError> getErrors() {
        if (errors == null) {
            errors = new com.amazonaws.internal.SdkInternalList<ValidationError>();
        }
        return errors;
    }
<p>
The error codes and error messages.
</p>

@return The error codes and error messages.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ValidationWarning.java