Package com.enonic.xp.security

## Class UserQueryResult.Builder

- java.lang.Object
- - com.enonic.xp.security.UserQueryResult.Builder

- Enclosing class:
    UserQueryResult

      public static class UserQueryResult.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `UserQueryResult.Builder` | `addUser​(Principal user)` |
    `UserQueryResult.Builder` | `addUsers​(Iterable<Principal> users)` |
    `UserQueryResult` | `build()` |
    `UserQueryResult.Builder` | `totalSize​(int totalSize)` |

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

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

- - ### Method Detail

    - #### addUser

          public UserQueryResult.Builder addUser​(Principal user)

    - #### addUsers

          public UserQueryResult.Builder addUsers​(Iterable<Principal> users)

    - #### totalSize

          public UserQueryResult.Builder totalSize​(int totalSize)

    - #### build

          public UserQueryResult build()