public CreateSchemaRequest withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of schema.
</p>

@param type
       The type of schema.
@return Returns a reference to this object so that method calls can be chained together.
@see Type
aws-java-sdk-schemas/src/main/java/com/amazonaws/services/schemas/model/CreateSchemaRequest.java