Package com.strongdm.api
Class Roles
java.lang.Object
com.strongdm.api.Roles
- All Implemented Interfaces:
SnapshotRoles
A Role has a list of access rules which determine which Resources the members
of the Role have access to. An Account can be a member of multiple Roles via
AccountAttachments.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate registers a new Role.Delete removes a Role by ID.Get reads one Role by ID.List gets a list of Roles matching a given set of criteria.Update replaces all the fields of a Role by ID.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the Roles service which has the given deadline set for all method calls.
-
Constructor Details
-
Roles
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the Roles service which has the given deadline set for all method calls. -
create
Create registers a new Role.- Throws:
RpcException
-
get
Get reads one Role by ID.- Specified by:
get
in interfaceSnapshotRoles
- Throws:
RpcException
-
update
Update replaces all the fields of a Role by ID.- Throws:
RpcException
-
delete
Delete removes a Role by ID.- Throws:
RpcException
-
list
List gets a list of Roles matching a given set of criteria.- Specified by:
list
in interfaceSnapshotRoles
- Throws:
RpcException
-