public CreateAggregateConfiguration withAggregates(java.util.Collection<String> aggregates) {
        setAggregates(aggregates);
        return this;
    }
<p>
Used to specify the names of aggregates on which the volume will be created.
</p>

@param aggregates
       Used to specify the names of aggregates on which the volume will be created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/CreateAggregateConfiguration.java