public void setSchema(java.util.Collection<SchemaAttributeType> schema) {
        if (schema == null) {
            this.schema = null;
            return;
        }

        this.schema = new java.util.ArrayList<SchemaAttributeType>(schema);
    }
<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.
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/CreateUserPoolRequest.java