Package com.enonic.xp.security

## Class EditableRole

- java.lang.Object
- - com.enonic.xp.security.EditableRole

-     @PublicApi
      public final class EditableRole
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `String` | `description` |
    `String` | `displayName` |
    `PrincipalKey` | `key` |
    `Instant` | `modifiedTime` |
    `Role` | `source` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `EditableRole​(Role source)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Role` | `build()` |

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

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

- - ### Field Detail

    - #### source

          public final Role source

    - #### key

          public PrincipalKey key

    - #### displayName

          public String displayName

    - #### modifiedTime

          public Instant modifiedTime

    - #### description

          public String description

  - ### Constructor Detail

    - #### EditableRole

          public EditableRole​(Role source)

  - ### Method Detail

    - #### build

          public Role build()