@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class VirtualNetworkWaiters extends Object
Collection of helper methods to produce Waiter
s for different resources of VirtualNetwork.
The default configuration used is defined by Waiters#DEFAULT_POLLING_WAITER
.
Constructor and Description |
---|
VirtualNetworkWaiters(ExecutorService executorService,
VirtualNetwork client) |
@ConstructorProperties(value={"executorService","client"}) public VirtualNetworkWaiters(ExecutorService executorService, VirtualNetwork client)
public Waiter<GetCrossConnectRequest,GetCrossConnectResponse> forCrossConnect(GetCrossConnectRequest request, CrossConnect.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetCrossConnectRequest,GetCrossConnectResponse> forCrossConnect(GetCrossConnectRequest request, CrossConnect.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetCrossConnectRequest,GetCrossConnectResponse> forCrossConnect(GetCrossConnectRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, CrossConnect.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetCrossConnectGroupRequest,GetCrossConnectGroupResponse> forCrossConnectGroup(GetCrossConnectGroupRequest request, CrossConnectGroup.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetCrossConnectGroupRequest,GetCrossConnectGroupResponse> forCrossConnectGroup(GetCrossConnectGroupRequest request, CrossConnectGroup.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetCrossConnectGroupRequest,GetCrossConnectGroupResponse> forCrossConnectGroup(GetCrossConnectGroupRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, CrossConnectGroup.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetDhcpOptionsRequest,GetDhcpOptionsResponse> forDhcpOptions(GetDhcpOptionsRequest request, DhcpOptions.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetDhcpOptionsRequest,GetDhcpOptionsResponse> forDhcpOptions(GetDhcpOptionsRequest request, DhcpOptions.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetDhcpOptionsRequest,GetDhcpOptionsResponse> forDhcpOptions(GetDhcpOptionsRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DhcpOptions.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetDrgRequest,GetDrgResponse> forDrg(GetDrgRequest request, Drg.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetDrgRequest,GetDrgResponse> forDrg(GetDrgRequest request, Drg.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetDrgRequest,GetDrgResponse> forDrg(GetDrgRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Drg.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetDrgAttachmentRequest,GetDrgAttachmentResponse> forDrgAttachment(GetDrgAttachmentRequest request, DrgAttachment.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetDrgAttachmentRequest,GetDrgAttachmentResponse> forDrgAttachment(GetDrgAttachmentRequest request, DrgAttachment.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetDrgAttachmentRequest,GetDrgAttachmentResponse> forDrgAttachment(GetDrgAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DrgAttachment.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetIPSecConnectionRequest,GetIPSecConnectionResponse> forIPSecConnection(GetIPSecConnectionRequest request, IPSecConnection.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetIPSecConnectionRequest,GetIPSecConnectionResponse> forIPSecConnection(GetIPSecConnectionRequest request, IPSecConnection.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetIPSecConnectionRequest,GetIPSecConnectionResponse> forIPSecConnection(GetIPSecConnectionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, IPSecConnection.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetIPSecConnectionTunnelRequest,GetIPSecConnectionTunnelResponse> forIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest request, IPSecConnectionTunnel.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetIPSecConnectionTunnelRequest,GetIPSecConnectionTunnelResponse> forIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest request, IPSecConnectionTunnel.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetIPSecConnectionTunnelRequest,GetIPSecConnectionTunnelResponse> forIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, IPSecConnectionTunnel.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetInternetGatewayRequest,GetInternetGatewayResponse> forInternetGateway(GetInternetGatewayRequest request, InternetGateway.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetInternetGatewayRequest,GetInternetGatewayResponse> forInternetGateway(GetInternetGatewayRequest request, InternetGateway.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetInternetGatewayRequest,GetInternetGatewayResponse> forInternetGateway(GetInternetGatewayRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, InternetGateway.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetLocalPeeringGatewayRequest,GetLocalPeeringGatewayResponse> forLocalPeeringGateway(GetLocalPeeringGatewayRequest request, LocalPeeringGateway.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetLocalPeeringGatewayRequest,GetLocalPeeringGatewayResponse> forLocalPeeringGateway(GetLocalPeeringGatewayRequest request, LocalPeeringGateway.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetLocalPeeringGatewayRequest,GetLocalPeeringGatewayResponse> forLocalPeeringGateway(GetLocalPeeringGatewayRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LocalPeeringGateway.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetLocalPeeringGatewayRequest,GetLocalPeeringGatewayResponse> forLocalPeeringGateway(GetLocalPeeringGatewayRequest request, LocalPeeringGateway.PeeringStatus... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetLocalPeeringGatewayRequest,GetLocalPeeringGatewayResponse> forLocalPeeringGateway(GetLocalPeeringGatewayRequest request, LocalPeeringGateway.PeeringStatus targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetLocalPeeringGatewayRequest,GetLocalPeeringGatewayResponse> forLocalPeeringGateway(GetLocalPeeringGatewayRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, LocalPeeringGateway.PeeringStatus... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetNatGatewayRequest,GetNatGatewayResponse> forNatGateway(GetNatGatewayRequest request, NatGateway.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetNatGatewayRequest,GetNatGatewayResponse> forNatGateway(GetNatGatewayRequest request, NatGateway.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetNatGatewayRequest,GetNatGatewayResponse> forNatGateway(GetNatGatewayRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, NatGateway.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetPublicIpRequest,GetPublicIpResponse> forPublicIp(GetPublicIpRequest request, PublicIp.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetPublicIpRequest,GetPublicIpResponse> forPublicIp(GetPublicIpRequest request, PublicIp.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetPublicIpRequest,GetPublicIpResponse> forPublicIp(GetPublicIpRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, PublicIp.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetRemotePeeringConnectionRequest,GetRemotePeeringConnectionResponse> forRemotePeeringConnection(GetRemotePeeringConnectionRequest request, RemotePeeringConnection.PeeringStatus... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetRemotePeeringConnectionRequest,GetRemotePeeringConnectionResponse> forRemotePeeringConnection(GetRemotePeeringConnectionRequest request, RemotePeeringConnection.PeeringStatus targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetRemotePeeringConnectionRequest,GetRemotePeeringConnectionResponse> forRemotePeeringConnection(GetRemotePeeringConnectionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, RemotePeeringConnection.PeeringStatus... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetRemotePeeringConnectionRequest,GetRemotePeeringConnectionResponse> forRemotePeeringConnection(GetRemotePeeringConnectionRequest request, RemotePeeringConnection.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetRemotePeeringConnectionRequest,GetRemotePeeringConnectionResponse> forRemotePeeringConnection(GetRemotePeeringConnectionRequest request, RemotePeeringConnection.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetRemotePeeringConnectionRequest,GetRemotePeeringConnectionResponse> forRemotePeeringConnection(GetRemotePeeringConnectionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, RemotePeeringConnection.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetRouteTableRequest,GetRouteTableResponse> forRouteTable(GetRouteTableRequest request, RouteTable.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetRouteTableRequest,GetRouteTableResponse> forRouteTable(GetRouteTableRequest request, RouteTable.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetRouteTableRequest,GetRouteTableResponse> forRouteTable(GetRouteTableRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, RouteTable.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetSecurityListRequest,GetSecurityListResponse> forSecurityList(GetSecurityListRequest request, SecurityList.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetSecurityListRequest,GetSecurityListResponse> forSecurityList(GetSecurityListRequest request, SecurityList.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetSecurityListRequest,GetSecurityListResponse> forSecurityList(GetSecurityListRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, SecurityList.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetServiceGatewayRequest,GetServiceGatewayResponse> forServiceGateway(GetServiceGatewayRequest request, ServiceGateway.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetServiceGatewayRequest,GetServiceGatewayResponse> forServiceGateway(GetServiceGatewayRequest request, ServiceGateway.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetServiceGatewayRequest,GetServiceGatewayResponse> forServiceGateway(GetServiceGatewayRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ServiceGateway.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetSubnetRequest,GetSubnetResponse> forSubnet(GetSubnetRequest request, Subnet.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetSubnetRequest,GetSubnetResponse> forSubnet(GetSubnetRequest request, Subnet.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetSubnetRequest,GetSubnetResponse> forSubnet(GetSubnetRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Subnet.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetVcnRequest,GetVcnResponse> forVcn(GetVcnRequest request, Vcn.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetVcnRequest,GetVcnResponse> forVcn(GetVcnRequest request, Vcn.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetVcnRequest,GetVcnResponse> forVcn(GetVcnRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Vcn.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetVirtualCircuitRequest,GetVirtualCircuitResponse> forVirtualCircuit(GetVirtualCircuitRequest request, VirtualCircuit.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetVirtualCircuitRequest,GetVirtualCircuitResponse> forVirtualCircuit(GetVirtualCircuitRequest request, VirtualCircuit.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetVirtualCircuitRequest,GetVirtualCircuitResponse> forVirtualCircuit(GetVirtualCircuitRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VirtualCircuit.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instancepublic Waiter<GetVnicRequest,GetVnicResponse> forVnic(GetVnicRequest request, Vnic.LifecycleState... targetStates)
Creates a new Waiter
using default configuration.
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 statesWaiter
instancepublic Waiter<GetVnicRequest,GetVnicResponse> forVnic(GetVnicRequest request, Vnic.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendtargetState
- the desired state to wait forterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to useWaiter
instancepublic Waiter<GetVnicRequest,GetVnicResponse> forVnic(GetVnicRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Vnic.LifecycleState... targetStates)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the DelayStrategy
to usetargetStates
- the desired states to wait for. The waiter will return once the resource reaches any of the provided statesWaiter
instanceCopyright © 2016–2019. All rights reserved.