public CheckSchemaVersionValidityResult withError(String error) {
        setError(error);
        return this;
    }
<p>
A validation failure error message.
</p>

@param error
       A validation failure error message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CheckSchemaVersionValidityResult.java