Package com.oracle.bmc.filestorage
Class FileStorageWaiters
- java.lang.Object
-
- com.oracle.bmc.filestorage.FileStorageWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20171215") public class FileStorageWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of FileStorage.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description FileStorageWaiters(ExecutorService executorService, FileStorage client)
-
Method Summary
-
-
-
Constructor Detail
-
FileStorageWaiters
public FileStorageWaiters(ExecutorService executorService, FileStorage client)
-
-
Method Detail
-
forExport
public Waiter<GetExportRequest,GetExportResponse> forExport(GetExportRequest request, Export.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
-
forExport
public Waiter<GetExportRequest,GetExportResponse> forExport(GetExportRequest request, Export.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
-
forExport
public Waiter<GetExportRequest,GetExportResponse> forExport(GetExportRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Export.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
-
forExportSet
public Waiter<GetExportSetRequest,GetExportSetResponse> forExportSet(GetExportSetRequest request, ExportSet.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
-
forExportSet
public Waiter<GetExportSetRequest,GetExportSetResponse> forExportSet(GetExportSetRequest request, ExportSet.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
-
forExportSet
public Waiter<GetExportSetRequest,GetExportSetResponse> forExportSet(GetExportSetRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ExportSet.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
-
forFileSystem
public Waiter<GetFileSystemRequest,GetFileSystemResponse> forFileSystem(GetFileSystemRequest request, FileSystem.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
-
forFileSystem
public Waiter<GetFileSystemRequest,GetFileSystemResponse> forFileSystem(GetFileSystemRequest request, FileSystem.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
-
forFileSystem
public Waiter<GetFileSystemRequest,GetFileSystemResponse> forFileSystem(GetFileSystemRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, FileSystem.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
-
forFilesystemSnapshotPolicy
public Waiter<GetFilesystemSnapshotPolicyRequest,GetFilesystemSnapshotPolicyResponse> forFilesystemSnapshotPolicy(GetFilesystemSnapshotPolicyRequest request, FilesystemSnapshotPolicy.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
-
forFilesystemSnapshotPolicy
public Waiter<GetFilesystemSnapshotPolicyRequest,GetFilesystemSnapshotPolicyResponse> forFilesystemSnapshotPolicy(GetFilesystemSnapshotPolicyRequest request, FilesystemSnapshotPolicy.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
-
forFilesystemSnapshotPolicy
public Waiter<GetFilesystemSnapshotPolicyRequest,GetFilesystemSnapshotPolicyResponse> forFilesystemSnapshotPolicy(GetFilesystemSnapshotPolicyRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, FilesystemSnapshotPolicy.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
-
forMountTarget
public Waiter<GetMountTargetRequest,GetMountTargetResponse> forMountTarget(GetMountTargetRequest request, MountTarget.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
-
forMountTarget
public Waiter<GetMountTargetRequest,GetMountTargetResponse> forMountTarget(GetMountTargetRequest request, MountTarget.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
-
forMountTarget
public Waiter<GetMountTargetRequest,GetMountTargetResponse> forMountTarget(GetMountTargetRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, MountTarget.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
-
forOutboundConnector
public Waiter<GetOutboundConnectorRequest,GetOutboundConnectorResponse> forOutboundConnector(GetOutboundConnectorRequest request, OutboundConnector.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
-
forOutboundConnector
public Waiter<GetOutboundConnectorRequest,GetOutboundConnectorResponse> forOutboundConnector(GetOutboundConnectorRequest request, OutboundConnector.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
-
forOutboundConnector
public Waiter<GetOutboundConnectorRequest,GetOutboundConnectorResponse> forOutboundConnector(GetOutboundConnectorRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, OutboundConnector.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
-
forReplication
public Waiter<GetReplicationRequest,GetReplicationResponse> forReplication(GetReplicationRequest request, Replication.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
-
forReplication
public Waiter<GetReplicationRequest,GetReplicationResponse> forReplication(GetReplicationRequest request, Replication.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
-
forReplication
public Waiter<GetReplicationRequest,GetReplicationResponse> forReplication(GetReplicationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Replication.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
-
forReplicationTarget
public Waiter<GetReplicationTargetRequest,GetReplicationTargetResponse> forReplicationTarget(GetReplicationTargetRequest request, ReplicationTarget.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
-
forReplicationTarget
public Waiter<GetReplicationTargetRequest,GetReplicationTargetResponse> forReplicationTarget(GetReplicationTargetRequest request, ReplicationTarget.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
-
forReplicationTarget
public Waiter<GetReplicationTargetRequest,GetReplicationTargetResponse> forReplicationTarget(GetReplicationTargetRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ReplicationTarget.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
-
forSnapshot
public Waiter<GetSnapshotRequest,GetSnapshotResponse> forSnapshot(GetSnapshotRequest request, Snapshot.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
-
forSnapshot
public Waiter<GetSnapshotRequest,GetSnapshotResponse> forSnapshot(GetSnapshotRequest request, Snapshot.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
-
forSnapshot
public Waiter<GetSnapshotRequest,GetSnapshotResponse> forSnapshot(GetSnapshotRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Snapshot.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
-
-