Package com.strongdm.api
Class AccountAttachments
java.lang.Object
com.strongdm.api.AccountAttachments
- All Implemented Interfaces:
SnapshotAccountAttachments
AccountAttachments assign an account to a role.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(AccountAttachment accountAttachment) Create registers a new AccountAttachment.Delete removes a AccountAttachment by ID.Get reads one AccountAttachment by ID.List gets a list of AccountAttachments matching a given set of criteria.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the AccountAttachments service which has the given deadline set for all method calls.
-
Constructor Details
-
AccountAttachments
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the AccountAttachments service which has the given deadline set for all method calls. -
create
public AccountAttachmentCreateResponse create(AccountAttachment accountAttachment) throws RpcException Create registers a new AccountAttachment.- Throws:
RpcException
-
get
Get reads one AccountAttachment by ID.- Specified by:
get
in interfaceSnapshotAccountAttachments
- Throws:
RpcException
-
delete
Delete removes a AccountAttachment by ID.- Throws:
RpcException
-
list
List gets a list of AccountAttachments matching a given set of criteria.- Specified by:
list
in interfaceSnapshotAccountAttachments
- Throws:
RpcException
-