Package com.enonic.xp.node

## Class FindNodesByQueryResult.Builder

- java.lang.Object
- - com.enonic.xp.node.FindNodesByQueryResult.Builder

- Enclosing class:
    FindNodesByQueryResult

      public static final class FindNodesByQueryResult.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `FindNodesByQueryResult.Builder` | `addNodeHit​(NodeHit nodeHit)` |
    `FindNodesByQueryResult.Builder` | `aggregations​(Aggregations aggregations)` |
    `FindNodesByQueryResult` | `build()` |
    `FindNodesByQueryResult.Builder` | `hits​(long hits)` |
    `FindNodesByQueryResult.Builder` | `suggestions​(Suggestions suggestions)` |
    `FindNodesByQueryResult.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 FindNodesByQueryResult.Builder aggregations​(Aggregations aggregations)

    - #### suggestions

          public FindNodesByQueryResult.Builder suggestions​(Suggestions suggestions)

    - #### addNodeHit

          public FindNodesByQueryResult.Builder addNodeHit​(NodeHit nodeHit)

    - #### totalHits

          public FindNodesByQueryResult.Builder totalHits​(long totalHits)

    - #### hits

          public FindNodesByQueryResult.Builder hits​(long hits)

    - #### build

          public FindNodesByQueryResult build()