Package com.oracle.bmc.containerengine
Class ContainerEngineWaiters
- java.lang.Object
-
- com.oracle.bmc.containerengine.ContainerEngineWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public class ContainerEngineWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of ContainerEngine.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description ContainerEngineWaiters(ExecutorService executorService, ContainerEngine client)
-
Method Summary
-
-
-
Constructor Detail
-
ContainerEngineWaiters
public ContainerEngineWaiters(ExecutorService executorService, ContainerEngine client)
-
-
Method Detail
-
forAddon
public Waiter<GetAddonRequest,GetAddonResponse> forAddon(GetAddonRequest request, AddonLifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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
-
forAddon
public Waiter<GetAddonRequest,GetAddonResponse> forAddon(GetAddonRequest request, AddonLifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forAddon
public Waiter<GetAddonRequest,GetAddonResponse> forAddon(GetAddonRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, AddonLifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forCluster
public Waiter<GetClusterRequest,GetClusterResponse> forCluster(GetClusterRequest request, ClusterLifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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
-
forCluster
public Waiter<GetClusterRequest,GetClusterResponse> forCluster(GetClusterRequest request, ClusterLifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forCluster
public Waiter<GetClusterRequest,GetClusterResponse> forCluster(GetClusterRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ClusterLifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forNodePool
public Waiter<GetNodePoolRequest,GetNodePoolResponse> forNodePool(GetNodePoolRequest request, NodePoolLifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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
-
forNodePool
public Waiter<GetNodePoolRequest,GetNodePoolResponse> forNodePool(GetNodePoolRequest request, NodePoolLifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forNodePool
public Waiter<GetNodePoolRequest,GetNodePoolResponse> forNodePool(GetNodePoolRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, NodePoolLifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forVirtualNode
public Waiter<GetVirtualNodeRequest,GetVirtualNodeResponse> forVirtualNode(GetVirtualNodeRequest request, VirtualNodeLifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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
-
forVirtualNode
public Waiter<GetVirtualNodeRequest,GetVirtualNodeResponse> forVirtualNode(GetVirtualNodeRequest request, VirtualNodeLifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forVirtualNode
public Waiter<GetVirtualNodeRequest,GetVirtualNodeResponse> forVirtualNode(GetVirtualNodeRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VirtualNodeLifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forVirtualNodePool
public Waiter<GetVirtualNodePoolRequest,GetVirtualNodePoolResponse> forVirtualNodePool(GetVirtualNodePoolRequest request, VirtualNodePoolLifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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
-
forVirtualNodePool
public Waiter<GetVirtualNodePoolRequest,GetVirtualNodePoolResponse> forVirtualNodePool(GetVirtualNodePoolRequest request, VirtualNodePoolLifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forVirtualNodePool
public Waiter<GetVirtualNodePoolRequest,GetVirtualNodePoolResponse> forVirtualNodePool(GetVirtualNodePoolRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VirtualNodePoolLifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
forWorkRequest
public Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request)
Creates a newWaiter
using default configuration.- Parameters:
request
- the request to send- Returns:
- a new Waiter instance
-
forWorkRequest
public Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- the to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forWorkloadMapping
public Waiter<GetWorkloadMappingRequest,GetWorkloadMappingResponse> forWorkloadMapping(GetWorkloadMappingRequest request, WorkloadMappingLifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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
-
forWorkloadMapping
public Waiter<GetWorkloadMappingRequest,GetWorkloadMappingResponse> forWorkloadMapping(GetWorkloadMappingRequest request, WorkloadMappingLifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forWorkloadMapping
public Waiter<GetWorkloadMappingRequest,GetWorkloadMappingResponse> forWorkloadMapping(GetWorkloadMappingRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, WorkloadMappingLifecycleState... targetStates)
Creates a newWaiter
using the provided configuration.- Parameters:
request
- the request to sendterminationStrategy
- theTerminationStrategy
to usedelayStrategy
- theDelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided states- Returns:
- a new Waiter instance
-
-