@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class FunctionsManagementWaiters extends Object
Collection of helper methods to produce Waiter
s for different
resources of FunctionsManagement.
The default configuration used is defined by Waiters.Waiters
.
Constructor and Description |
---|
FunctionsManagementWaiters(ExecutorService executorService,
FunctionsManagement client) |
public FunctionsManagementWaiters(ExecutorService executorService, FunctionsManagement client)
public Waiter<GetApplicationRequest,GetApplicationResponse> forApplication(GetApplicationRequest request, Application.LifecycleState... targetStates)
Creates a new Waiter
using the 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<GetApplicationRequest,GetApplicationResponse> forApplication(GetApplicationRequest request, Application.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 usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetApplicationRequest,GetApplicationResponse> forApplication(GetApplicationRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Application.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 statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetFunctionRequest,GetFunctionResponse> forFunction(GetFunctionRequest request, Function.LifecycleState... targetStates)
Creates a new Waiter
using the 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<GetFunctionRequest,GetFunctionResponse> forFunction(GetFunctionRequest request, Function.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 usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetFunctionRequest,GetFunctionResponse> forFunction(GetFunctionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Function.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 statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetPbfListingRequest,GetPbfListingResponse> forPbfListing(GetPbfListingRequest request, PbfListing.LifecycleState... targetStates)
Creates a new Waiter
using the 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<GetPbfListingRequest,GetPbfListingResponse> forPbfListing(GetPbfListingRequest request, PbfListing.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 usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetPbfListingRequest,GetPbfListingResponse> forPbfListing(GetPbfListingRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, PbfListing.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 statescom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetPbfListingVersionRequest,GetPbfListingVersionResponse> forPbfListingVersion(GetPbfListingVersionRequest request, PbfListingVersion.LifecycleState... targetStates)
Creates a new Waiter
using the 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<GetPbfListingVersionRequest,GetPbfListingVersionResponse> forPbfListingVersion(GetPbfListingVersionRequest request, PbfListingVersion.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 usecom.oracle.bmc.waiter.Waiter
instancepublic Waiter<GetPbfListingVersionRequest,GetPbfListingVersionResponse> forPbfListingVersion(GetPbfListingVersionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, PbfListingVersion.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 statescom.oracle.bmc.waiter.Waiter
instanceCopyright © 2016–2024. All rights reserved.