public void setAggregates(java.util.Collection<String> aggregates) {
        if (aggregates == null) {
            this.aggregates = null;
            return;
        }

        this.aggregates = new java.util.ArrayList<String>(aggregates);
    }
<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.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/CreateAggregateConfiguration.java