Package com.oracle.bmc.waf
Class WafWaiters
- java.lang.Object
-
- com.oracle.bmc.waf.WafWaiters
-
-
Constructor Summary
Constructors Constructor Description WafWaiters(ExecutorService executorService, Waf client)
-
Method Summary
-
-
-
Constructor Detail
-
WafWaiters
public WafWaiters(ExecutorService executorService, Waf client)
-
-
Method Detail
-
forNetworkAddressList
public Waiter<GetNetworkAddressListRequest,GetNetworkAddressListResponse> forNetworkAddressList(GetNetworkAddressListRequest request, NetworkAddressList.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forNetworkAddressList
public Waiter<GetNetworkAddressListRequest,GetNetworkAddressListResponse> forNetworkAddressList(GetNetworkAddressListRequest request, NetworkAddressList.LifecycleState 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
-
forNetworkAddressList
public Waiter<GetNetworkAddressListRequest,GetNetworkAddressListResponse> forNetworkAddressList(GetNetworkAddressListRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, NetworkAddressList.LifecycleState... 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 com.oracle.bmc.waiter.Waiter instance
-
forWebAppFirewall
public Waiter<GetWebAppFirewallRequest,GetWebAppFirewallResponse> forWebAppFirewall(GetWebAppFirewallRequest request, WebAppFirewall.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forWebAppFirewall
public Waiter<GetWebAppFirewallRequest,GetWebAppFirewallResponse> forWebAppFirewall(GetWebAppFirewallRequest request, WebAppFirewall.LifecycleState 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
-
forWebAppFirewall
public Waiter<GetWebAppFirewallRequest,GetWebAppFirewallResponse> forWebAppFirewall(GetWebAppFirewallRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, WebAppFirewall.LifecycleState... 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 com.oracle.bmc.waiter.Waiter instance
-
forWebAppFirewallPolicy
public Waiter<GetWebAppFirewallPolicyRequest,GetWebAppFirewallPolicyResponse> forWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest request, WebAppFirewallPolicy.LifecycleState... targetStates)
Creates a newWaiter
using 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
-
forWebAppFirewallPolicy
public Waiter<GetWebAppFirewallPolicyRequest,GetWebAppFirewallPolicyResponse> forWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest request, WebAppFirewallPolicy.LifecycleState 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
-
forWebAppFirewallPolicy
public Waiter<GetWebAppFirewallPolicyRequest,GetWebAppFirewallPolicyResponse> forWebAppFirewallPolicy(GetWebAppFirewallPolicyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, WebAppFirewallPolicy.LifecycleState... 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 com.oracle.bmc.waiter.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
-
-