Package com.oracle.bmc.iot
Class IotWaiters
- java.lang.Object
-
- com.oracle.bmc.iot.IotWaiters
-
-
Constructor Summary
Constructors Constructor Description IotWaiters(ExecutorService executorService, Iot client)
-
Method Summary
-
-
-
Constructor Detail
-
IotWaiters
public IotWaiters(ExecutorService executorService, Iot client)
-
-
Method Detail
-
forDigitalTwinAdapter
public Waiter<GetDigitalTwinAdapterRequest,GetDigitalTwinAdapterResponse> forDigitalTwinAdapter(GetDigitalTwinAdapterRequest request, LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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 com.oracle.bmc.waiter.Waiter instance
-
forDigitalTwinAdapter
public Waiter<GetDigitalTwinAdapterRequest,GetDigitalTwinAdapterResponse> forDigitalTwinAdapter(GetDigitalTwinAdapterRequest request, 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
-
forDigitalTwinAdapter
public Waiter<GetDigitalTwinAdapterRequest,GetDigitalTwinAdapterResponse> forDigitalTwinAdapter(GetDigitalTwinAdapterRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forDigitalTwinInstance
public Waiter<GetDigitalTwinInstanceRequest,GetDigitalTwinInstanceResponse> forDigitalTwinInstance(GetDigitalTwinInstanceRequest request, LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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 com.oracle.bmc.waiter.Waiter instance
-
forDigitalTwinInstance
public Waiter<GetDigitalTwinInstanceRequest,GetDigitalTwinInstanceResponse> forDigitalTwinInstance(GetDigitalTwinInstanceRequest request, 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
-
forDigitalTwinInstance
public Waiter<GetDigitalTwinInstanceRequest,GetDigitalTwinInstanceResponse> forDigitalTwinInstance(GetDigitalTwinInstanceRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forDigitalTwinModel
public Waiter<GetDigitalTwinModelRequest,GetDigitalTwinModelResponse> forDigitalTwinModel(GetDigitalTwinModelRequest request, LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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 com.oracle.bmc.waiter.Waiter instance
-
forDigitalTwinModel
public Waiter<GetDigitalTwinModelRequest,GetDigitalTwinModelResponse> forDigitalTwinModel(GetDigitalTwinModelRequest request, 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
-
forDigitalTwinModel
public Waiter<GetDigitalTwinModelRequest,GetDigitalTwinModelResponse> forDigitalTwinModel(GetDigitalTwinModelRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forDigitalTwinRelationship
public Waiter<GetDigitalTwinRelationshipRequest,GetDigitalTwinRelationshipResponse> forDigitalTwinRelationship(GetDigitalTwinRelationshipRequest request, LifecycleState... targetStates)
Creates a newWaiter
using the default configuration.- Parameters:
request
- the request to sendtargetState
- 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 com.oracle.bmc.waiter.Waiter instance
-
forDigitalTwinRelationship
public Waiter<GetDigitalTwinRelationshipRequest,GetDigitalTwinRelationshipResponse> forDigitalTwinRelationship(GetDigitalTwinRelationshipRequest request, 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
-
forDigitalTwinRelationship
public Waiter<GetDigitalTwinRelationshipRequest,GetDigitalTwinRelationshipResponse> forDigitalTwinRelationship(GetDigitalTwinRelationshipRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, 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 Waiter instance
-
forIotDomain
public Waiter<GetIotDomainRequest,GetIotDomainResponse> forIotDomain(GetIotDomainRequest request, IotDomain.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
-
forIotDomain
public Waiter<GetIotDomainRequest,GetIotDomainResponse> forIotDomain(GetIotDomainRequest request, IotDomain.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
-
forIotDomain
public Waiter<GetIotDomainRequest,GetIotDomainResponse> forIotDomain(GetIotDomainRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, IotDomain.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
-
forIotDomainGroup
public Waiter<GetIotDomainGroupRequest,GetIotDomainGroupResponse> forIotDomainGroup(GetIotDomainGroupRequest request, IotDomainGroup.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
-
forIotDomainGroup
public Waiter<GetIotDomainGroupRequest,GetIotDomainGroupResponse> forIotDomainGroup(GetIotDomainGroupRequest request, IotDomainGroup.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
-
forIotDomainGroup
public Waiter<GetIotDomainGroupRequest,GetIotDomainGroupResponse> forIotDomainGroup(GetIotDomainGroupRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, IotDomainGroup.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
-
-