Package com.oracle.bmc.optimizer
Class OptimizerWaiters
- java.lang.Object
- 
- com.oracle.bmc.optimizer.OptimizerWaiters
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public class OptimizerWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of Optimizer.The default configuration used is defined by com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
- 
- 
Constructor SummaryConstructors Constructor Description OptimizerWaiters(ExecutorService executorService, Optimizer client)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
OptimizerWaiterspublic OptimizerWaiters(ExecutorService executorService, Optimizer client) 
 
- 
 - 
Method Detail- 
forCategorypublic Waiter<GetCategoryRequest,GetCategoryResponse> forCategory(GetCategoryRequest request, LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetState- 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
 
 - 
forCategorypublic Waiter<GetCategoryRequest,GetCategoryResponse> forCategory(GetCategoryRequest request, 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
 
 - 
forCategorypublic Waiter<GetCategoryRequest,GetCategoryResponse> forCategory(GetCategoryRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
 
 - 
forEnrollmentStatuspublic Waiter<GetEnrollmentStatusRequest,GetEnrollmentStatusResponse> forEnrollmentStatus(GetEnrollmentStatusRequest request, LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetState- 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
 
 - 
forEnrollmentStatuspublic Waiter<GetEnrollmentStatusRequest,GetEnrollmentStatusResponse> forEnrollmentStatus(GetEnrollmentStatusRequest request, 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
 
 - 
forEnrollmentStatuspublic Waiter<GetEnrollmentStatusRequest,GetEnrollmentStatusResponse> forEnrollmentStatus(GetEnrollmentStatusRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
 
 - 
forProfilepublic Waiter<GetProfileRequest,GetProfileResponse> forProfile(GetProfileRequest request, LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetState- 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
 
 - 
forProfilepublic Waiter<GetProfileRequest,GetProfileResponse> forProfile(GetProfileRequest request, 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
 
 - 
forProfilepublic Waiter<GetProfileRequest,GetProfileResponse> forProfile(GetProfileRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
 
 - 
forRecommendationpublic Waiter<GetRecommendationRequest,GetRecommendationResponse> forRecommendation(GetRecommendationRequest request, LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetState- 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
 
 - 
forRecommendationpublic Waiter<GetRecommendationRequest,GetRecommendationResponse> forRecommendation(GetRecommendationRequest request, 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
 
 - 
forRecommendationpublic Waiter<GetRecommendationRequest,GetRecommendationResponse> forRecommendation(GetRecommendationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
 
 - 
forResourceActionpublic Waiter<GetResourceActionRequest,GetResourceActionResponse> forResourceAction(GetResourceActionRequest request, LifecycleState... targetStates) Creates a newWaiterusing the default configuration.- Parameters:
- request- the request to send
- targetState- 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
 
 - 
forResourceActionpublic Waiter<GetResourceActionRequest,GetResourceActionResponse> forResourceAction(GetResourceActionRequest request, 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
 
 - 
forResourceActionpublic Waiter<GetResourceActionRequest,GetResourceActionResponse> forResourceAction(GetResourceActionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 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
 
 
- 
 
-