code: public void setDimensions(java.util.Collection<SegmentDimensions> dimensions) {
          if (dimensions == null) {
              this.dimensions = null;
              return;
          }
  
          this.dimensions = new java.util.ArrayList<SegmentDimensions>(dimensions);
      }
docs: List of dimensions to include or exclude.
  
  @param dimensions
  List of dimensions to include or exclude.