public CreateSchemaResult withCompatibility(String compatibility) {
        setCompatibility(compatibility);
        return this;
    }
<p>
The schema compatibility mode.
</p>

@param compatibility
       The schema compatibility mode.
@return Returns a reference to this object so that method calls can be chained together.
@see Compatibility
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/CreateSchemaResult.java