public void setAttributes(java.util.Collection<SchemaAttribute> attributes) {
        if (attributes == null) {
            this.attributes = null;
            return;
        }

        this.attributes = new java.util.ArrayList<SchemaAttribute>(attributes);
    }
<p>
An array of attributes specifying the name and type of each field in a dataset.
</p>

@param attributes
       An array of attributes specifying the name and type of each field in a dataset.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/Schema.java