public CreateUserPoolRequest withSchema(java.util.Collection<SchemaAttributeType> schema) {
        setSchema(schema);
        return this;
    }
<p>
An array of schema attributes for the new user pool. These attributes can be standard or custom attributes.
</p>

@param schema
       An array of schema attributes for the new user pool. These attributes can be standard or custom
       attributes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/CreateUserPoolRequest.java