Package com.oracle.bmc.blockchain
Class BlockchainPlatformWaiters
- java.lang.Object
-
- com.oracle.bmc.blockchain.BlockchainPlatformWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20191010") public class BlockchainPlatformWaiters extends ObjectCollection of helper methods to produceWaiters for different resources of BlockchainPlatform.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER.
-
-
Constructor Summary
Constructors Constructor Description BlockchainPlatformWaiters(ExecutorService executorService, BlockchainPlatform client)
-
Method Summary
-
-
-
Constructor Detail
-
BlockchainPlatformWaiters
public BlockchainPlatformWaiters(ExecutorService executorService, BlockchainPlatform client)
-
-
Method Detail
-
forBlockchainPlatform
public Waiter<GetBlockchainPlatformRequest,GetBlockchainPlatformResponse> forBlockchainPlatform(GetBlockchainPlatformRequest request, BlockchainPlatform.LifecycleState... targetStates)
Creates a newWaiterusing 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
-
forBlockchainPlatform
public Waiter<GetBlockchainPlatformRequest,GetBlockchainPlatformResponse> forBlockchainPlatform(GetBlockchainPlatformRequest request, BlockchainPlatform.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forBlockchainPlatform
public Waiter<GetBlockchainPlatformRequest,GetBlockchainPlatformResponse> forBlockchainPlatform(GetBlockchainPlatformRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, BlockchainPlatform.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto 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
-
forOsn
public Waiter<GetOsnRequest,GetOsnResponse> forOsn(GetOsnRequest request, Osn.LifecycleState... targetStates)
Creates a newWaiterusing 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
-
forOsn
public Waiter<GetOsnRequest,GetOsnResponse> forOsn(GetOsnRequest request, Osn.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forOsn
public Waiter<GetOsnRequest,GetOsnResponse> forOsn(GetOsnRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Osn.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto 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
-
forPeer
public Waiter<GetPeerRequest,GetPeerResponse> forPeer(GetPeerRequest request, Peer.LifecycleState... targetStates)
Creates a newWaiterusing 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
-
forPeer
public Waiter<GetPeerRequest,GetPeerResponse> forPeer(GetPeerRequest request, Peer.LifecycleState targetState, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendtargetState- the desired state to wait forterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
forPeer
public Waiter<GetPeerRequest,GetPeerResponse> forPeer(GetPeerRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Peer.LifecycleState... targetStates)
Creates a newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- theDelayStrategyto 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 newWaiterusing 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 newWaiterusing the provided configuration.- Parameters:
request- the request to sendterminationStrategy- theTerminationStrategyto usedelayStrategy- the to use- Returns:
- a new com.oracle.bmc.waiter.Waiter instance
-
-