Package com.enonic.xp.security

## Class PrincipalQueryResult.Builder

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

- Enclosing class:
    PrincipalQueryResult

      public static class PrincipalQueryResult.Builder
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `PrincipalQueryResult.Builder` | `addPrincipal​(Principal principal)` |
    `PrincipalQueryResult.Builder` | `addPrincipals​(Iterable<Principal> principals)` |
    `PrincipalQueryResult` | `build()` |
    `PrincipalQueryResult.Builder` | `totalSize​(int totalSize)` |

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

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

- - ### Method Detail

    - #### addPrincipal

          public PrincipalQueryResult.Builder addPrincipal​(Principal principal)

    - #### addPrincipals

          public PrincipalQueryResult.Builder addPrincipals​(Iterable<Principal> principals)

    - #### totalSize

          public PrincipalQueryResult.Builder totalSize​(int totalSize)

    - #### build

          public PrincipalQueryResult build()