public void setPartitions(java.util.Collection<DatastorePartition> partitions) {
        if (partitions == null) {
            this.partitions = null;
            return;
        }

        this.partitions = new java.util.ArrayList<DatastorePartition>(partitions);
    }
<p>
A list of partition dimensions in a data store.
</p>

@param partitions
       A list of partition dimensions in a data store.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/DatastorePartitions.java