org.keycloak.representations.idm.authorization

## Class RolePolicyRepresentation.RoleDefinition

- java.lang.Object
- - org.keycloak.representations.idm.authorization.RolePolicyRepresentation.RoleDefinition

- Enclosing class:
    RolePolicyRepresentation

      public static class RolePolicyRepresentation.RoleDefinition
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RoleDefinition()`
    `RoleDefinition(String id, boolean required)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()`
    `boolean` | `isRequired()`
    `void` | `setId(String id)`
    `void` | `setRequired(boolean required)`

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

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

- - ### Constructor Detail

    - #### RoleDefinition

          public RoleDefinition()

    - #### RoleDefinition

          public RoleDefinition(String id,
                                boolean required)

  - ### Method Detail

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### isRequired

          public boolean isRequired()

    - #### setRequired

          public void setRequired(boolean required)

Copyright © 2020 JBoss by Red Hat. All rights reserved.