Package com.oracle.bmc.opsi
Class OperationsInsightsWaiters
- java.lang.Object
-
- com.oracle.bmc.opsi.OperationsInsightsWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class OperationsInsightsWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of OperationsInsights.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description OperationsInsightsWaiters(ExecutorService executorService, OperationsInsights client)
-
Method Summary
-
-
-
Constructor Detail
-
OperationsInsightsWaiters
public OperationsInsightsWaiters(ExecutorService executorService, OperationsInsights client)
-
-
Method Detail
-
forAwrHub
public Waiter<GetAwrHubRequest,GetAwrHubResponse> forAwrHub(GetAwrHubRequest request, AwrHubLifecycleState... 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
-
forAwrHub
public Waiter<GetAwrHubRequest,GetAwrHubResponse> forAwrHub(GetAwrHubRequest request, AwrHubLifecycleState 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
-
forAwrHub
public Waiter<GetAwrHubRequest,GetAwrHubResponse> forAwrHub(GetAwrHubRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, AwrHubLifecycleState... 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
-
forAwrHubSource
public Waiter<GetAwrHubSourceRequest,GetAwrHubSourceResponse> forAwrHubSource(GetAwrHubSourceRequest request, AwrHubSourceLifecycleState... 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
-
forAwrHubSource
public Waiter<GetAwrHubSourceRequest,GetAwrHubSourceResponse> forAwrHubSource(GetAwrHubSourceRequest request, AwrHubSourceLifecycleState 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
-
forAwrHubSource
public Waiter<GetAwrHubSourceRequest,GetAwrHubSourceResponse> forAwrHubSource(GetAwrHubSourceRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, AwrHubSourceLifecycleState... 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
-
forDatabaseInsight
public Waiter<GetDatabaseInsightRequest,GetDatabaseInsightResponse> forDatabaseInsight(GetDatabaseInsightRequest request, LifecycleState... 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
-
forDatabaseInsight
public Waiter<GetDatabaseInsightRequest,GetDatabaseInsightResponse> forDatabaseInsight(GetDatabaseInsightRequest request, 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
-
forDatabaseInsight
public Waiter<GetDatabaseInsightRequest,GetDatabaseInsightResponse> forDatabaseInsight(GetDatabaseInsightRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forEnterpriseManagerBridge
public Waiter<GetEnterpriseManagerBridgeRequest,GetEnterpriseManagerBridgeResponse> forEnterpriseManagerBridge(GetEnterpriseManagerBridgeRequest request, LifecycleState... 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
-
forEnterpriseManagerBridge
public Waiter<GetEnterpriseManagerBridgeRequest,GetEnterpriseManagerBridgeResponse> forEnterpriseManagerBridge(GetEnterpriseManagerBridgeRequest request, 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
-
forEnterpriseManagerBridge
public Waiter<GetEnterpriseManagerBridgeRequest,GetEnterpriseManagerBridgeResponse> forEnterpriseManagerBridge(GetEnterpriseManagerBridgeRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forExadataInsight
public Waiter<GetExadataInsightRequest,GetExadataInsightResponse> forExadataInsight(GetExadataInsightRequest request, ExadataInsightLifecycleState... 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
-
forExadataInsight
public Waiter<GetExadataInsightRequest,GetExadataInsightResponse> forExadataInsight(GetExadataInsightRequest request, ExadataInsightLifecycleState 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
-
forExadataInsight
public Waiter<GetExadataInsightRequest,GetExadataInsightResponse> forExadataInsight(GetExadataInsightRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExadataInsightLifecycleState... 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
-
forHostInsight
public Waiter<GetHostInsightRequest,GetHostInsightResponse> forHostInsight(GetHostInsightRequest request, LifecycleState... 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
-
forHostInsight
public Waiter<GetHostInsightRequest,GetHostInsightResponse> forHostInsight(GetHostInsightRequest request, 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
-
forHostInsight
public Waiter<GetHostInsightRequest,GetHostInsightResponse> forHostInsight(GetHostInsightRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forNewsReport
public Waiter<GetNewsReportRequest,GetNewsReportResponse> forNewsReport(GetNewsReportRequest request, LifecycleState... 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
-
forNewsReport
public Waiter<GetNewsReportRequest,GetNewsReportResponse> forNewsReport(GetNewsReportRequest request, 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
-
forNewsReport
public Waiter<GetNewsReportRequest,GetNewsReportResponse> forNewsReport(GetNewsReportRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forOperationsInsightsPrivateEndpoint
public Waiter<GetOperationsInsightsPrivateEndpointRequest,GetOperationsInsightsPrivateEndpointResponse> forOperationsInsightsPrivateEndpoint(GetOperationsInsightsPrivateEndpointRequest request, OperationsInsightsPrivateEndpointLifecycleState... 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
-
forOperationsInsightsPrivateEndpoint
public Waiter<GetOperationsInsightsPrivateEndpointRequest,GetOperationsInsightsPrivateEndpointResponse> forOperationsInsightsPrivateEndpoint(GetOperationsInsightsPrivateEndpointRequest request, OperationsInsightsPrivateEndpointLifecycleState 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
-
forOperationsInsightsPrivateEndpoint
public Waiter<GetOperationsInsightsPrivateEndpointRequest,GetOperationsInsightsPrivateEndpointResponse> forOperationsInsightsPrivateEndpoint(GetOperationsInsightsPrivateEndpointRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, OperationsInsightsPrivateEndpointLifecycleState... 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
-
forOperationsInsightsWarehouse
public Waiter<GetOperationsInsightsWarehouseRequest,GetOperationsInsightsWarehouseResponse> forOperationsInsightsWarehouse(GetOperationsInsightsWarehouseRequest request, OperationsInsightsWarehouseLifecycleState... 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
-
forOperationsInsightsWarehouse
public Waiter<GetOperationsInsightsWarehouseRequest,GetOperationsInsightsWarehouseResponse> forOperationsInsightsWarehouse(GetOperationsInsightsWarehouseRequest request, OperationsInsightsWarehouseLifecycleState 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
-
forOperationsInsightsWarehouse
public Waiter<GetOperationsInsightsWarehouseRequest,GetOperationsInsightsWarehouseResponse> forOperationsInsightsWarehouse(GetOperationsInsightsWarehouseRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, OperationsInsightsWarehouseLifecycleState... 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
-
forOperationsInsightsWarehouseUser
public Waiter<GetOperationsInsightsWarehouseUserRequest,GetOperationsInsightsWarehouseUserResponse> forOperationsInsightsWarehouseUser(GetOperationsInsightsWarehouseUserRequest request, OperationsInsightsWarehouseUserLifecycleState... 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
-
forOperationsInsightsWarehouseUser
public Waiter<GetOperationsInsightsWarehouseUserRequest,GetOperationsInsightsWarehouseUserResponse> forOperationsInsightsWarehouseUser(GetOperationsInsightsWarehouseUserRequest request, OperationsInsightsWarehouseUserLifecycleState 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
-
forOperationsInsightsWarehouseUser
public Waiter<GetOperationsInsightsWarehouseUserRequest,GetOperationsInsightsWarehouseUserResponse> forOperationsInsightsWarehouseUser(GetOperationsInsightsWarehouseUserRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, OperationsInsightsWarehouseUserLifecycleState... 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
-
forOpsiConfiguration
public Waiter<GetOpsiConfigurationRequest,GetOpsiConfigurationResponse> forOpsiConfiguration(GetOpsiConfigurationRequest request, OpsiConfigurationLifecycleState... 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
-
forOpsiConfiguration
public Waiter<GetOpsiConfigurationRequest,GetOpsiConfigurationResponse> forOpsiConfiguration(GetOpsiConfigurationRequest request, OpsiConfigurationLifecycleState 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
-
forOpsiConfiguration
public Waiter<GetOpsiConfigurationRequest,GetOpsiConfigurationResponse> forOpsiConfiguration(GetOpsiConfigurationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, OpsiConfigurationLifecycleState... 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
-
-