Package com.oracle.bmc.keymanagement
Class KmsManagementWaiters
- java.lang.Object
- 
- com.oracle.bmc.keymanagement.KmsManagementWaiters
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: release") public class KmsManagementWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of KmsManagement.The default configuration used is defined by com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
- 
- 
Constructor SummaryConstructors Constructor Description KmsManagementWaiters(ExecutorService executorService, KmsManagement client)
 - 
Method Summary
 
- 
- 
- 
Constructor Detail- 
KmsManagementWaiterspublic KmsManagementWaiters(ExecutorService executorService, KmsManagement client) 
 
- 
 - 
Method Detail- 
forKeypublic Waiter<GetKeyRequest,GetKeyResponse> forKey(GetKeyRequest request, Key.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
 
 - 
forKeypublic Waiter<GetKeyRequest,GetKeyResponse> forKey(GetKeyRequest request, Key.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
 
 - 
forKeypublic Waiter<GetKeyRequest,GetKeyResponse> forKey(GetKeyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Key.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
 
 - 
forKeyVersionpublic Waiter<GetKeyVersionRequest,GetKeyVersionResponse> forKeyVersion(GetKeyVersionRequest request, KeyVersion.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
 
 - 
forKeyVersionpublic Waiter<GetKeyVersionRequest,GetKeyVersionResponse> forKeyVersion(GetKeyVersionRequest request, KeyVersion.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
 
 - 
forKeyVersionpublic Waiter<GetKeyVersionRequest,GetKeyVersionResponse> forKeyVersion(GetKeyVersionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, KeyVersion.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
 
 - 
forWrappingKeypublic Waiter<GetWrappingKeyRequest,GetWrappingKeyResponse> forWrappingKey(GetWrappingKeyRequest request, WrappingKey.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
 
 - 
forWrappingKeypublic Waiter<GetWrappingKeyRequest,GetWrappingKeyResponse> forWrappingKey(GetWrappingKeyRequest request, WrappingKey.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
 
 - 
forWrappingKeypublic Waiter<GetWrappingKeyRequest,GetWrappingKeyResponse> forWrappingKey(GetWrappingKeyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, WrappingKey.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
 
 
- 
 
-