Package com.oracle.bmc.servicemesh
Class ServiceMeshWaiters
- java.lang.Object
-
- com.oracle.bmc.servicemesh.ServiceMeshWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220615") public class ServiceMeshWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of ServiceMesh.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description ServiceMeshWaiters(ExecutorService executorService, ServiceMesh client)
-
Method Summary
-
-
-
Constructor Detail
-
ServiceMeshWaiters
public ServiceMeshWaiters(ExecutorService executorService, ServiceMesh client)
-
-
Method Detail
-
forAccessPolicy
public Waiter<GetAccessPolicyRequest,GetAccessPolicyResponse> forAccessPolicy(GetAccessPolicyRequest request, AccessPolicy.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
-
forAccessPolicy
public Waiter<GetAccessPolicyRequest,GetAccessPolicyResponse> forAccessPolicy(GetAccessPolicyRequest request, AccessPolicy.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
-
forAccessPolicy
public Waiter<GetAccessPolicyRequest,GetAccessPolicyResponse> forAccessPolicy(GetAccessPolicyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, AccessPolicy.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
-
forIngressGateway
public Waiter<GetIngressGatewayRequest,GetIngressGatewayResponse> forIngressGateway(GetIngressGatewayRequest request, IngressGateway.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
-
forIngressGateway
public Waiter<GetIngressGatewayRequest,GetIngressGatewayResponse> forIngressGateway(GetIngressGatewayRequest request, IngressGateway.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
-
forIngressGateway
public Waiter<GetIngressGatewayRequest,GetIngressGatewayResponse> forIngressGateway(GetIngressGatewayRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, IngressGateway.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
-
forIngressGatewayRouteTable
public Waiter<GetIngressGatewayRouteTableRequest,GetIngressGatewayRouteTableResponse> forIngressGatewayRouteTable(GetIngressGatewayRouteTableRequest request, IngressGatewayRouteTable.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
-
forIngressGatewayRouteTable
public Waiter<GetIngressGatewayRouteTableRequest,GetIngressGatewayRouteTableResponse> forIngressGatewayRouteTable(GetIngressGatewayRouteTableRequest request, IngressGatewayRouteTable.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
-
forIngressGatewayRouteTable
public Waiter<GetIngressGatewayRouteTableRequest,GetIngressGatewayRouteTableResponse> forIngressGatewayRouteTable(GetIngressGatewayRouteTableRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, IngressGatewayRouteTable.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
-
forMesh
public Waiter<GetMeshRequest,GetMeshResponse> forMesh(GetMeshRequest request, Mesh.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
-
forMesh
public Waiter<GetMeshRequest,GetMeshResponse> forMesh(GetMeshRequest request, Mesh.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
-
forMesh
public Waiter<GetMeshRequest,GetMeshResponse> forMesh(GetMeshRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Mesh.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
-
forVirtualDeployment
public Waiter<GetVirtualDeploymentRequest,GetVirtualDeploymentResponse> forVirtualDeployment(GetVirtualDeploymentRequest request, VirtualDeployment.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
-
forVirtualDeployment
public Waiter<GetVirtualDeploymentRequest,GetVirtualDeploymentResponse> forVirtualDeployment(GetVirtualDeploymentRequest request, VirtualDeployment.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
-
forVirtualDeployment
public Waiter<GetVirtualDeploymentRequest,GetVirtualDeploymentResponse> forVirtualDeployment(GetVirtualDeploymentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VirtualDeployment.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
-
forVirtualService
public Waiter<GetVirtualServiceRequest,GetVirtualServiceResponse> forVirtualService(GetVirtualServiceRequest request, VirtualService.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
-
forVirtualService
public Waiter<GetVirtualServiceRequest,GetVirtualServiceResponse> forVirtualService(GetVirtualServiceRequest request, VirtualService.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
-
forVirtualService
public Waiter<GetVirtualServiceRequest,GetVirtualServiceResponse> forVirtualService(GetVirtualServiceRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VirtualService.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
-
forVirtualServiceRouteTable
public Waiter<GetVirtualServiceRouteTableRequest,GetVirtualServiceRouteTableResponse> forVirtualServiceRouteTable(GetVirtualServiceRouteTableRequest request, VirtualServiceRouteTable.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
-
forVirtualServiceRouteTable
public Waiter<GetVirtualServiceRouteTableRequest,GetVirtualServiceRouteTableResponse> forVirtualServiceRouteTable(GetVirtualServiceRouteTableRequest request, VirtualServiceRouteTable.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
-
forVirtualServiceRouteTable
public Waiter<GetVirtualServiceRouteTableRequest,GetVirtualServiceRouteTableResponse> forVirtualServiceRouteTable(GetVirtualServiceRouteTableRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VirtualServiceRouteTable.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
-
-