public CreateModelResult withSchema(String schema) {
        setSchema(schema);
        return this;
    }
<p>
The schema for the model. For <code>application/json</code> models, this should be JSON schema draft 4 model. Do
not include "\*&#47;" characters in the description of any properties because such "\*&#47;" characters may be
interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the
installation of your API's SDK generated by API Gateway to fail.
</p>

@param schema
       The schema for the model. For <code>application/json</code> models, this should be JSON schema draft 4
       model. Do not include "\*&#47;" characters in the description of any properties because such "\*&#47;"
       characters may be interpreted as the closing marker for comments in some languages, such as Java or
       JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/CreateModelResult.java