| Package | Description |
|---|---|
| org.apache.nifi.authorization |
| Modifier and Type | Method and Description |
|---|---|
AccessPolicy.Builder |
AccessPolicy.Builder.action(RequestAction action)
Sets the action for this builder.
|
AccessPolicy.Builder |
AccessPolicy.Builder.addGroup(String group)
Adds the given group to the builder's set of groups.
|
AccessPolicy.Builder |
AccessPolicy.Builder.addGroups(Set<String> groups)
Adds all the groups from the provided set to the builder's set of groups.
|
AccessPolicy.Builder |
AccessPolicy.Builder.addUser(String user)
Adds the given user to the builder's set of users.
|
AccessPolicy.Builder |
AccessPolicy.Builder.addUsers(Set<String> users)
Adds all the users from the provided set to the builder's set of users.
|
AccessPolicy.Builder |
AccessPolicy.Builder.clearGroups()
Clears the builder's set of groups so that it is non-null and size == 0.
|
AccessPolicy.Builder |
AccessPolicy.Builder.clearUsers()
Clears the builder's set of users so that it is non-null and size == 0.
|
AccessPolicy.Builder |
AccessPolicy.Builder.identifier(String identifier)
Sets the identifier of the builder.
|
AccessPolicy.Builder |
AccessPolicy.Builder.removeGroup(String group)
Removes the provided groups from the builder's set of groups.
|
AccessPolicy.Builder |
AccessPolicy.Builder.removeGroups(Set<String> groups)
Removes all groups in the provided set from the builder's set of groups.
|
AccessPolicy.Builder |
AccessPolicy.Builder.removeUser(String user)
Removes the provided user from the builder's set of users.
|
AccessPolicy.Builder |
AccessPolicy.Builder.removeUsers(Set<String> users)
Removes all users in the provided set from the builder's set of users.
|
AccessPolicy.Builder |
AccessPolicy.Builder.resource(String resource)
Sets the resource of the builder.
|
| Constructor and Description |
|---|
AccessPolicy(AccessPolicy.Builder builder) |
Copyright © 2016 Apache NiFi Project. All rights reserved.