Package com.oracle.bmc.zpr
Class ZprWaiters
- java.lang.Object
- 
- com.oracle.bmc.zpr.ZprWaiters
 
- 
- 
Constructor SummaryConstructors Constructor Description ZprWaiters(ExecutorService executorService, Zpr client)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
ZprWaiterspublic ZprWaiters(ExecutorService executorService, Zpr client) 
 
- 
 - 
Method Detail- 
forConfigurationpublic Waiter<GetConfigurationRequest,GetConfigurationResponse> forConfiguration(GetConfigurationRequest request, Configuration.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
 
 - 
forConfigurationpublic Waiter<GetConfigurationRequest,GetConfigurationResponse> forConfiguration(GetConfigurationRequest request, Configuration.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
 
 - 
forConfigurationpublic Waiter<GetConfigurationRequest,GetConfigurationResponse> forConfiguration(GetConfigurationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Configuration.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
 
 - 
forZprPolicypublic Waiter<GetZprPolicyRequest,GetZprPolicyResponse> forZprPolicy(GetZprPolicyRequest request, ZprPolicy.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
 
 - 
forZprPolicypublic Waiter<GetZprPolicyRequest,GetZprPolicyResponse> forZprPolicy(GetZprPolicyRequest request, ZprPolicy.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
 
 - 
forZprPolicypublic Waiter<GetZprPolicyRequest,GetZprPolicyResponse> forZprPolicy(GetZprPolicyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ZprPolicy.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
 
 
- 
 
-