Package com.enonic.xp.content

## Class FindContentByQueryResult.Builder

- java.lang.Object
- - com.enonic.xp.content.FindContentByQueryResult.Builder

- Enclosing class:
    FindContentByQueryResult

      public static final class FindContentByQueryResult.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `FindContentByQueryResult.Builder` | `aggregations​(Aggregations aggregations)` |
    `FindContentByQueryResult` | `build()` |
    `FindContentByQueryResult.Builder` | `contents​(Contents contents)` |
    `FindContentByQueryResult.Builder` | `highlight​(Map<ContentId,​HighlightedProperties> highlight)` |
    `FindContentByQueryResult.Builder` | `hits​(long hits)` |
    `FindContentByQueryResult.Builder` | `totalHits​(long totalHits)` |

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

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

- - ### Method Detail

    - #### aggregations

          public FindContentByQueryResult.Builder aggregations​(Aggregations aggregations)

    - #### contents

          public FindContentByQueryResult.Builder contents​(Contents contents)

    - #### totalHits

          public FindContentByQueryResult.Builder totalHits​(long totalHits)

    - #### hits

          public FindContentByQueryResult.Builder hits​(long hits)

    - #### highlight

          public FindContentByQueryResult.Builder highlight​(Map<ContentId,​HighlightedProperties> highlight)

    - #### build

          public FindContentByQueryResult build()