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 Summary
Constructors Constructor Description GenerativeAiWaiters(ExecutorService executorService, GenerativeAi client)
-
Method Summary
-
-
-
Constructor Detail
-
GenerativeAiWaiters
public GenerativeAiWaiters(ExecutorService executorService, GenerativeAi client)
-
-
Method Detail
-
forApiKey
public Waiter<GetApiKeyRequest,GetApiKeyResponse> forApiKey(GetApiKeyRequest request, ApiKey.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
-
forApiKey
public Waiter<GetApiKeyRequest,GetApiKeyResponse> forApiKey(GetApiKeyRequest request, ApiKey.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
-
forApiKey
public Waiter<GetApiKeyRequest,GetApiKeyResponse> forApiKey(GetApiKeyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ApiKey.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
-
forDedicatedAiCluster
public Waiter<GetDedicatedAiClusterRequest,GetDedicatedAiClusterResponse> forDedicatedAiCluster(GetDedicatedAiClusterRequest request, DedicatedAiCluster.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
-
forDedicatedAiCluster
public Waiter<GetDedicatedAiClusterRequest,GetDedicatedAiClusterResponse> forDedicatedAiCluster(GetDedicatedAiClusterRequest request, DedicatedAiCluster.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
-
forDedicatedAiCluster
public Waiter<GetDedicatedAiClusterRequest,GetDedicatedAiClusterResponse> forDedicatedAiCluster(GetDedicatedAiClusterRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DedicatedAiCluster.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
-
forEndpoint
public Waiter<GetEndpointRequest,GetEndpointResponse> forEndpoint(GetEndpointRequest request, Endpoint.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
-
forEndpoint
public Waiter<GetEndpointRequest,GetEndpointResponse> forEndpoint(GetEndpointRequest request, Endpoint.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
-
forEndpoint
public Waiter<GetEndpointRequest,GetEndpointResponse> forEndpoint(GetEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Endpoint.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
-
forGenerativeAiPrivateEndpoint
public Waiter<GetGenerativeAiPrivateEndpointRequest,GetGenerativeAiPrivateEndpointResponse> forGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, GenerativeAiPrivateEndpoint.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
-
forGenerativeAiPrivateEndpoint
public Waiter<GetGenerativeAiPrivateEndpointRequest,GetGenerativeAiPrivateEndpointResponse> forGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, GenerativeAiPrivateEndpoint.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
-
forGenerativeAiPrivateEndpoint
public Waiter<GetGenerativeAiPrivateEndpointRequest,GetGenerativeAiPrivateEndpointResponse> forGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, GenerativeAiPrivateEndpoint.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
-
forGenerativeAiProject
public Waiter<GetGenerativeAiProjectRequest,GetGenerativeAiProjectResponse> forGenerativeAiProject(GetGenerativeAiProjectRequest request, GenerativeAiProject.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
-
forGenerativeAiProject
public Waiter<GetGenerativeAiProjectRequest,GetGenerativeAiProjectResponse> forGenerativeAiProject(GetGenerativeAiProjectRequest request, GenerativeAiProject.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
-
forGenerativeAiProject
public Waiter<GetGenerativeAiProjectRequest,GetGenerativeAiProjectResponse> forGenerativeAiProject(GetGenerativeAiProjectRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, GenerativeAiProject.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
-
forHostedApplication
public Waiter<GetHostedApplicationRequest,GetHostedApplicationResponse> forHostedApplication(GetHostedApplicationRequest request, HostedApplication.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
-
forHostedApplication
public Waiter<GetHostedApplicationRequest,GetHostedApplicationResponse> forHostedApplication(GetHostedApplicationRequest request, HostedApplication.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
-
forHostedApplication
public Waiter<GetHostedApplicationRequest,GetHostedApplicationResponse> forHostedApplication(GetHostedApplicationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, HostedApplication.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
-
forHostedApplicationStorage
public Waiter<GetHostedApplicationStorageRequest,GetHostedApplicationStorageResponse> forHostedApplicationStorage(GetHostedApplicationStorageRequest request, HostedApplicationStorage.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
-
forHostedApplicationStorage
public Waiter<GetHostedApplicationStorageRequest,GetHostedApplicationStorageResponse> forHostedApplicationStorage(GetHostedApplicationStorageRequest request, HostedApplicationStorage.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
-
forHostedApplicationStorage
public Waiter<GetHostedApplicationStorageRequest,GetHostedApplicationStorageResponse> forHostedApplicationStorage(GetHostedApplicationStorageRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, HostedApplicationStorage.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
-
forHostedDeployment
public Waiter<GetHostedDeploymentRequest,GetHostedDeploymentResponse> forHostedDeployment(GetHostedDeploymentRequest request, HostedDeployment.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
-
forHostedDeployment
public Waiter<GetHostedDeploymentRequest,GetHostedDeploymentResponse> forHostedDeployment(GetHostedDeploymentRequest request, HostedDeployment.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
-
forHostedDeployment
public Waiter<GetHostedDeploymentRequest,GetHostedDeploymentResponse> forHostedDeployment(GetHostedDeploymentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, HostedDeployment.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
-
forImportedModel
public Waiter<GetImportedModelRequest,GetImportedModelResponse> forImportedModel(GetImportedModelRequest request, ImportedModel.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
-
forImportedModel
public Waiter<GetImportedModelRequest,GetImportedModelResponse> forImportedModel(GetImportedModelRequest request, ImportedModel.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
-
forImportedModel
public Waiter<GetImportedModelRequest,GetImportedModelResponse> forImportedModel(GetImportedModelRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ImportedModel.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
-
forModel
public Waiter<GetModelRequest,GetModelResponse> forModel(GetModelRequest request, Model.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
-
forModel
public Waiter<GetModelRequest,GetModelResponse> forModel(GetModelRequest request, Model.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
-
forModel
public Waiter<GetModelRequest,GetModelResponse> forModel(GetModelRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Model.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
-
forSemanticStore
public Waiter<GetSemanticStoreRequest,GetSemanticStoreResponse> forSemanticStore(GetSemanticStoreRequest request, SemanticStore.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
-
forSemanticStore
public Waiter<GetSemanticStoreRequest,GetSemanticStoreResponse> forSemanticStore(GetSemanticStoreRequest request, SemanticStore.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
-
forSemanticStore
public Waiter<GetSemanticStoreRequest,GetSemanticStoreResponse> forSemanticStore(GetSemanticStoreRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, SemanticStore.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
-
forVectorStoreConnector
public Waiter<GetVectorStoreConnectorRequest,GetVectorStoreConnectorResponse> forVectorStoreConnector(GetVectorStoreConnectorRequest request, VectorStoreConnector.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
-
forVectorStoreConnector
public Waiter<GetVectorStoreConnectorRequest,GetVectorStoreConnectorResponse> forVectorStoreConnector(GetVectorStoreConnectorRequest request, VectorStoreConnector.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
-
forVectorStoreConnector
public Waiter<GetVectorStoreConnectorRequest,GetVectorStoreConnectorResponse> forVectorStoreConnector(GetVectorStoreConnectorRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VectorStoreConnector.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
-
forVectorStoreConnectorFileSync
public Waiter<GetVectorStoreConnectorFileSyncRequest,GetVectorStoreConnectorFileSyncResponse> forVectorStoreConnectorFileSync(GetVectorStoreConnectorFileSyncRequest request, VectorStoreConnectorFileSync.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
-
forVectorStoreConnectorFileSync
public Waiter<GetVectorStoreConnectorFileSyncRequest,GetVectorStoreConnectorFileSyncResponse> forVectorStoreConnectorFileSync(GetVectorStoreConnectorFileSyncRequest request, VectorStoreConnectorFileSync.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
-
forVectorStoreConnectorFileSync
public Waiter<GetVectorStoreConnectorFileSyncRequest,GetVectorStoreConnectorFileSyncResponse> forVectorStoreConnectorFileSync(GetVectorStoreConnectorFileSyncRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VectorStoreConnectorFileSync.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
-
-