Package com.oracle.bmc.generativeai
Class GenerativeAiWaiters
- java.lang.Object
- 
- com.oracle.bmc.generativeai.GenerativeAiWaiters
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public class GenerativeAiWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of GenerativeAi.The default configuration used is defined by com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
- 
- 
Constructor SummaryConstructors Constructor Description GenerativeAiWaiters(ExecutorService executorService, GenerativeAi client)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
GenerativeAiWaiterspublic GenerativeAiWaiters(ExecutorService executorService, GenerativeAi client) 
 
- 
 - 
Method Detail- 
forDedicatedAiClusterpublic Waiter<GetDedicatedAiClusterRequest,GetDedicatedAiClusterResponse> forDedicatedAiCluster(GetDedicatedAiClusterRequest request, DedicatedAiCluster.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- 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
 
 - 
forDedicatedAiClusterpublic Waiter<GetDedicatedAiClusterRequest,GetDedicatedAiClusterResponse> forDedicatedAiCluster(GetDedicatedAiClusterRequest request, DedicatedAiCluster.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forDedicatedAiClusterpublic Waiter<GetDedicatedAiClusterRequest,GetDedicatedAiClusterResponse> forDedicatedAiCluster(GetDedicatedAiClusterRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DedicatedAiCluster.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- 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
 
 - 
forEndpointpublic Waiter<GetEndpointRequest,GetEndpointResponse> forEndpoint(GetEndpointRequest request, Endpoint.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- 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
 
 - 
forEndpointpublic Waiter<GetEndpointRequest,GetEndpointResponse> forEndpoint(GetEndpointRequest request, Endpoint.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forEndpointpublic Waiter<GetEndpointRequest,GetEndpointResponse> forEndpoint(GetEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Endpoint.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- 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
 
 - 
forGenerativeAiPrivateEndpointpublic Waiter<GetGenerativeAiPrivateEndpointRequest,GetGenerativeAiPrivateEndpointResponse> forGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, GenerativeAiPrivateEndpoint.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- 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
 
 - 
forGenerativeAiPrivateEndpointpublic Waiter<GetGenerativeAiPrivateEndpointRequest,GetGenerativeAiPrivateEndpointResponse> forGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, GenerativeAiPrivateEndpoint.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forGenerativeAiPrivateEndpointpublic Waiter<GetGenerativeAiPrivateEndpointRequest,GetGenerativeAiPrivateEndpointResponse> forGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, GenerativeAiPrivateEndpoint.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- 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
 
 - 
forModelpublic Waiter<GetModelRequest,GetModelResponse> forModel(GetModelRequest request, Model.LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetStates- 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
 
 - 
forModelpublic Waiter<GetModelRequest,GetModelResponse> forModel(GetModelRequest request, Model.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- targetState- the desired state to wait for
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 - 
forModelpublic Waiter<GetModelRequest,GetModelResponse> forModel(GetModelRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Model.LifecycleState... targetStates) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the- DelayStrategyto use
- targetStates- 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
 
 - 
forWorkRequestpublic Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request) Creates a newWaiterusing default configuration.- Parameters:
- request- the request to send
- Returns:
- a new Waiter instance
 
 - 
forWorkRequestpublic Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy) Creates a newWaiterusing the provided configuration.- Parameters:
- request- the request to send
- terminationStrategy- the- TerminationStrategyto use
- delayStrategy- the to use
- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
 
 
- 
 
-