Interface BatchComputingAsync
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BatchComputingAsyncClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20251031") public interface BatchComputingAsync extends AutoCloseableUse the Batch Control Plane API to encapsulate and manage all aspects of computationally intensive jobs.
-
-
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
-
cancelBatchJob
Future<CancelBatchJobResponse> cancelBatchJob(CancelBatchJobRequest request, AsyncHandler<CancelBatchJobRequest,CancelBatchJobResponse> handler)
Cancels a batch 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.
-
changeBatchContextCompartment
Future<ChangeBatchContextCompartmentResponse> changeBatchContextCompartment(ChangeBatchContextCompartmentRequest request, AsyncHandler<ChangeBatchContextCompartmentRequest,ChangeBatchContextCompartmentResponse> handler)
Moves a batch context 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.
-
changeBatchJobCompartment
Future<ChangeBatchJobCompartmentResponse> changeBatchJobCompartment(ChangeBatchJobCompartmentRequest request, AsyncHandler<ChangeBatchJobCompartmentRequest,ChangeBatchJobCompartmentResponse> handler)
Moves a batch job 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.
-
changeBatchJobPoolCompartment
Future<ChangeBatchJobPoolCompartmentResponse> changeBatchJobPoolCompartment(ChangeBatchJobPoolCompartmentRequest request, AsyncHandler<ChangeBatchJobPoolCompartmentRequest,ChangeBatchJobPoolCompartmentResponse> handler)
Moves a batch job pool 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.
-
changeBatchTaskEnvironmentCompartment
Future<ChangeBatchTaskEnvironmentCompartmentResponse> changeBatchTaskEnvironmentCompartment(ChangeBatchTaskEnvironmentCompartmentRequest request, AsyncHandler<ChangeBatchTaskEnvironmentCompartmentRequest,ChangeBatchTaskEnvironmentCompartmentResponse> handler)
Moves a batch task environment 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.
-
changeBatchTaskProfileCompartment
Future<ChangeBatchTaskProfileCompartmentResponse> changeBatchTaskProfileCompartment(ChangeBatchTaskProfileCompartmentRequest request, AsyncHandler<ChangeBatchTaskProfileCompartmentRequest,ChangeBatchTaskProfileCompartmentResponse> handler)
Moves a batch task profile 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.
-
createBatchContext
Future<CreateBatchContextResponse> createBatchContext(CreateBatchContextRequest request, AsyncHandler<CreateBatchContextRequest,CreateBatchContextResponse> handler)
Creates a batch context.- 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.
-
createBatchJob
Future<CreateBatchJobResponse> createBatchJob(CreateBatchJobRequest request, AsyncHandler<CreateBatchJobRequest,CreateBatchJobResponse> handler)
Creates a batch 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.
-
createBatchJobPool
Future<CreateBatchJobPoolResponse> createBatchJobPool(CreateBatchJobPoolRequest request, AsyncHandler<CreateBatchJobPoolRequest,CreateBatchJobPoolResponse> handler)
Creates a batch job pool.- 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.
-
createBatchTaskEnvironment
Future<CreateBatchTaskEnvironmentResponse> createBatchTaskEnvironment(CreateBatchTaskEnvironmentRequest request, AsyncHandler<CreateBatchTaskEnvironmentRequest,CreateBatchTaskEnvironmentResponse> handler)
Creates a batch task environment.- 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.
-
createBatchTaskProfile
Future<CreateBatchTaskProfileResponse> createBatchTaskProfile(CreateBatchTaskProfileRequest request, AsyncHandler<CreateBatchTaskProfileRequest,CreateBatchTaskProfileResponse> handler)
Creates a batch task profile.- 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.
-
deleteBatchContext
Future<DeleteBatchContextResponse> deleteBatchContext(DeleteBatchContextRequest request, AsyncHandler<DeleteBatchContextRequest,DeleteBatchContextResponse> handler)
Deletes a batch context.All batch job pools associated with the batch context must be deleted beforehand.
- 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.
-
deleteBatchJobPool
Future<DeleteBatchJobPoolResponse> deleteBatchJobPool(DeleteBatchJobPoolRequest request, AsyncHandler<DeleteBatchJobPoolRequest,DeleteBatchJobPoolResponse> handler)
Deletes a batch job pool.All batch jobs associated with the batch job pool must be canceled beforehand.
- 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.
-
deleteBatchTaskEnvironment
Future<DeleteBatchTaskEnvironmentResponse> deleteBatchTaskEnvironment(DeleteBatchTaskEnvironmentRequest request, AsyncHandler<DeleteBatchTaskEnvironmentRequest,DeleteBatchTaskEnvironmentResponse> handler)
Deletes a batch task environment.All batch tasks associated with the batch task environment must be canceled beforehand.
- 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.
-
deleteBatchTaskProfile
Future<DeleteBatchTaskProfileResponse> deleteBatchTaskProfile(DeleteBatchTaskProfileRequest request, AsyncHandler<DeleteBatchTaskProfileRequest,DeleteBatchTaskProfileResponse> handler)
Deletes a batch task profile.All batch tasks associated with the batch task profile must be canceled beforehand.
- 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.
-
getBatchContext
Future<GetBatchContextResponse> getBatchContext(GetBatchContextRequest request, AsyncHandler<GetBatchContextRequest,GetBatchContextResponse> handler)
Gets information about a batch context.- 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.
-
getBatchJob
Future<GetBatchJobResponse> getBatchJob(GetBatchJobRequest request, AsyncHandler<GetBatchJobRequest,GetBatchJobResponse> handler)
Gets information about a batch 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.
-
getBatchJobPool
Future<GetBatchJobPoolResponse> getBatchJobPool(GetBatchJobPoolRequest request, AsyncHandler<GetBatchJobPoolRequest,GetBatchJobPoolResponse> handler)
Gets information about a batch job pool.- 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.
-
getBatchTask
Future<GetBatchTaskResponse> getBatchTask(GetBatchTaskRequest request, AsyncHandler<GetBatchTaskRequest,GetBatchTaskResponse> handler)
Gets a specific batch task associated with a batch job by its name.- 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.
-
getBatchTaskEnvironment
Future<GetBatchTaskEnvironmentResponse> getBatchTaskEnvironment(GetBatchTaskEnvironmentRequest request, AsyncHandler<GetBatchTaskEnvironmentRequest,GetBatchTaskEnvironmentResponse> handler)
Gets information about a batch task environment.- 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.
-
getBatchTaskProfile
Future<GetBatchTaskProfileResponse> getBatchTaskProfile(GetBatchTaskProfileRequest request, AsyncHandler<GetBatchTaskProfileRequest,GetBatchTaskProfileResponse> handler)
Gets information about a batch task profile.- 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.
-
listBatchContextShapes
Future<ListBatchContextShapesResponse> listBatchContextShapes(ListBatchContextShapesRequest request, AsyncHandler<ListBatchContextShapesRequest,ListBatchContextShapesResponse> handler)
Lists the shapes allowed to be specified during batch context creation.Ordered by the shape name.
- 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.
-
listBatchContexts
Future<ListBatchContextsResponse> listBatchContexts(ListBatchContextsRequest request, AsyncHandler<ListBatchContextsRequest,ListBatchContextsResponse> handler)
Lists the batch contexts by compartment or context OCID.You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchContext to get the full details on a specific context
- 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.
-
listBatchJobPools
Future<ListBatchJobPoolsResponse> listBatchJobPools(ListBatchJobPoolsRequest request, AsyncHandler<ListBatchJobPoolsRequest,ListBatchJobPoolsResponse> handler)
Lists the batch job pools by compartment or job pool OCID.You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJobPool to get the full details on a specific context
- 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.
-
listBatchJobTasks
Future<ListBatchJobTasksResponse> listBatchJobTasks(ListBatchJobTasksRequest request, AsyncHandler<ListBatchJobTasksRequest,ListBatchJobTasksResponse> handler)
Lists the batch tasks by batch job OCID.You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchTask to get the full details on a specific context List is incomplete until jobs lifecycle is in_progress
- 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.
-
listBatchJobs
Future<ListBatchJobsResponse> listBatchJobs(ListBatchJobsRequest request, AsyncHandler<ListBatchJobsRequest,ListBatchJobsResponse> handler)
Lists the batch jobs by compartment or job OCID.You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchJob to get the full details on a specific context
- 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.
-
listBatchTaskEnvironments
Future<ListBatchTaskEnvironmentsResponse> listBatchTaskEnvironments(ListBatchTaskEnvironmentsRequest request, AsyncHandler<ListBatchTaskEnvironmentsRequest,ListBatchTaskEnvironmentsResponse> handler)
Lists the task environments by compartment or environment OCID.You can filter and sort them by various properties like lifecycle state, display name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchTaskEnvironment to get the full details on a specific context
- 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.
-
listBatchTaskProfiles
Future<ListBatchTaskProfilesResponse> listBatchTaskProfiles(ListBatchTaskProfilesRequest request, AsyncHandler<ListBatchTaskProfilesRequest,ListBatchTaskProfilesResponse> handler)
Lists the task profiles by compartment or profile OCID.You can filter and sort them by various properties like lifecycle state, name and also ocid. All properties require an exact match. List operation only provides a summary information, use GetBatchTaskProfile to get the full details on a specific context
- 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.
-
listBatchTasks
Future<ListBatchTasksResponse> listBatchTasks(ListBatchTasksRequest request, AsyncHandler<ListBatchTasksRequest,ListBatchTasksResponse> handler)
Lists the batch tasks associated with batch jobs.- 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.
-
pauseBatchJob
Future<PauseBatchJobResponse> pauseBatchJob(PauseBatchJobRequest request, AsyncHandler<PauseBatchJobRequest,PauseBatchJobResponse> handler)
Pauses the batch job and all its tasks.- 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.
-
startBatchContext
Future<StartBatchContextResponse> startBatchContext(StartBatchContextRequest request, AsyncHandler<StartBatchContextRequest,StartBatchContextResponse> handler)
Activates a batch context to accept new jobs.- 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.
-
startBatchJobPool
Future<StartBatchJobPoolResponse> startBatchJobPool(StartBatchJobPoolRequest request, AsyncHandler<StartBatchJobPoolRequest,StartBatchJobPoolResponse> handler)
Activates the batch job pool.- 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.
-
stopBatchContext
Future<StopBatchContextResponse> stopBatchContext(StopBatchContextRequest request, AsyncHandler<StopBatchContextRequest,StopBatchContextResponse> handler)
Stops a batch context from accepting new jobs.- 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.
-
stopBatchJobPool
Future<StopBatchJobPoolResponse> stopBatchJobPool(StopBatchJobPoolRequest request, AsyncHandler<StopBatchJobPoolRequest,StopBatchJobPoolResponse> handler)
Deactivates the batch job pool.- 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.
-
unpauseBatchJob
Future<UnpauseBatchJobResponse> unpauseBatchJob(UnpauseBatchJobRequest request, AsyncHandler<UnpauseBatchJobRequest,UnpauseBatchJobResponse> handler)
Resumes the batch job and all its tasks.- 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.
-
updateBatchContext
Future<UpdateBatchContextResponse> updateBatchContext(UpdateBatchContextRequest request, AsyncHandler<UpdateBatchContextRequest,UpdateBatchContextResponse> handler)
Updates a batch context.- 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.
-
updateBatchJob
Future<UpdateBatchJobResponse> updateBatchJob(UpdateBatchJobRequest request, AsyncHandler<UpdateBatchJobRequest,UpdateBatchJobResponse> handler)
Updates a batch 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.
-
updateBatchJobPool
Future<UpdateBatchJobPoolResponse> updateBatchJobPool(UpdateBatchJobPoolRequest request, AsyncHandler<UpdateBatchJobPoolRequest,UpdateBatchJobPoolResponse> handler)
Updates a batch job pool.- 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.
-
updateBatchTaskEnvironment
Future<UpdateBatchTaskEnvironmentResponse> updateBatchTaskEnvironment(UpdateBatchTaskEnvironmentRequest request, AsyncHandler<UpdateBatchTaskEnvironmentRequest,UpdateBatchTaskEnvironmentResponse> handler)
Updates a batch task environment.- 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.
-
updateBatchTaskProfile
Future<UpdateBatchTaskProfileResponse> updateBatchTaskProfile(UpdateBatchTaskProfileRequest request, AsyncHandler<UpdateBatchTaskProfileRequest,UpdateBatchTaskProfileResponse> handler)
Updates a batch task profile.- 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.
-
-