Class Role.Builder
- All Implemented Interfaces:
Builder<Role.Builder, Grant>, Supplier<Grant>
- Enclosing class:
Role
A fluent API builder for
Role.-
Method Summary
Methods inherited from class Grant.Builder
addAttribute, attributes, name, origin, typeModifier and TypeMethodDescriptionaddAttribute(String key, Object value) Add and attribute to this grant.attributes(AbacSupport attribs) Attributes of this grant.Name of this grant.Origin of this grant (e.g.Configure type of this grant.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault Grantget()default Role.Builderidentity()Instance of this builder as the correct type.default Role.Builderupdate(Consumer<Role.Builder> consumer) Update the builder in a fluent API way.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<Role.Builder, Grant>- Overrides:
buildin classGrant.Builder<Role.Builder>- Returns:
- instance of the built type
-