Class DelegateAccessControlWaiters
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.DelegateAccessControlWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230801") public class DelegateAccessControlWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of DelegateAccessControl.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description DelegateAccessControlWaiters(ExecutorService executorService, DelegateAccessControl client)
-
Method Summary
-
-
-
Constructor Detail
-
DelegateAccessControlWaiters
public DelegateAccessControlWaiters(ExecutorService executorService, DelegateAccessControl client)
-
-
Method Detail
-
forDelegatedResourceAccessRequest
public Waiter<GetDelegatedResourceAccessRequestRequest,GetDelegatedResourceAccessRequestResponse> forDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestRequest request, DelegatedResourceAccessRequest.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
-
forDelegatedResourceAccessRequest
public Waiter<GetDelegatedResourceAccessRequestRequest,GetDelegatedResourceAccessRequestResponse> forDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestRequest request, DelegatedResourceAccessRequest.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
-
forDelegatedResourceAccessRequest
public Waiter<GetDelegatedResourceAccessRequestRequest,GetDelegatedResourceAccessRequestResponse> forDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DelegatedResourceAccessRequest.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
-
forDelegationControl
public Waiter<GetDelegationControlRequest,GetDelegationControlResponse> forDelegationControl(GetDelegationControlRequest request, DelegationControl.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
-
forDelegationControl
public Waiter<GetDelegationControlRequest,GetDelegationControlResponse> forDelegationControl(GetDelegationControlRequest request, DelegationControl.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
-
forDelegationControl
public Waiter<GetDelegationControlRequest,GetDelegationControlResponse> forDelegationControl(GetDelegationControlRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DelegationControl.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
-
forDelegationSubscription
public Waiter<GetDelegationSubscriptionRequest,GetDelegationSubscriptionResponse> forDelegationSubscription(GetDelegationSubscriptionRequest request, DelegationSubscription.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
-
forDelegationSubscription
public Waiter<GetDelegationSubscriptionRequest,GetDelegationSubscriptionResponse> forDelegationSubscription(GetDelegationSubscriptionRequest request, DelegationSubscription.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
-
forDelegationSubscription
public Waiter<GetDelegationSubscriptionRequest,GetDelegationSubscriptionResponse> forDelegationSubscription(GetDelegationSubscriptionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, DelegationSubscription.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
-
forServiceProvider
public Waiter<GetServiceProviderRequest,GetServiceProviderResponse> forServiceProvider(GetServiceProviderRequest request, ServiceProvider.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
-
forServiceProvider
public Waiter<GetServiceProviderRequest,GetServiceProviderResponse> forServiceProvider(GetServiceProviderRequest request, ServiceProvider.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
-
forServiceProvider
public Waiter<GetServiceProviderRequest,GetServiceProviderResponse> forServiceProvider(GetServiceProviderRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ServiceProvider.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
-
forServiceProviderAction
public Waiter<GetServiceProviderActionRequest,GetServiceProviderActionResponse> forServiceProviderAction(GetServiceProviderActionRequest request, ServiceProviderAction.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
-
forServiceProviderAction
public Waiter<GetServiceProviderActionRequest,GetServiceProviderActionResponse> forServiceProviderAction(GetServiceProviderActionRequest request, ServiceProviderAction.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
-
forServiceProviderAction
public Waiter<GetServiceProviderActionRequest,GetServiceProviderActionResponse> forServiceProviderAction(GetServiceProviderActionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ServiceProviderAction.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
-
-