Package com.oracle.bmc.apigateway
Class ApiGatewayWaiters
- java.lang.Object
-
- com.oracle.bmc.apigateway.ApiGatewayWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public class ApiGatewayWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of ApiGateway.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
-
-
Constructor Summary
Constructors Constructor Description ApiGatewayWaiters(ExecutorService executorService, ApiGateway client)
-
Method Summary
-
-
-
Constructor Detail
-
ApiGatewayWaiters
public ApiGatewayWaiters(ExecutorService executorService, ApiGateway client)
-
-
Method Detail
-
forApi
public Waiter<GetApiRequest,GetApiResponse> forApi(GetApiRequest request, Api.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
-
forApi
public Waiter<GetApiRequest,GetApiResponse> forApi(GetApiRequest request, Api.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
-
forApi
public Waiter<GetApiRequest,GetApiResponse> forApi(GetApiRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Api.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
-
forCertificate
public Waiter<GetCertificateRequest,GetCertificateResponse> forCertificate(GetCertificateRequest request, Certificate.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
-
forCertificate
public Waiter<GetCertificateRequest,GetCertificateResponse> forCertificate(GetCertificateRequest request, Certificate.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
-
forCertificate
public Waiter<GetCertificateRequest,GetCertificateResponse> forCertificate(GetCertificateRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Certificate.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
-
forSdk
public Waiter<GetSdkRequest,GetSdkResponse> forSdk(GetSdkRequest request, Sdk.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
-
forSdk
public Waiter<GetSdkRequest,GetSdkResponse> forSdk(GetSdkRequest request, Sdk.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
-
forSdk
public Waiter<GetSdkRequest,GetSdkResponse> forSdk(GetSdkRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Sdk.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
-
-