Class DbManagementWaiters
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.DbManagementWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public class DbManagementWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of DbManagement.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description DbManagementWaiters(ExecutorService executorService, DbManagement client)
-
Method Summary
-
-
-
Constructor Detail
-
DbManagementWaiters
public DbManagementWaiters(ExecutorService executorService, DbManagement client)
-
-
Method Detail
-
forDbManagementPrivateEndpoint
public Waiter<GetDbManagementPrivateEndpointRequest,GetDbManagementPrivateEndpointResponse> forDbManagementPrivateEndpoint(GetDbManagementPrivateEndpointRequest request, LifecycleStates... targetStates)
Creates a newWaiter
using 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
-
forDbManagementPrivateEndpoint
public Waiter<GetDbManagementPrivateEndpointRequest,GetDbManagementPrivateEndpointResponse> forDbManagementPrivateEndpoint(GetDbManagementPrivateEndpointRequest request, LifecycleStates targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forDbManagementPrivateEndpoint
public Waiter<GetDbManagementPrivateEndpointRequest,GetDbManagementPrivateEndpointResponse> forDbManagementPrivateEndpoint(GetDbManagementPrivateEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LifecycleStates... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalAsm
public Waiter<GetExternalAsmRequest,GetExternalAsmResponse> forExternalAsm(GetExternalAsmRequest request, ExternalAsm.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalAsm
public Waiter<GetExternalAsmRequest,GetExternalAsmResponse> forExternalAsm(GetExternalAsmRequest request, ExternalAsm.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalAsm
public Waiter<GetExternalAsmRequest,GetExternalAsmResponse> forExternalAsm(GetExternalAsmRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalAsm.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalAsmInstance
public Waiter<GetExternalAsmInstanceRequest,GetExternalAsmInstanceResponse> forExternalAsmInstance(GetExternalAsmInstanceRequest request, ExternalAsmInstance.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalAsmInstance
public Waiter<GetExternalAsmInstanceRequest,GetExternalAsmInstanceResponse> forExternalAsmInstance(GetExternalAsmInstanceRequest request, ExternalAsmInstance.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalAsmInstance
public Waiter<GetExternalAsmInstanceRequest,GetExternalAsmInstanceResponse> forExternalAsmInstance(GetExternalAsmInstanceRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalAsmInstance.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalCluster
public Waiter<GetExternalClusterRequest,GetExternalClusterResponse> forExternalCluster(GetExternalClusterRequest request, ExternalCluster.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalCluster
public Waiter<GetExternalClusterRequest,GetExternalClusterResponse> forExternalCluster(GetExternalClusterRequest request, ExternalCluster.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalCluster
public Waiter<GetExternalClusterRequest,GetExternalClusterResponse> forExternalCluster(GetExternalClusterRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalCluster.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalClusterInstance
public Waiter<GetExternalClusterInstanceRequest,GetExternalClusterInstanceResponse> forExternalClusterInstance(GetExternalClusterInstanceRequest request, ExternalClusterInstance.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalClusterInstance
public Waiter<GetExternalClusterInstanceRequest,GetExternalClusterInstanceResponse> forExternalClusterInstance(GetExternalClusterInstanceRequest request, ExternalClusterInstance.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalClusterInstance
public Waiter<GetExternalClusterInstanceRequest,GetExternalClusterInstanceResponse> forExternalClusterInstance(GetExternalClusterInstanceRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalClusterInstance.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalDbHome
public Waiter<GetExternalDbHomeRequest,GetExternalDbHomeResponse> forExternalDbHome(GetExternalDbHomeRequest request, ExternalDbHome.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalDbHome
public Waiter<GetExternalDbHomeRequest,GetExternalDbHomeResponse> forExternalDbHome(GetExternalDbHomeRequest request, ExternalDbHome.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalDbHome
public Waiter<GetExternalDbHomeRequest,GetExternalDbHomeResponse> forExternalDbHome(GetExternalDbHomeRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalDbHome.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalDbNode
public Waiter<GetExternalDbNodeRequest,GetExternalDbNodeResponse> forExternalDbNode(GetExternalDbNodeRequest request, ExternalDbNode.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalDbNode
public Waiter<GetExternalDbNodeRequest,GetExternalDbNodeResponse> forExternalDbNode(GetExternalDbNodeRequest request, ExternalDbNode.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalDbNode
public Waiter<GetExternalDbNodeRequest,GetExternalDbNodeResponse> forExternalDbNode(GetExternalDbNodeRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalDbNode.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalDbSystem
public Waiter<GetExternalDbSystemRequest,GetExternalDbSystemResponse> forExternalDbSystem(GetExternalDbSystemRequest request, ExternalDbSystem.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalDbSystem
public Waiter<GetExternalDbSystemRequest,GetExternalDbSystemResponse> forExternalDbSystem(GetExternalDbSystemRequest request, ExternalDbSystem.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalDbSystem
public Waiter<GetExternalDbSystemRequest,GetExternalDbSystemResponse> forExternalDbSystem(GetExternalDbSystemRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalDbSystem.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalDbSystemConnector
public Waiter<GetExternalDbSystemConnectorRequest,GetExternalDbSystemConnectorResponse> forExternalDbSystemConnector(GetExternalDbSystemConnectorRequest request, ExternalDbSystemConnector.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalDbSystemConnector
public Waiter<GetExternalDbSystemConnectorRequest,GetExternalDbSystemConnectorResponse> forExternalDbSystemConnector(GetExternalDbSystemConnectorRequest request, ExternalDbSystemConnector.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalDbSystemConnector
public Waiter<GetExternalDbSystemConnectorRequest,GetExternalDbSystemConnectorResponse> forExternalDbSystemConnector(GetExternalDbSystemConnectorRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalDbSystemConnector.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalDbSystemDiscovery
public Waiter<GetExternalDbSystemDiscoveryRequest,GetExternalDbSystemDiscoveryResponse> forExternalDbSystemDiscovery(GetExternalDbSystemDiscoveryRequest request, ExternalDbSystemDiscovery.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalDbSystemDiscovery
public Waiter<GetExternalDbSystemDiscoveryRequest,GetExternalDbSystemDiscoveryResponse> forExternalDbSystemDiscovery(GetExternalDbSystemDiscoveryRequest request, ExternalDbSystemDiscovery.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalDbSystemDiscovery
public Waiter<GetExternalDbSystemDiscoveryRequest,GetExternalDbSystemDiscoveryResponse> forExternalDbSystemDiscovery(GetExternalDbSystemDiscoveryRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalDbSystemDiscovery.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalListener
public Waiter<GetExternalListenerRequest,GetExternalListenerResponse> forExternalListener(GetExternalListenerRequest request, ExternalListener.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forExternalListener
public Waiter<GetExternalListenerRequest,GetExternalListenerResponse> forExternalListener(GetExternalListenerRequest request, ExternalListener.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalListener
public Waiter<GetExternalListenerRequest,GetExternalListenerResponse> forExternalListener(GetExternalListenerRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExternalListener.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forExternalMySqlDatabaseConnector
public Waiter<GetExternalMySqlDatabaseConnectorRequest,GetExternalMySqlDatabaseConnectorResponse> forExternalMySqlDatabaseConnector(GetExternalMySqlDatabaseConnectorRequest request, LifecycleStates... targetStates)
Creates a newWaiter
using 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
-
forExternalMySqlDatabaseConnector
public Waiter<GetExternalMySqlDatabaseConnectorRequest,GetExternalMySqlDatabaseConnectorResponse> forExternalMySqlDatabaseConnector(GetExternalMySqlDatabaseConnectorRequest request, LifecycleStates targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forExternalMySqlDatabaseConnector
public Waiter<GetExternalMySqlDatabaseConnectorRequest,GetExternalMySqlDatabaseConnectorResponse> forExternalMySqlDatabaseConnector(GetExternalMySqlDatabaseConnectorRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LifecycleStates... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forJob
public Waiter<GetJobRequest,GetJobResponse> forJob(GetJobRequest request, Job.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forJob
public Waiter<GetJobRequest,GetJobResponse> forJob(GetJobRequest request, Job.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forJob
public Waiter<GetJobRequest,GetJobResponse> forJob(GetJobRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Job.LifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forManagedDatabaseGroup
public Waiter<GetManagedDatabaseGroupRequest,GetManagedDatabaseGroupResponse> forManagedDatabaseGroup(GetManagedDatabaseGroupRequest request, LifecycleStates... targetStates)
Creates a newWaiter
using 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
-
forManagedDatabaseGroup
public Waiter<GetManagedDatabaseGroupRequest,GetManagedDatabaseGroupResponse> forManagedDatabaseGroup(GetManagedDatabaseGroupRequest request, LifecycleStates targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forManagedDatabaseGroup
public Waiter<GetManagedDatabaseGroupRequest,GetManagedDatabaseGroupResponse> forManagedDatabaseGroup(GetManagedDatabaseGroupRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LifecycleStates... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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
-
forNamedCredential
public Waiter<GetNamedCredentialRequest,GetNamedCredentialResponse> forNamedCredential(GetNamedCredentialRequest request, LifecycleStates... targetStates)
Creates a newWaiter
using 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
-
forNamedCredential
public Waiter<GetNamedCredentialRequest,GetNamedCredentialResponse> forNamedCredential(GetNamedCredentialRequest request, LifecycleStates targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forNamedCredential
public Waiter<GetNamedCredentialRequest,GetNamedCredentialResponse> forNamedCredential(GetNamedCredentialRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LifecycleStates... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to 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 newWaiter
using 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 newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- the to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
-