Class MarketplacePublisherWaiters
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.MarketplacePublisherWaiters
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class MarketplacePublisherWaiters extends Object
Collection of helper methods to produceWaiter
s for different resources of MarketplacePublisher.The default configuration used is defined by
com.oracle.bmc.waiter.Waiters.Waiters#DEFAULT_POLLING_WAITER
.
-
-
Constructor Summary
Constructors Constructor Description MarketplacePublisherWaiters(ExecutorService executorService, MarketplacePublisher client)
-
Method Summary
-
-
-
Constructor Detail
-
MarketplacePublisherWaiters
public MarketplacePublisherWaiters(ExecutorService executorService, MarketplacePublisher client)
-
-
Method Detail
-
forArtifact
public Waiter<GetArtifactRequest,GetArtifactResponse> forArtifact(GetArtifactRequest request, Artifact.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
-
forArtifact
public Waiter<GetArtifactRequest,GetArtifactResponse> forArtifact(GetArtifactRequest request, Artifact.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
-
forArtifact
public Waiter<GetArtifactRequest,GetArtifactResponse> forArtifact(GetArtifactRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Artifact.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
-
forCategory
public Waiter<GetCategoryRequest,GetCategoryResponse> forCategory(GetCategoryRequest request, Category.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
-
forCategory
public Waiter<GetCategoryRequest,GetCategoryResponse> forCategory(GetCategoryRequest request, Category.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
-
forCategory
public Waiter<GetCategoryRequest,GetCategoryResponse> forCategory(GetCategoryRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Category.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
-
forListing
public Waiter<GetListingRequest,GetListingResponse> forListing(GetListingRequest request, Listing.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
-
forListing
public Waiter<GetListingRequest,GetListingResponse> forListing(GetListingRequest request, Listing.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
-
forListing
public Waiter<GetListingRequest,GetListingResponse> forListing(GetListingRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Listing.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
-
forListingRevision
public Waiter<GetListingRevisionRequest,GetListingRevisionResponse> forListingRevision(GetListingRevisionRequest request, ListingRevision.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
-
forListingRevision
public Waiter<GetListingRevisionRequest,GetListingRevisionResponse> forListingRevision(GetListingRevisionRequest request, ListingRevision.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
-
forListingRevision
public Waiter<GetListingRevisionRequest,GetListingRevisionResponse> forListingRevision(GetListingRevisionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ListingRevision.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
-
forListingRevisionAttachment
public Waiter<GetListingRevisionAttachmentRequest,GetListingRevisionAttachmentResponse> forListingRevisionAttachment(GetListingRevisionAttachmentRequest request, ListingRevisionAttachment.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
-
forListingRevisionAttachment
public Waiter<GetListingRevisionAttachmentRequest,GetListingRevisionAttachmentResponse> forListingRevisionAttachment(GetListingRevisionAttachmentRequest request, ListingRevisionAttachment.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
-
forListingRevisionAttachment
public Waiter<GetListingRevisionAttachmentRequest,GetListingRevisionAttachmentResponse> forListingRevisionAttachment(GetListingRevisionAttachmentRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ListingRevisionAttachment.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
-
forListingRevisionNote
public Waiter<GetListingRevisionNoteRequest,GetListingRevisionNoteResponse> forListingRevisionNote(GetListingRevisionNoteRequest request, ListingRevisionNote.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
-
forListingRevisionNote
public Waiter<GetListingRevisionNoteRequest,GetListingRevisionNoteResponse> forListingRevisionNote(GetListingRevisionNoteRequest request, ListingRevisionNote.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
-
forListingRevisionNote
public Waiter<GetListingRevisionNoteRequest,GetListingRevisionNoteResponse> forListingRevisionNote(GetListingRevisionNoteRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ListingRevisionNote.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
-
forListingRevisionPackage
public Waiter<GetListingRevisionPackageRequest,GetListingRevisionPackageResponse> forListingRevisionPackage(GetListingRevisionPackageRequest request, ListingRevisionPackage.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
-
forListingRevisionPackage
public Waiter<GetListingRevisionPackageRequest,GetListingRevisionPackageResponse> forListingRevisionPackage(GetListingRevisionPackageRequest request, ListingRevisionPackage.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
-
forListingRevisionPackage
public Waiter<GetListingRevisionPackageRequest,GetListingRevisionPackageResponse> forListingRevisionPackage(GetListingRevisionPackageRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, ListingRevisionPackage.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
-
forMarket
public Waiter<GetMarketRequest,GetMarketResponse> forMarket(GetMarketRequest request, Market.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
-
forMarket
public Waiter<GetMarketRequest,GetMarketResponse> forMarket(GetMarketRequest request, Market.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
-
forMarket
public Waiter<GetMarketRequest,GetMarketResponse> forMarket(GetMarketRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Market.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
-
forProduct
public Waiter<GetProductRequest,GetProductResponse> forProduct(GetProductRequest request, Product.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
-
forProduct
public Waiter<GetProductRequest,GetProductResponse> forProduct(GetProductRequest request, Product.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
-
forProduct
public Waiter<GetProductRequest,GetProductResponse> forProduct(GetProductRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Product.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
-
forTerm
public Waiter<GetTermRequest,GetTermResponse> forTerm(GetTermRequest request, Term.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
-
forTerm
public Waiter<GetTermRequest,GetTermResponse> forTerm(GetTermRequest request, Term.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
-
forTerm
public Waiter<GetTermRequest,GetTermResponse> forTerm(GetTermRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, Term.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
-
forTermVersion
public Waiter<GetTermVersionRequest,GetTermVersionResponse> forTermVersion(GetTermVersionRequest request, TermVersion.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
-
forTermVersion
public Waiter<GetTermVersionRequest,GetTermVersionResponse> forTermVersion(GetTermVersionRequest request, TermVersion.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
-
forTermVersion
public Waiter<GetTermVersionRequest,GetTermVersionResponse> forTermVersion(GetTermVersionRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy, TermVersion.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
-
-