Package com.enonic.xp.aggregation

## Class DateHistogramBucket.Builder

- java.lang.Object
- - com.enonic.xp.aggregation.Bucket.Builder<DateHistogramBucket.Builder>
  - - com.enonic.xp.aggregation.DateHistogramBucket.Builder

- Enclosing class:
    DateHistogramBucket

      public static final class DateHistogramBucket.Builder
      extends Bucket.Builder<DateHistogramBucket.Builder>

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `DateHistogramBucket` | `build()` |
    `DateHistogramBucket.Builder` | `keyAsInstant​(Instant keyAsInstant)` |

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

      `addAggregations, docCount, key`

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

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

- - ### Method Detail

    - #### keyAsInstant

          public DateHistogramBucket.Builder keyAsInstant​(Instant keyAsInstant)

    - #### build

          public DateHistogramBucket build()

      Overrides:
        `build` in class `Bucket.Builder<DateHistogramBucket.Builder>`