Package com.oracle.bmc.batch
Class BatchComputingWaiters
- java.lang.Object
-
- com.oracle.bmc.batch.BatchComputingWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251031") public class BatchComputingWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of BatchComputing.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
-
-
Constructor Summary
Constructors Constructor Description BatchComputingWaiters(ExecutorService executorService, BatchComputing client)
-
Method Summary
-
-
-
Constructor Detail
-
BatchComputingWaiters
public BatchComputingWaiters(ExecutorService executorService, BatchComputing client)
-
-
Method Detail
-
forBatchContext
public Waiter<GetBatchContextRequest,GetBatchContextResponse> forBatchContext(GetBatchContextRequest request, BatchContext.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forBatchContext
public Waiter<GetBatchContextRequest,GetBatchContextResponse> forBatchContext(GetBatchContextRequest request, BatchContext.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchContext
public Waiter<GetBatchContextRequest,GetBatchContextResponse> forBatchContext(GetBatchContextRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BatchContext.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchJob
public Waiter<GetBatchJobRequest,GetBatchJobResponse> forBatchJob(GetBatchJobRequest request, BatchJob.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forBatchJob
public Waiter<GetBatchJobRequest,GetBatchJobResponse> forBatchJob(GetBatchJobRequest request, BatchJob.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchJob
public Waiter<GetBatchJobRequest,GetBatchJobResponse> forBatchJob(GetBatchJobRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BatchJob.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchJobPool
public Waiter<GetBatchJobPoolRequest,GetBatchJobPoolResponse> forBatchJobPool(GetBatchJobPoolRequest request, BatchJobPool.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forBatchJobPool
public Waiter<GetBatchJobPoolRequest,GetBatchJobPoolResponse> forBatchJobPool(GetBatchJobPoolRequest request, BatchJobPool.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchJobPool
public Waiter<GetBatchJobPoolRequest,GetBatchJobPoolResponse> forBatchJobPool(GetBatchJobPoolRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BatchJobPool.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchTask
public Waiter<GetBatchTaskRequest,GetBatchTaskResponse> forBatchTask(GetBatchTaskRequest request, BatchTask.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forBatchTask
public Waiter<GetBatchTaskRequest,GetBatchTaskResponse> forBatchTask(GetBatchTaskRequest request, BatchTask.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchTask
public Waiter<GetBatchTaskRequest,GetBatchTaskResponse> forBatchTask(GetBatchTaskRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BatchTask.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchTaskEnvironment
public Waiter<GetBatchTaskEnvironmentRequest,GetBatchTaskEnvironmentResponse> forBatchTaskEnvironment(GetBatchTaskEnvironmentRequest request, BatchTaskEnvironment.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forBatchTaskEnvironment
public Waiter<GetBatchTaskEnvironmentRequest,GetBatchTaskEnvironmentResponse> forBatchTaskEnvironment(GetBatchTaskEnvironmentRequest request, BatchTaskEnvironment.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchTaskEnvironment
public Waiter<GetBatchTaskEnvironmentRequest,GetBatchTaskEnvironmentResponse> forBatchTaskEnvironment(GetBatchTaskEnvironmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BatchTaskEnvironment.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchTaskProfile
public Waiter<GetBatchTaskProfileRequest,GetBatchTaskProfileResponse> forBatchTaskProfile(GetBatchTaskProfileRequest request, BatchTaskProfile.LifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetStates- the desired states to wait for. If multiple states are provided then the waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forBatchTaskProfile
public Waiter<GetBatchTaskProfileRequest,GetBatchTaskProfileResponse> forBatchTaskProfile(GetBatchTaskProfileRequest request, BatchTaskProfile.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBatchTaskProfile
public Waiter<GetBatchTaskProfileRequest,GetBatchTaskProfileResponse> forBatchTaskProfile(GetBatchTaskProfileRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BatchTaskProfile.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto usetargetStates- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forWorkRequest
public Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request)
Creates a newWaiterusing default configuration.- Parameters:
request- the request to send- Returns:
- a new Waiter instance
-
forWorkRequest
public Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- the to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
-