public DescribeDatasetResult withSchema(Schema schema) {
        setSchema(schema);
        return this;
    }
<p>
An array of <code>SchemaAttribute</code> objects that specify the dataset fields. Each
<code>SchemaAttribute</code> specifies the name and data type of a field.
</p>

@param schema
       An array of <code>SchemaAttribute</code> objects that specify the dataset fields. Each
       <code>SchemaAttribute</code> specifies the name and data type of a field.
@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/DescribeDatasetResult.java