@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class MarketplacePublisherAsyncClient extends BaseAsyncClient implements MarketplacePublisherAsync
Async client implementation for MarketplacePublisher service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an InputStream
, like getObject Api in object storage service,
developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done
with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or
the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
whether or not the request was completed via Future.isDone/isCancelled.
Please refer to
https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
Modifier and Type | Class and Description |
---|---|
static class |
MarketplacePublisherAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for MarketplacePublisher.
|
Constructor and Description |
---|
MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for MarketplacePublisher.
public final String clientCommonLibraryVersion
@Deprecated public MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
public static MarketplacePublisherAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
MarketplacePublisherAsync
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
setRegion
in interface MarketplacePublisherAsync
region
- The region of the service.public void setRegion(String regionId)
MarketplacePublisherAsync
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
setRegion
in interface MarketplacePublisherAsync
regionId
- The public region ID.public Future<ActivateTermVersionResponse> activateTermVersion(ActivateTermVersionRequest request, AsyncHandler<ActivateTermVersionRequest,ActivateTermVersionResponse> handler)
MarketplacePublisherAsync
Mark the Term Version identified by the id as active
activateTermVersion
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
MarketplacePublisherAsync
Cancels the work request with the given ID.
cancelWorkRequest
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CascadingDeleteListingResponse> cascadingDeleteListing(CascadingDeleteListingRequest request, AsyncHandler<CascadingDeleteListingRequest,CascadingDeleteListingResponse> handler)
MarketplacePublisherAsync
Cascade delete the listing and its subresources.
cascadingDeleteListing
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CascadingDeleteListingRevisionResponse> cascadingDeleteListingRevision(CascadingDeleteListingRevisionRequest request, AsyncHandler<CascadingDeleteListingRevisionRequest,CascadingDeleteListingRevisionResponse> handler)
MarketplacePublisherAsync
Cascade delete listing revision and its subresources.
cascadingDeleteListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeArtifactCompartmentResponse> changeArtifactCompartment(ChangeArtifactCompartmentRequest request, AsyncHandler<ChangeArtifactCompartmentRequest,ChangeArtifactCompartmentResponse> handler)
MarketplacePublisherAsync
Moves the specified artifact to the specified compartment within the same tenancy.
changeArtifactCompartment
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeListingCompartmentResponse> changeListingCompartment(ChangeListingCompartmentRequest request, AsyncHandler<ChangeListingCompartmentRequest,ChangeListingCompartmentResponse> handler)
MarketplacePublisherAsync
Moves a listing from one compartment to another
changeListingCompartment
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeListingRevisionToNewStatusResponse> changeListingRevisionToNewStatus(ChangeListingRevisionToNewStatusRequest request, AsyncHandler<ChangeListingRevisionToNewStatusRequest,ChangeListingRevisionToNewStatusResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision to New status
changeListingRevisionToNewStatus
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeTermCompartmentResponse> changeTermCompartment(ChangeTermCompartmentRequest request, AsyncHandler<ChangeTermCompartmentRequest,ChangeTermCompartmentResponse> handler)
MarketplacePublisherAsync
Moves a term from one compartment to another
changeTermCompartment
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CloneListingRevisionResponse> cloneListingRevision(CloneListingRevisionRequest request, AsyncHandler<CloneListingRevisionRequest,CloneListingRevisionResponse> handler)
MarketplacePublisherAsync
Clone the published/withdrawn Listing Revision identified by the identifier.
cloneListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateArtifactResponse> createArtifact(CreateArtifactRequest request, AsyncHandler<CreateArtifactRequest,CreateArtifactResponse> handler)
MarketplacePublisherAsync
Creates a new artifact in your compartment. You must specify your compartment ID in the request object.
You must also specify a *name* for the artifact(although it can be an empty string). It
does not have to be unique, and you can change it anytime with updateArtifact
..
You must also specify a *artifactType* for the artifact. Allowed values are CONTAINER_IMAGE and HELM_CHART
You must also provide the container or helm chart registry details for the corresponding images. Oracle container registry details (Registry/Concepts/registryoverview.htm).
After you send your request, the new object's `status` will temporarily be IN_PROGRESS and `lifecycleState` will be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE and the status has changed to ‘AVAILABLE’ for the new Artifact.
createArtifact
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateListingResponse> createListing(CreateListingRequest request, AsyncHandler<CreateListingRequest,CreateListingResponse> handler)
MarketplacePublisherAsync
Creates a new listing in your compartment. You must specify your compartment ID in the request object.
You must also specify a *name* for the listing and cannot be updated later.
You must also specify a *packageType* for the listing. Allowed values are CONTAINER_IMAGE and HELM_CHART
After you send your request, the new object's `lifecycleState` will be CREATING. Before using the object, first make sure its `lifecycleState` has changed to ACTIVE.
createListing
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateListingRevisionResponse> createListingRevision(CreateListingRevisionRequest request, AsyncHandler<CreateListingRevisionRequest,CreateListingRevisionResponse> handler)
MarketplacePublisherAsync
Creates a new Listing Revision.
createListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateListingRevisionAttachmentResponse> createListingRevisionAttachment(CreateListingRevisionAttachmentRequest request, AsyncHandler<CreateListingRevisionAttachmentRequest,CreateListingRevisionAttachmentResponse> handler)
MarketplacePublisherAsync
Creates a new listing revision attachment.
createListingRevisionAttachment
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateListingRevisionNoteResponse> createListingRevisionNote(CreateListingRevisionNoteRequest request, AsyncHandler<CreateListingRevisionNoteRequest,CreateListingRevisionNoteResponse> handler)
MarketplacePublisherAsync
Creates a new Listing Revision Note.
createListingRevisionNote
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateListingRevisionPackageResponse> createListingRevisionPackage(CreateListingRevisionPackageRequest request, AsyncHandler<CreateListingRevisionPackageRequest,CreateListingRevisionPackageResponse> handler)
MarketplacePublisherAsync
Creates a new Listing Revision Package.
createListingRevisionPackage
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTermResponse> createTerm(CreateTermRequest request, AsyncHandler<CreateTermRequest,CreateTermResponse> handler)
MarketplacePublisherAsync
Creates a new Term.
createTerm
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateTermVersionResponse> createTermVersion(CreateTermVersionRequest request, AsyncHandler<CreateTermVersionRequest,CreateTermVersionResponse> handler)
MarketplacePublisherAsync
Creates a new Term Version.
createTermVersion
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteArtifactResponse> deleteArtifact(DeleteArtifactRequest request, AsyncHandler<DeleteArtifactRequest,DeleteArtifactResponse> handler)
MarketplacePublisherAsync
Deletes the specified artifact.
deleteArtifact
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteListingResponse> deleteListing(DeleteListingRequest request, AsyncHandler<DeleteListingRequest,DeleteListingResponse> handler)
MarketplacePublisherAsync
Deletes a listing by the identifier
deleteListing
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteListingRevisionResponse> deleteListingRevision(DeleteListingRevisionRequest request, AsyncHandler<DeleteListingRevisionRequest,DeleteListingRevisionResponse> handler)
MarketplacePublisherAsync
Deletes a listing by the identifier
deleteListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteListingRevisionAttachmentResponse> deleteListingRevisionAttachment(DeleteListingRevisionAttachmentRequest request, AsyncHandler<DeleteListingRevisionAttachmentRequest,DeleteListingRevisionAttachmentResponse> handler)
MarketplacePublisherAsync
Deletes a listing revision attachment by the identifier
deleteListingRevisionAttachment
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteListingRevisionNoteResponse> deleteListingRevisionNote(DeleteListingRevisionNoteRequest request, AsyncHandler<DeleteListingRevisionNoteRequest,DeleteListingRevisionNoteResponse> handler)
MarketplacePublisherAsync
Deletes a listing revision note by the identifier.
deleteListingRevisionNote
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteListingRevisionPackageResponse> deleteListingRevisionPackage(DeleteListingRevisionPackageRequest request, AsyncHandler<DeleteListingRevisionPackageRequest,DeleteListingRevisionPackageResponse> handler)
MarketplacePublisherAsync
Deletes a listing revision package by the identifier
deleteListingRevisionPackage
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTermResponse> deleteTerm(DeleteTermRequest request, AsyncHandler<DeleteTermRequest,DeleteTermResponse> handler)
MarketplacePublisherAsync
Deletes a Term by the identifier
deleteTerm
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteTermVersionResponse> deleteTermVersion(DeleteTermVersionRequest request, AsyncHandler<DeleteTermVersionRequest,DeleteTermVersionResponse> handler)
MarketplacePublisherAsync
Deletes a Term by the identifier
deleteTermVersion
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetArtifactResponse> getArtifact(GetArtifactRequest request, AsyncHandler<GetArtifactRequest,GetArtifactResponse> handler)
MarketplacePublisherAsync
Gets the specified artifact’s information.
getArtifact
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCategoryResponse> getCategory(GetCategoryRequest request, AsyncHandler<GetCategoryRequest,GetCategoryResponse> handler)
MarketplacePublisherAsync
Gets the specified category’s information.
getCategory
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetListingResponse> getListing(GetListingRequest request, AsyncHandler<GetListingRequest,GetListingResponse> handler)
MarketplacePublisherAsync
Gets the details for a listing.
getListing
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetListingRevisionResponse> getListingRevision(GetListingRevisionRequest request, AsyncHandler<GetListingRevisionRequest,GetListingRevisionResponse> handler)
MarketplacePublisherAsync
Gets the details for a listing revision.
getListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetListingRevisionAttachmentResponse> getListingRevisionAttachment(GetListingRevisionAttachmentRequest request, AsyncHandler<GetListingRevisionAttachmentRequest,GetListingRevisionAttachmentResponse> handler)
MarketplacePublisherAsync
Get the details of the specified listing revision attachment.
getListingRevisionAttachment
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetListingRevisionNoteResponse> getListingRevisionNote(GetListingRevisionNoteRequest request, AsyncHandler<GetListingRevisionNoteRequest,GetListingRevisionNoteResponse> handler)
MarketplacePublisherAsync
Get note details by the identifier
getListingRevisionNote
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetListingRevisionPackageResponse> getListingRevisionPackage(GetListingRevisionPackageRequest request, AsyncHandler<GetListingRevisionPackageRequest,GetListingRevisionPackageResponse> handler)
MarketplacePublisherAsync
Get the details of the specified version of a package.
getListingRevisionPackage
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetMarketResponse> getMarket(GetMarketRequest request, AsyncHandler<GetMarketRequest,GetMarketResponse> handler)
MarketplacePublisherAsync
Gets the specified market’s information.
getMarket
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetProductResponse> getProduct(GetProductRequest request, AsyncHandler<GetProductRequest,GetProductResponse> handler)
MarketplacePublisherAsync
Gets a Product by code identifier
getProduct
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPublisherResponse> getPublisher(GetPublisherRequest request, AsyncHandler<GetPublisherRequest,GetPublisherResponse> handler)
MarketplacePublisherAsync
Gets a Publisher by identifier
getPublisher
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTermResponse> getTerm(GetTermRequest request, AsyncHandler<GetTermRequest,GetTermResponse> handler)
MarketplacePublisherAsync
Gets a Term by identifier
getTerm
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetTermVersionResponse> getTermVersion(GetTermVersionRequest request, AsyncHandler<GetTermVersionRequest,GetTermVersionResponse> handler)
MarketplacePublisherAsync
Gets a Term Version by the identifier
getTermVersion
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
MarketplacePublisherAsync
Gets details of the work request with the given ID.
getWorkRequest
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListArtifactsResponse> listArtifacts(ListArtifactsRequest request, AsyncHandler<ListArtifactsRequest,ListArtifactsResponse> handler)
MarketplacePublisherAsync
Lists the artifacts in your compartment. You must specify your compartment’s OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
listArtifacts
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCategoriesResponse> listCategories(ListCategoriesRequest request, AsyncHandler<ListCategoriesRequest,ListCategoriesResponse> handler)
MarketplacePublisherAsync
Lists the categories in your compartment. You must specify your compartment’s OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
listCategories
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListListingRevisionAttachmentsResponse> listListingRevisionAttachments(ListListingRevisionAttachmentsRequest request, AsyncHandler<ListListingRevisionAttachmentsRequest,ListListingRevisionAttachmentsResponse> handler)
MarketplacePublisherAsync
Gets the list of attachments for a listing revision in a compartment
listListingRevisionAttachments
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListListingRevisionNotesResponse> listListingRevisionNotes(ListListingRevisionNotesRequest request, AsyncHandler<ListListingRevisionNotesRequest,ListListingRevisionNotesResponse> handler)
MarketplacePublisherAsync
Gets the list of notes for a listing revision.
listListingRevisionNotes
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListListingRevisionPackagesResponse> listListingRevisionPackages(ListListingRevisionPackagesRequest request, AsyncHandler<ListListingRevisionPackagesRequest,ListListingRevisionPackagesResponse> handler)
MarketplacePublisherAsync
Gets the list of packages for a listing revision.
listListingRevisionPackages
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListListingRevisionsResponse> listListingRevisions(ListListingRevisionsRequest request, AsyncHandler<ListListingRevisionsRequest,ListListingRevisionsResponse> handler)
MarketplacePublisherAsync
Lists the list of listing revisions for a specific listing ID, compartment ID or listing revision status.
You can specify your compartment's OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
listListingRevisions
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListListingsResponse> listListings(ListListingsRequest request, AsyncHandler<ListListingsRequest,ListListingsResponse> handler)
MarketplacePublisherAsync
Lists the listings in your compartment. You must specify your compartment’s OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
listListings
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListMarketsResponse> listMarkets(ListMarketsRequest request, AsyncHandler<ListMarketsRequest,ListMarketsResponse> handler)
MarketplacePublisherAsync
Lists the markets in your compartment. You must specify your compartment’s OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
listMarkets
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListProductsResponse> listProducts(ListProductsRequest request, AsyncHandler<ListProductsRequest,ListProductsResponse> handler)
MarketplacePublisherAsync
Lists the products in your compartment. You must specify your compartment’s OCID as the value for the compartment ID. For information about OCIDs, see Resource Identifiers (Content/General/Concepts/identifiers.htm).
listProducts
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPublishersResponse> listPublishers(ListPublishersRequest request, AsyncHandler<ListPublishersRequest,ListPublishersResponse> handler)
MarketplacePublisherAsync
Returns a list of publishers.
listPublishers
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTermVersionsResponse> listTermVersions(ListTermVersionsRequest request, AsyncHandler<ListTermVersionsRequest,ListTermVersionsResponse> handler)
MarketplacePublisherAsync
Returns a list of the publisher term versions.
listTermVersions
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListTermsResponse> listTerms(ListTermsRequest request, AsyncHandler<ListTermsRequest,ListTermsResponse> handler)
MarketplacePublisherAsync
Returns a list of the publisher terms.
listTerms
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
MarketplacePublisherAsync
Returns a (paginated) list of errors for the work request with the given ID.
listWorkRequestErrors
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
MarketplacePublisherAsync
Returns a (paginated) list of logs for the work request with the given ID.
listWorkRequestLogs
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
MarketplacePublisherAsync
Lists the work requests in a compartment.
listWorkRequests
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<MarkListingRevisionPackageAsDefaultResponse> markListingRevisionPackageAsDefault(MarkListingRevisionPackageAsDefaultRequest request, AsyncHandler<MarkListingRevisionPackageAsDefaultRequest,MarkListingRevisionPackageAsDefaultResponse> handler)
MarketplacePublisherAsync
Mark the Listing Revision Package identified by the id and package version as default
markListingRevisionPackageAsDefault
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PublishListingRevisionResponse> publishListingRevision(PublishListingRevisionRequest request, AsyncHandler<PublishListingRevisionRequest,PublishListingRevisionResponse> handler)
MarketplacePublisherAsync
Publish the Listing revision identified by Identifier.
publishListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PublishListingRevisionAsPrivateResponse> publishListingRevisionAsPrivate(PublishListingRevisionAsPrivateRequest request, AsyncHandler<PublishListingRevisionAsPrivateRequest,PublishListingRevisionAsPrivateResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision to PublishAsPrivate
publishListingRevisionAsPrivate
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PublishListingRevisionPackageResponse> publishListingRevisionPackage(PublishListingRevisionPackageRequest request, AsyncHandler<PublishListingRevisionPackageRequest,PublishListingRevisionPackageResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision Package to publish status
publishListingRevisionPackage
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SubmitListingRevisionForReviewResponse> submitListingRevisionForReview(SubmitListingRevisionForReviewRequest request, AsyncHandler<SubmitListingRevisionForReviewRequest,SubmitListingRevisionForReviewResponse> handler)
MarketplacePublisherAsync
Update the Listing Revision identified by the id for review
submitListingRevisionForReview
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UnPublishListingRevisionPackageResponse> unPublishListingRevisionPackage(UnPublishListingRevisionPackageRequest request, AsyncHandler<UnPublishListingRevisionPackageRequest,UnPublishListingRevisionPackageResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision Package to Unpublish status
unPublishListingRevisionPackage
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateArtifactResponse> updateArtifact(UpdateArtifactRequest request, AsyncHandler<UpdateArtifactRequest,UpdateArtifactResponse> handler)
MarketplacePublisherAsync
Updates the specified artifact identified by the id.
updateArtifact
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateListingResponse> updateListing(UpdateListingRequest request, AsyncHandler<UpdateListingRequest,UpdateListingResponse> handler)
MarketplacePublisherAsync
Updates the specified Listing identified by the id.
updateListing
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateListingRevisionResponse> updateListingRevision(UpdateListingRevisionRequest request, AsyncHandler<UpdateListingRevisionRequest,UpdateListingRevisionResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision
updateListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateListingRevisionAttachmentResponse> updateListingRevisionAttachment(UpdateListingRevisionAttachmentRequest request, AsyncHandler<UpdateListingRevisionAttachmentRequest,UpdateListingRevisionAttachmentResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision Attachment
updateListingRevisionAttachment
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateListingRevisionAttachmentContentResponse> updateListingRevisionAttachmentContent(UpdateListingRevisionAttachmentContentRequest request, AsyncHandler<UpdateListingRevisionAttachmentContentRequest,UpdateListingRevisionAttachmentContentResponse> handler)
MarketplacePublisherAsync
Update a file to listing revision attachment
updateListingRevisionAttachmentContent
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateListingRevisionIconContentResponse> updateListingRevisionIconContent(UpdateListingRevisionIconContentRequest request, AsyncHandler<UpdateListingRevisionIconContentRequest,UpdateListingRevisionIconContentResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision
updateListingRevisionIconContent
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateListingRevisionPackageResponse> updateListingRevisionPackage(UpdateListingRevisionPackageRequest request, AsyncHandler<UpdateListingRevisionPackageRequest,UpdateListingRevisionPackageResponse> handler)
MarketplacePublisherAsync
Updates the Listing Revision Package.
updateListingRevisionPackage
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTermResponse> updateTerm(UpdateTermRequest request, AsyncHandler<UpdateTermRequest,UpdateTermResponse> handler)
MarketplacePublisherAsync
Updates the Term
updateTerm
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTermVersionResponse> updateTermVersion(UpdateTermVersionRequest request, AsyncHandler<UpdateTermVersionRequest,UpdateTermVersionResponse> handler)
MarketplacePublisherAsync
Updates the Term Version
updateTermVersion
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateTermVersionContentResponse> updateTermVersionContent(UpdateTermVersionContentRequest request, AsyncHandler<UpdateTermVersionContentRequest,UpdateTermVersionContentResponse> handler)
MarketplacePublisherAsync
Updates the Term Version attachment
updateTermVersionContent
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateAndPublishArtifactResponse> validateAndPublishArtifact(ValidateAndPublishArtifactRequest request, AsyncHandler<ValidateAndPublishArtifactRequest,ValidateAndPublishArtifactResponse> handler)
MarketplacePublisherAsync
Validate and publish artifact.
validateAndPublishArtifact
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<WithdrawListingRevisionResponse> withdrawListingRevision(WithdrawListingRevisionRequest request, AsyncHandler<WithdrawListingRevisionRequest,WithdrawListingRevisionResponse> handler)
MarketplacePublisherAsync
Update the Listing Revision identified by the id as Withdraw/UnPublished.
withdrawListingRevision
in interface MarketplacePublisherAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.