Package com.strongdm.api
Class WorkflowRoles
java.lang.Object
com.strongdm.api.WorkflowRoles
- All Implemented Interfaces:
SnapshotWorkflowRoles
WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of
to request access to a resource via the workflow.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(WorkflowRole workflowRole) Create creates a new workflow roleDelete deletes a workflow roleGet reads one workflow role by ID.Lists existing workflow roles.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the WorkflowRoles service which has the given deadline set for all method calls.
-
Constructor Details
-
WorkflowRoles
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the WorkflowRoles service which has the given deadline set for all method calls. -
create
Create creates a new workflow role- Throws:
RpcException
-
get
Get reads one workflow role by ID.- Specified by:
get
in interfaceSnapshotWorkflowRoles
- Throws:
RpcException
-
delete
Delete deletes a workflow role- Throws:
RpcException
-
list
Lists existing workflow roles.- Specified by:
list
in interfaceSnapshotWorkflowRoles
- Throws:
RpcException
-