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

        this.partitions = new java.util.ArrayList<Double>(partitions);
    }
<p>
If <code>PartitionBy</code> was specified, <code>PartitionKeys</code> contains the dimensions that were.
</p>

@param partitions
       If <code>PartitionBy</code> was specified, <code>PartitionKeys</code> contains the dimensions that were.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/DimensionKeyDescription.java