public GetSchemaAsJsonResult withDocument(String document) {
        setDocument(document);
        return this;
    }
<p>
The JSON representation of the schema document.
</p>

@param document
       The JSON representation of the schema document.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/GetSchemaAsJsonResult.java