public Schema withAttributes(java.util.Collection<SchemaAttribute> attributes) {
        setAttributes(attributes);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/Schema.java