public DatastorePartitions withPartitions(java.util.Collection<DatastorePartition> partitions) {
        setPartitions(partitions);
        return this;
    }
<p>
A list of partition dimensions in a data store.
</p>

@param partitions
       A list of partition dimensions in a data store.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/DatastorePartitions.java