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 Summary
Constructors Constructor Description KmsManagementWaiters(ExecutorService executorService, KmsManagement client)
-
Method Summary
-
-
-
Constructor Detail
-
KmsManagementWaiters
public KmsManagementWaiters(ExecutorService executorService, KmsManagement client)
-
-
Method Detail
-
forKey
public Waiter<GetKeyRequest,GetKeyResponse> forKey(GetKeyRequest request, Key.LifecycleState... targetStates)
Creates a newWaiterusing 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
-
forKey
public Waiter<GetKeyRequest,GetKeyResponse> forKey(GetKeyRequest request, Key.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forKey
public Waiter<GetKeyRequest,GetKeyResponse> forKey(GetKeyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Key.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto 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
-
forKeyVersion
public Waiter<GetKeyVersionRequest,GetKeyVersionResponse> forKeyVersion(GetKeyVersionRequest request, KeyVersion.LifecycleState... targetStates)
Creates a newWaiterusing 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
-
forKeyVersion
public Waiter<GetKeyVersionRequest,GetKeyVersionResponse> forKeyVersion(GetKeyVersionRequest request, KeyVersion.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forKeyVersion
public Waiter<GetKeyVersionRequest,GetKeyVersionResponse> forKeyVersion(GetKeyVersionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, KeyVersion.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto 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
-
forWrappingKey
public Waiter<GetWrappingKeyRequest,GetWrappingKeyResponse> forWrappingKey(GetWrappingKeyRequest request, WrappingKey.LifecycleState... targetStates)
Creates a newWaiterusing 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
-
forWrappingKey
public Waiter<GetWrappingKeyRequest,GetWrappingKeyResponse> forWrappingKey(GetWrappingKeyRequest request, WrappingKey.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forWrappingKey
public Waiter<GetWrappingKeyRequest,GetWrappingKeyResponse> forWrappingKey(GetWrappingKeyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, WrappingKey.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto 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
-
-