Package com.enonic.xp.security

## Class Principal.Builder<B>

- java.lang.Object
- - com.enonic.xp.security.Principal.Builder<B>

- Direct Known Subclasses:
    `Group.Builder`, `Role.Builder`, `User.Builder`
  Enclosing class:
    Principal

      public abstract static class Principal.Builder<B>
      extends Object

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `B` | `description​(String description)` |
    `B` | `displayName​(String displayName)` |
    `B` | `key​(PrincipalKey key)` |
    `B` | `modifiedTime​(Instant modifiedTime)` |

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

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

- - ### Method Detail

    - #### key

          public B key​(PrincipalKey key)

    - #### displayName

          public B displayName​(String displayName)

    - #### modifiedTime

          public B modifiedTime​(Instant modifiedTime)

    - #### description

          public B description​(String description)