Package com.oracle.bmc.keymanagement
Class KmsHsmClusterWaiters
- java.lang.Object
-
- com.oracle.bmc.keymanagement.KmsHsmClusterWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: release") public class KmsHsmClusterWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of KmsHsmCluster.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
-
-
Constructor Summary
Constructors Constructor Description KmsHsmClusterWaiters(ExecutorService executorService, KmsHsmCluster client)
-
Method Summary
-
-
-
Constructor Detail
-
KmsHsmClusterWaiters
public KmsHsmClusterWaiters(ExecutorService executorService, KmsHsmCluster client)
-
-
Method Detail
-
forHsmCluster
public Waiter<GetHsmClusterRequest,GetHsmClusterResponse> forHsmCluster(GetHsmClusterRequest request, HsmCluster.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
-
forHsmCluster
public Waiter<GetHsmClusterRequest,GetHsmClusterResponse> forHsmCluster(GetHsmClusterRequest request, HsmCluster.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
-
forHsmCluster
public Waiter<GetHsmClusterRequest,GetHsmClusterResponse> forHsmCluster(GetHsmClusterRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, HsmCluster.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
-
forHsmPartition
public Waiter<GetHsmPartitionRequest,GetHsmPartitionResponse> forHsmPartition(GetHsmPartitionRequest request, HsmPartition.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
-
forHsmPartition
public Waiter<GetHsmPartitionRequest,GetHsmPartitionResponse> forHsmPartition(GetHsmPartitionRequest request, HsmPartition.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
-
forHsmPartition
public Waiter<GetHsmPartitionRequest,GetHsmPartitionResponse> forHsmPartition(GetHsmPartitionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, HsmPartition.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
-
-