@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class ComputeWaiters extends Object
Collection of helper methods to produce Waiter
s for different resources of Compute.
The default configuration used is defined by Waiters#DEFAULT_POLLING_WAITER
.
Constructor and Description |
---|
ComputeWaiters(ExecutorService executorService,
Compute client) |
@ConstructorProperties(value={"executorService","client"}) public ComputeWaiters(ExecutorService executorService, Compute client)
public Waiter<GetBootVolumeAttachmentRequest,GetBootVolumeAttachmentResponse> forBootVolumeAttachment(GetBootVolumeAttachmentRequest request, BootVolumeAttachment.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<GetBootVolumeAttachmentRequest,GetBootVolumeAttachmentResponse> forBootVolumeAttachment(GetBootVolumeAttachmentRequest request, BootVolumeAttachment.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<GetBootVolumeAttachmentRequest,GetBootVolumeAttachmentResponse> forBootVolumeAttachment(GetBootVolumeAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BootVolumeAttachment.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<GetConsoleHistoryRequest,GetConsoleHistoryResponse> forConsoleHistory(GetConsoleHistoryRequest request, ConsoleHistory.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<GetConsoleHistoryRequest,GetConsoleHistoryResponse> forConsoleHistory(GetConsoleHistoryRequest request, ConsoleHistory.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<GetConsoleHistoryRequest,GetConsoleHistoryResponse> forConsoleHistory(GetConsoleHistoryRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ConsoleHistory.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<GetImageRequest,GetImageResponse> forImage(GetImageRequest request, Image.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<GetImageRequest,GetImageResponse> forImage(GetImageRequest request, Image.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<GetImageRequest,GetImageResponse> forImage(GetImageRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Image.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<GetInstanceRequest,GetInstanceResponse> forInstance(GetInstanceRequest request, Instance.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<GetInstanceRequest,GetInstanceResponse> forInstance(GetInstanceRequest request, Instance.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<GetInstanceRequest,GetInstanceResponse> forInstance(GetInstanceRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Instance.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<GetInstanceConsoleConnectionRequest,GetInstanceConsoleConnectionResponse> forInstanceConsoleConnection(GetInstanceConsoleConnectionRequest request, InstanceConsoleConnection.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<GetInstanceConsoleConnectionRequest,GetInstanceConsoleConnectionResponse> forInstanceConsoleConnection(GetInstanceConsoleConnectionRequest request, InstanceConsoleConnection.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<GetInstanceConsoleConnectionRequest,GetInstanceConsoleConnectionResponse> forInstanceConsoleConnection(GetInstanceConsoleConnectionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, InstanceConsoleConnection.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<GetVnicAttachmentRequest,GetVnicAttachmentResponse> forVnicAttachment(GetVnicAttachmentRequest request, VnicAttachment.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<GetVnicAttachmentRequest,GetVnicAttachmentResponse> forVnicAttachment(GetVnicAttachmentRequest request, VnicAttachment.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<GetVnicAttachmentRequest,GetVnicAttachmentResponse> forVnicAttachment(GetVnicAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VnicAttachment.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<GetVolumeAttachmentRequest,GetVolumeAttachmentResponse> forVolumeAttachment(GetVolumeAttachmentRequest request, VolumeAttachment.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<GetVolumeAttachmentRequest,GetVolumeAttachmentResponse> forVolumeAttachment(GetVolumeAttachmentRequest request, VolumeAttachment.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<GetVolumeAttachmentRequest,GetVolumeAttachmentResponse> forVolumeAttachment(GetVolumeAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, VolumeAttachment.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.