com.hazelcast.config

## Class PermissionConfig

- java.lang.Object
- - com.hazelcast.config.PermissionConfig

-     public class PermissionConfig
      extends Object

  Contains the configuration for a permission.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `PermissionConfig.PermissionType` Type of permission

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PermissionConfig()`
    `PermissionConfig(PermissionConfig.PermissionType type, String name, String principal)`
    `PermissionConfig(PermissionConfig permissionConfig)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `PermissionConfig` | `addAction(String action)`
    `PermissionConfig` | `addEndpoint(String endpoint)`
    `boolean` | `equals(Object o)`
    `Set<String>` | `getActions()`
    `Set<String>` | `getEndpoints()`
    `String` | `getName()`
    `String` | `getPrincipal()`
    `PermissionConfig.PermissionType` | `getType()`
    `int` | `hashCode()`
    `PermissionConfig` | `setActions(Set<String> actions)`
    `PermissionConfig` | `setEndpoints(Set<String> endpoints)`
    `PermissionConfig` | `setName(String name)`
    `PermissionConfig` | `setPrincipal(String principal)`
    `PermissionConfig` | `setType(PermissionConfig.PermissionType type)`
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PermissionConfig

          public PermissionConfig()

    - #### PermissionConfig

          public PermissionConfig(PermissionConfig.PermissionType type,
                                  String name,
                                  String principal)

    - #### PermissionConfig

          public PermissionConfig(PermissionConfig permissionConfig)

  - ### Method Detail

    - #### addEndpoint

          public PermissionConfig addEndpoint(String endpoint)

    - #### addAction

          public PermissionConfig addAction(String action)

    - #### getType

          public PermissionConfig.PermissionType getType()

    - #### getName

          public String getName()

    - #### getPrincipal

          public String getPrincipal()

    - #### getEndpoints

          public Set<String> getEndpoints()

    - #### getActions

          public Set<String> getActions()

    - #### setType

          public PermissionConfig setType(PermissionConfig.PermissionType type)

    - #### setName

          public PermissionConfig setName(String name)

    - #### setPrincipal

          public PermissionConfig setPrincipal(String principal)

    - #### setActions

          public PermissionConfig setActions(Set<String> actions)

    - #### setEndpoints

          public PermissionConfig setEndpoints(Set<String> endpoints)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2019. All rights reserved.