Interface LustreFileStorageAsync
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
LustreFileStorageAsyncClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public interface LustreFileStorageAsync extends AutoCloseableUse the File Storage with Lustre API to manage Lustre file systems and related resources.For more information, see File Storage with Lustre.
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint- The endpoint of the serice.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void 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.
-
setRegion
void 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.
-
useRealmSpecificEndpointTemplate
void 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
-
cancelWorkRequest
Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
Cancels a work request.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeLustreFileSystemCompartment
Future<ChangeLustreFileSystemCompartmentResponse> changeLustreFileSystemCompartment(ChangeLustreFileSystemCompartmentRequest request, AsyncHandler<ChangeLustreFileSystemCompartmentRequest,ChangeLustreFileSystemCompartmentResponse> handler)
Moves a Lustre file system into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeObjectStorageLinkCompartment
Future<ChangeObjectStorageLinkCompartmentResponse> changeObjectStorageLinkCompartment(ChangeObjectStorageLinkCompartmentRequest request, AsyncHandler<ChangeObjectStorageLinkCompartmentRequest,ChangeObjectStorageLinkCompartmentResponse> handler)
Moves an Object Storage link into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createLustreFileSystem
Future<CreateLustreFileSystemResponse> createLustreFileSystem(CreateLustreFileSystemRequest request, AsyncHandler<CreateLustreFileSystemRequest,CreateLustreFileSystemResponse> handler)
Creates a Lustre file system.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createObjectStorageLink
Future<CreateObjectStorageLinkResponse> createObjectStorageLink(CreateObjectStorageLinkRequest request, AsyncHandler<CreateObjectStorageLinkRequest,CreateObjectStorageLinkResponse> handler)
Creates an Object Storage link.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteLustreFileSystem
Future<DeleteLustreFileSystemResponse> deleteLustreFileSystem(DeleteLustreFileSystemRequest request, AsyncHandler<DeleteLustreFileSystemRequest,DeleteLustreFileSystemResponse> handler)
Deletes a Lustre file system.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteObjectStorageLink
Future<DeleteObjectStorageLinkResponse> deleteObjectStorageLink(DeleteObjectStorageLinkRequest request, AsyncHandler<DeleteObjectStorageLinkRequest,DeleteObjectStorageLinkResponse> handler)
Deletes an Object Storage link.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getLustreFileSystem
Future<GetLustreFileSystemResponse> getLustreFileSystem(GetLustreFileSystemRequest request, AsyncHandler<GetLustreFileSystemRequest,GetLustreFileSystemResponse> handler)
Gets information about a Lustre file system.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getObjectStorageLink
Future<GetObjectStorageLinkResponse> getObjectStorageLink(GetObjectStorageLinkRequest request, AsyncHandler<GetObjectStorageLinkRequest,GetObjectStorageLinkResponse> handler)
Gets information about an Object Storage link.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getSyncJob
Future<GetSyncJobResponse> getSyncJob(GetSyncJobRequest request, AsyncHandler<GetSyncJobRequest,GetSyncJobResponse> handler)
Gets details of a sync job associated with an Object Storage link whenobjectStorageLinkand a unique ID are provided.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getWorkRequest
Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Gets the details of a work request.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listLustreFileSystems
Future<ListLustreFileSystemsResponse> listLustreFileSystems(ListLustreFileSystemsRequest request, AsyncHandler<ListLustreFileSystemsRequest,ListLustreFileSystemsResponse> handler)
Gets a list of Lustre file systems.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listObjectStorageLinks
Future<ListObjectStorageLinksResponse> listObjectStorageLinks(ListObjectStorageLinksRequest request, AsyncHandler<ListObjectStorageLinksRequest,ListObjectStorageLinksResponse> handler)
Gets a list of Object Storage links.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listSyncJobs
Future<ListSyncJobsResponse> listSyncJobs(ListSyncJobsRequest request, AsyncHandler<ListSyncJobsRequest,ListSyncJobsResponse> handler)
Lists all sync jobs associated with the Object Storage link.Contains a unique ID for each sync job.
- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listWorkRequestErrors
Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Lists the errors for a work request.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listWorkRequestLogs
Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Lists the logs for a work request.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listWorkRequests
Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists the work requests in a compartment.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
startExportToObject
Future<StartExportToObjectResponse> startExportToObject(StartExportToObjectRequest request, AsyncHandler<StartExportToObjectRequest,StartExportToObjectResponse> handler)
Starts the export of data from the Lustre file system to Object Storage.The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
- Parameters:
request- The request object containing the details to sendhandler- 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.
-
startImportFromObject
Future<StartImportFromObjectResponse> startImportFromObject(StartImportFromObjectRequest request, AsyncHandler<StartImportFromObjectRequest,StartImportFromObjectResponse> handler)
Starts the import of data from Object Storage to the Lustre file system.The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
- Parameters:
request- The request object containing the details to sendhandler- 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.
-
stopExportToObject
Future<StopExportToObjectResponse> stopExportToObject(StopExportToObjectRequest request, AsyncHandler<StopExportToObjectRequest,StopExportToObjectResponse> handler)
Stops the export of data from the Lustre file system to Object Storage.The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
- Parameters:
request- The request object containing the details to sendhandler- 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.
-
stopImportFromObject
Future<StopImportFromObjectResponse> stopImportFromObject(StopImportFromObjectRequest request, AsyncHandler<StopImportFromObjectRequest,StopImportFromObjectResponse> handler)
Stops the import of data from Object Storage to the Lustre file system.The Lustre file system path and Object Storage object prefix are defined in the Object Storage link resource.
- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateLustreFileSystem
Future<UpdateLustreFileSystemResponse> updateLustreFileSystem(UpdateLustreFileSystemRequest request, AsyncHandler<UpdateLustreFileSystemRequest,UpdateLustreFileSystemResponse> handler)
Updates a Lustre file system.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateObjectStorageLink
Future<UpdateObjectStorageLinkResponse> updateObjectStorageLink(UpdateObjectStorageLinkRequest request, AsyncHandler<UpdateObjectStorageLinkRequest,UpdateObjectStorageLinkResponse> handler)
Updates an Object Storage link.- Parameters:
request- The request object containing the details to sendhandler- 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.
-
-