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