Class LinkWaiters
- java.lang.Object
-
- com.oracle.bmc.tenantmanagercontrolplane.LinkWaiters
-
-
Constructor Summary
Constructors Constructor Description LinkWaiters(ExecutorService executorService, Link client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Waiter<GetLinkRequest,GetLinkResponse>forLink(GetLinkRequest request, LifecycleState... targetStates)Creates a newWaiterusing the default configuration.Waiter<GetLinkRequest,GetLinkResponse>forLink(GetLinkRequest request, LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)Creates a newWaiterusing the provided configuration.Waiter<GetLinkRequest,GetLinkResponse>forLink(GetLinkRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LifecycleState... targetStates)Creates a newWaiterusing the provided configuration.
-
-
-
Constructor Detail
-
LinkWaiters
public LinkWaiters(ExecutorService executorService, Link client)
-
-
Method Detail
-
forLink
public Waiter<GetLinkRequest,GetLinkResponse> forLink(GetLinkRequest request, LifecycleState... targetStates)
Creates a newWaiterusing 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
-
forLink
public Waiter<GetLinkRequest,GetLinkResponse> forLink(GetLinkRequest request, 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
-
forLink
public Waiter<GetLinkRequest,GetLinkResponse> forLink(GetLinkRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
-