Interface LockboxAsync
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- LockboxAsyncClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220126") public interface LockboxAsync extends AutoCloseableUse the Managed Access API to approve access requests, create and manage templates, and manage resource approval settings.For more information, see Managed Access Overview. Use the table of contents and search tool to explore the Managed Access API. 
- 
- 
Method Summary- 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Method Detail- 
refreshClientvoid refreshClient() Rebuilds the client from scratch.Useful to refresh certificates. 
 - 
setEndpointvoid setEndpoint(String endpoint) Sets the endpoint to call (ex, https://www.example.com).- Parameters:
- endpoint- The endpoint of the serice.
 
 - 
getEndpointString getEndpoint() Gets the set endpoint for REST call (ex, https://www.example.com)
 - 
setRegionvoid setRegion(Region region) Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call setEndpointafter resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Parameters:
- region- The region of the service.
 
 - 
setRegionvoid setRegion(String regionId) Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format ( Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Parameters:
- regionId- The public region ID.
 
 - 
useRealmSpecificEndpointTemplatevoid useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled) Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false” - Parameters:
- realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
 
 - 
cancelWorkRequestFuture<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler) Cancels the work request with the given ID.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
changeApprovalTemplateCompartmentFuture<ChangeApprovalTemplateCompartmentResponse> changeApprovalTemplateCompartment(ChangeApprovalTemplateCompartmentRequest request, AsyncHandler<ChangeApprovalTemplateCompartmentRequest,ChangeApprovalTemplateCompartmentResponse> handler) Moves an ApprovalTemplate resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource. - Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
changeLockboxCompartmentFuture<ChangeLockboxCompartmentResponse> changeLockboxCompartment(ChangeLockboxCompartmentRequest request, AsyncHandler<ChangeLockboxCompartmentRequest,ChangeLockboxCompartmentResponse> handler) Moves a Lockbox resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource. - Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
createAccessRequestFuture<CreateAccessRequestResponse> createAccessRequest(CreateAccessRequestRequest request, AsyncHandler<CreateAccessRequestRequest,CreateAccessRequestResponse> handler) Creates a new access request.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
createApprovalTemplateFuture<CreateApprovalTemplateResponse> createApprovalTemplate(CreateApprovalTemplateRequest request, AsyncHandler<CreateApprovalTemplateRequest,CreateApprovalTemplateResponse> handler) Creates a new approval template.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
createLockboxFuture<CreateLockboxResponse> createLockbox(CreateLockboxRequest request, AsyncHandler<CreateLockboxRequest,CreateLockboxResponse> handler) Creates a new Lockbox.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
deleteApprovalTemplateFuture<DeleteApprovalTemplateResponse> deleteApprovalTemplate(DeleteApprovalTemplateRequest request, AsyncHandler<DeleteApprovalTemplateRequest,DeleteApprovalTemplateResponse> handler) Deletes an ApprovalTemplate resource by identifier- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
deleteLockboxFuture<DeleteLockboxResponse> deleteLockbox(DeleteLockboxRequest request, AsyncHandler<DeleteLockboxRequest,DeleteLockboxResponse> handler) Deletes a Lockbox resource by identifier- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
exportAccessRequestsFuture<ExportAccessRequestsResponse> exportAccessRequests(ExportAccessRequestsRequest request, AsyncHandler<ExportAccessRequestsRequest,ExportAccessRequestsResponse> handler) Exports a list of AccessRequestSummary objects within a compartment and during a specified time range in text format.You can filter the results by problem severity. - Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getAccessMaterialsFuture<GetAccessMaterialsResponse> getAccessMaterials(GetAccessMaterialsRequest request, AsyncHandler<GetAccessMaterialsRequest,GetAccessMaterialsResponse> handler) Retrieves the access credential/material associated with the access request.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getAccessRequestFuture<GetAccessRequestResponse> getAccessRequest(GetAccessRequestRequest request, AsyncHandler<GetAccessRequestRequest,GetAccessRequestResponse> handler) Retrieves an access request identified by the access request ID.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getAccessRequestInternalFuture<GetAccessRequestInternalResponse> getAccessRequestInternal(GetAccessRequestInternalRequest request, AsyncHandler<GetAccessRequestInternalRequest,GetAccessRequestInternalResponse> handler) Retrieves an access request identified by the access request ID for internal use.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getApprovalTemplateFuture<GetApprovalTemplateResponse> getApprovalTemplate(GetApprovalTemplateRequest request, AsyncHandler<GetApprovalTemplateRequest,GetApprovalTemplateResponse> handler) Retrieves an approval template identified by the approval template ID.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getLockboxFuture<GetLockboxResponse> getLockbox(GetLockboxRequest request, AsyncHandler<GetLockboxRequest,GetLockboxResponse> handler) Gets a Lockbox by identifier- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getWorkRequestFuture<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler) Gets details of the work request with the given ID.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
handleAccessRequestFuture<HandleAccessRequestResponse> handleAccessRequest(HandleAccessRequestRequest request, AsyncHandler<HandleAccessRequestRequest,HandleAccessRequestResponse> handler) Handle the AccessRequest- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listAccessRequestsFuture<ListAccessRequestsResponse> listAccessRequests(ListAccessRequestsRequest request, AsyncHandler<ListAccessRequestsRequest,ListAccessRequestsResponse> handler) Retrieves a list of AccessRequestSummary objects in a compartment.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listApprovalTemplatesFuture<ListApprovalTemplatesResponse> listApprovalTemplates(ListApprovalTemplatesRequest request, AsyncHandler<ListApprovalTemplatesRequest,ListApprovalTemplatesResponse> handler) Retrieves a list of ApprovalTemplateSummary objects in a compartment.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listLockboxesFuture<ListLockboxesResponse> listLockboxes(ListLockboxesRequest request, AsyncHandler<ListLockboxesRequest,ListLockboxesResponse> handler) Returns a list of Lockboxes.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listWorkRequestErrorsFuture<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler) Returns a (paginated) list of errors for the work request with the given ID.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listWorkRequestLogsFuture<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler) Returns a (paginated) list of logs for the work request with the given ID.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listWorkRequestsFuture<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler) Lists the work requests in a compartment.- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
updateApprovalTemplateFuture<UpdateApprovalTemplateResponse> updateApprovalTemplate(UpdateApprovalTemplateRequest request, AsyncHandler<UpdateApprovalTemplateRequest,UpdateApprovalTemplateResponse> handler) Updates the ApprovalTemplate- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
updateLockboxFuture<UpdateLockboxResponse> updateLockbox(UpdateLockboxRequest request, AsyncHandler<UpdateLockboxRequest,UpdateLockboxResponse> handler) Updates the Lockbox- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 
- 
 
-