Package com.strongdm.api
Class AccountGrants
java.lang.Object
com.strongdm.api.AccountGrants
- All Implemented Interfaces:
SnapshotAccountGrants
AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(AccountGrant accountGrant) Create registers a new AccountGrant.Delete removes a AccountGrant by ID.Get reads one AccountGrant by ID.List gets a list of AccountGrants matching a given set of criteria.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the AccountGrants service which has the given deadline set for all method calls.
-
Constructor Details
-
AccountGrants
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the AccountGrants service which has the given deadline set for all method calls. -
create
Create registers a new AccountGrant.- Throws:
RpcException
-
get
Get reads one AccountGrant by ID.- Specified by:
get
in interfaceSnapshotAccountGrants
- Throws:
RpcException
-
delete
Delete removes a AccountGrant by ID.- Throws:
RpcException
-
list
List gets a list of AccountGrants matching a given set of criteria.- Specified by:
list
in interfaceSnapshotAccountGrants
- Throws:
RpcException
-