Package com.oracle.bmc.dataflow
Class DataFlowWaiters
- java.lang.Object
-
- com.oracle.bmc.dataflow.DataFlowWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public class DataFlowWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of DataFlow.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
-
-
Constructor Summary
Constructors Constructor Description DataFlowWaiters(ExecutorService executorService, DataFlow client)
-
Method Summary
-
-
-
Constructor Detail
-
DataFlowWaiters
public DataFlowWaiters(ExecutorService executorService, DataFlow client)
-
-
Method Detail
-
forApplication
public Waiter<GetApplicationRequest,GetApplicationResponse> forApplication(GetApplicationRequest request, ApplicationLifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetState- 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 com.oracle.bmc.waiter.Waiter instance
-
forApplication
public Waiter<GetApplicationRequest,GetApplicationResponse> forApplication(GetApplicationRequest request, ApplicationLifecycleState 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
-
forApplication
public Waiter<GetApplicationRequest,GetApplicationResponse> forApplication(GetApplicationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ApplicationLifecycleState... 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 Waiter instance
-
forPool
public Waiter<GetPoolRequest,GetPoolResponse> forPool(GetPoolRequest request, PoolLifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetState- 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 com.oracle.bmc.waiter.Waiter instance
-
forPool
public Waiter<GetPoolRequest,GetPoolResponse> forPool(GetPoolRequest request, PoolLifecycleState 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
-
forPool
public Waiter<GetPoolRequest,GetPoolResponse> forPool(GetPoolRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, PoolLifecycleState... 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 Waiter instance
-
forPrivateEndpoint
public Waiter<GetPrivateEndpointRequest,GetPrivateEndpointResponse> forPrivateEndpoint(GetPrivateEndpointRequest request, PrivateEndpointLifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetState- 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 com.oracle.bmc.waiter.Waiter instance
-
forPrivateEndpoint
public Waiter<GetPrivateEndpointRequest,GetPrivateEndpointResponse> forPrivateEndpoint(GetPrivateEndpointRequest request, PrivateEndpointLifecycleState 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
-
forPrivateEndpoint
public Waiter<GetPrivateEndpointRequest,GetPrivateEndpointResponse> forPrivateEndpoint(GetPrivateEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, PrivateEndpointLifecycleState... 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 Waiter instance
-
forRun
public Waiter<GetRunRequest,GetRunResponse> forRun(GetRunRequest request, RunLifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetState- 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 com.oracle.bmc.waiter.Waiter instance
-
forRun
public Waiter<GetRunRequest,GetRunResponse> forRun(GetRunRequest request, RunLifecycleState 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
-
forRun
public Waiter<GetRunRequest,GetRunResponse> forRun(GetRunRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, RunLifecycleState... 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 Waiter instance
-
forSqlEndpoint
public Waiter<GetSqlEndpointRequest,GetSqlEndpointResponse> forSqlEndpoint(GetSqlEndpointRequest request, SqlEndpointLifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetState- 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 com.oracle.bmc.waiter.Waiter instance
-
forSqlEndpoint
public Waiter<GetSqlEndpointRequest,GetSqlEndpointResponse> forSqlEndpoint(GetSqlEndpointRequest request, SqlEndpointLifecycleState 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
-
forSqlEndpoint
public Waiter<GetSqlEndpointRequest,GetSqlEndpointResponse> forSqlEndpoint(GetSqlEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, SqlEndpointLifecycleState... 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 Waiter instance
-
forStatement
public Waiter<GetStatementRequest,GetStatementResponse> forStatement(GetStatementRequest request, StatementLifecycleState... targetStates)
Creates a newWaiterusing the default configuration.- Parameters:
request- the request to sendtargetState- 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 com.oracle.bmc.waiter.Waiter instance
-
forStatement
public Waiter<GetStatementRequest,GetStatementResponse> forStatement(GetStatementRequest request, StatementLifecycleState 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
-
forStatement
public Waiter<GetStatementRequest,GetStatementResponse> forStatement(GetStatementRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, StatementLifecycleState... 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 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
-
-