Package com.enonic.xp.aggregation

## Class BucketAggregation.Builder

- java.lang.Object
- - com.enonic.xp.aggregation.Aggregation.Builder<BucketAggregation.Builder>
  - - com.enonic.xp.aggregation.BucketAggregation.Builder

- Enclosing class:
    BucketAggregation

      public static class BucketAggregation.Builder
      extends Aggregation.Builder<BucketAggregation.Builder>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder​(String name)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `BucketAggregation.Builder` | `buckets​(Buckets buckets)` |
    `BucketAggregation` | `build()` |

    - ### Methods inherited from class com.enonic.xp.aggregation.Aggregation.Builder

      `addAggregations, addSubAggregation`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Builder

          public Builder​(String name)

  - ### Method Detail

    - #### buckets

          public BucketAggregation.Builder buckets​(Buckets buckets)

    - #### build

          public BucketAggregation build()