code: public void setPartitions(java.util.Collection<Double> partitions) {
          if (partitions == null) {
              this.partitions = null;
              return;
          }
  
          this.partitions = new java.util.ArrayList<Double>(partitions);
      }
docs: <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.