Uses of Class
org.apache.nifi.authorization.AccessPolicy.Builder
Packages that use AccessPolicy.Builder
-
Uses of AccessPolicy.Builder in org.apache.nifi.authorization
Methods in org.apache.nifi.authorization that return AccessPolicy.BuilderModifier and TypeMethodDescriptionAccessPolicy.Builder.action(RequestAction action) Sets the action for this builder.Adds the given group to the builder's set of groups.Adds all the groups from the provided set to the builder's set of groups.Adds the given user to the builder's set of users.Adds all the users from the provided set to the builder's set of users.AccessPolicy.Builder.clearGroups()Clears the builder's set of groups so that it is non-null and size == 0.AccessPolicy.Builder.clearUsers()Clears the builder's set of users so that it is non-null and size == 0.AccessPolicy.Builder.identifier(String identifier) Sets the identifier of the builder.AccessPolicy.Builder.identifierGenerateFromSeed(String seed) Sets the identifier of the builder with a UUID generated from the specified seed string.AccessPolicy.Builder.identifierGenerateRandom()Sets the identifier of the builder to a random UUID.AccessPolicy.Builder.removeGroup(String group) Removes the provided groups from the builder's set of groups.AccessPolicy.Builder.removeGroups(Set<String> groups) Removes all groups in the provided set from the builder's set of groups.AccessPolicy.Builder.removeUser(String user) Removes the provided user from the builder's set of users.AccessPolicy.Builder.removeUsers(Set<String> users) Removes all users in the provided set from the builder's set of users.Sets the resource of the builder.Constructors in org.apache.nifi.authorization with parameters of type AccessPolicy.Builder