Class MarketplacePublisherAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.marketplacepublisher.MarketplacePublisherAsyncClient
-
- All Implemented Interfaces:
MarketplacePublisherAsync
,AutoCloseable
@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 anInputStream
, 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MarketplacePublisherAsyncClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.marketplacepublisher.MarketplacePublisherAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
MarketplacePublisherAsyncClient
@Deprecated public MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
MarketplacePublisherAsyncClient
@Deprecated public MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
MarketplacePublisherAsyncClient
@Deprecated public MarketplacePublisherAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
MarketplacePublisherAsyncClient
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
MarketplacePublisherAsyncClient
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
MarketplacePublisherAsyncClient
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherAsyncClient.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)
-
MarketplacePublisherAsyncClient
@Deprecated public MarketplacePublisherAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherAsyncClient.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
-
-
Method Detail
-
builder
public static MarketplacePublisherAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface: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.- Specified by:
setRegion
in interfaceMarketplacePublisherAsync
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface: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 callsetEndpoint
.- Specified by:
setRegion
in interfaceMarketplacePublisherAsync
- Parameters:
regionId
- The public region ID.
-
activateTermVersion
public Future<ActivateTermVersionResponse> activateTermVersion(ActivateTermVersionRequest request, AsyncHandler<ActivateTermVersionRequest,ActivateTermVersionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Mark the Term Version identified by the id as active- Specified by:
activateTermVersion
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cancelWorkRequest
public Future<CancelWorkRequestResponse> cancelWorkRequest(CancelWorkRequestRequest request, AsyncHandler<CancelWorkRequestRequest,CancelWorkRequestResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Cancels the work request with the given ID.- Specified by:
cancelWorkRequest
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cascadingDeleteListing
public Future<CascadingDeleteListingResponse> cascadingDeleteListing(CascadingDeleteListingRequest request, AsyncHandler<CascadingDeleteListingRequest,CascadingDeleteListingResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Cascade delete the listing and its subresources.- Specified by:
cascadingDeleteListing
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cascadingDeleteListingRevision
public Future<CascadingDeleteListingRevisionResponse> cascadingDeleteListingRevision(CascadingDeleteListingRevisionRequest request, AsyncHandler<CascadingDeleteListingRevisionRequest,CascadingDeleteListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Cascade delete listing revision and its subresources.- Specified by:
cascadingDeleteListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeArtifactCompartment
public Future<ChangeArtifactCompartmentResponse> changeArtifactCompartment(ChangeArtifactCompartmentRequest request, AsyncHandler<ChangeArtifactCompartmentRequest,ChangeArtifactCompartmentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Moves the specified artifact to the specified compartment within the same tenancy.- Specified by:
changeArtifactCompartment
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeListingCompartment
public Future<ChangeListingCompartmentResponse> changeListingCompartment(ChangeListingCompartmentRequest request, AsyncHandler<ChangeListingCompartmentRequest,ChangeListingCompartmentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Moves a listing from one compartment to another- Specified by:
changeListingCompartment
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeListingRevisionToNewStatus
public Future<ChangeListingRevisionToNewStatusResponse> changeListingRevisionToNewStatus(ChangeListingRevisionToNewStatusRequest request, AsyncHandler<ChangeListingRevisionToNewStatusRequest,ChangeListingRevisionToNewStatusResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision to New status- Specified by:
changeListingRevisionToNewStatus
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeTermCompartment
public Future<ChangeTermCompartmentResponse> changeTermCompartment(ChangeTermCompartmentRequest request, AsyncHandler<ChangeTermCompartmentRequest,ChangeTermCompartmentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Moves a term from one compartment to another- Specified by:
changeTermCompartment
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
cloneListingRevision
public Future<CloneListingRevisionResponse> cloneListingRevision(CloneListingRevisionRequest request, AsyncHandler<CloneListingRevisionRequest,CloneListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Clone the published/withdrawn Listing Revision identified by the identifier.- Specified by:
cloneListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createArtifact
public Future<CreateArtifactResponse> createArtifact(CreateArtifactRequest request, AsyncHandler<CreateArtifactRequest,CreateArtifactResponse> handler)
Description copied from interface: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 \u2018AVAILABLE\u2019 for the new Artifact.
- Specified by:
createArtifact
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createListing
public Future<CreateListingResponse> createListing(CreateListingRequest request, AsyncHandler<CreateListingRequest,CreateListingResponse> handler)
Description copied from interface: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.
- Specified by:
createListing
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createListingRevision
public Future<CreateListingRevisionResponse> createListingRevision(CreateListingRevisionRequest request, AsyncHandler<CreateListingRevisionRequest,CreateListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Creates a new Listing Revision.- Specified by:
createListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createListingRevisionAttachment
public Future<CreateListingRevisionAttachmentResponse> createListingRevisionAttachment(CreateListingRevisionAttachmentRequest request, AsyncHandler<CreateListingRevisionAttachmentRequest,CreateListingRevisionAttachmentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Creates a new listing revision attachment.- Specified by:
createListingRevisionAttachment
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createListingRevisionNote
public Future<CreateListingRevisionNoteResponse> createListingRevisionNote(CreateListingRevisionNoteRequest request, AsyncHandler<CreateListingRevisionNoteRequest,CreateListingRevisionNoteResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Creates a new Listing Revision Note.- Specified by:
createListingRevisionNote
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createListingRevisionPackage
public Future<CreateListingRevisionPackageResponse> createListingRevisionPackage(CreateListingRevisionPackageRequest request, AsyncHandler<CreateListingRevisionPackageRequest,CreateListingRevisionPackageResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Creates a new Listing Revision Package.- Specified by:
createListingRevisionPackage
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createTerm
public Future<CreateTermResponse> createTerm(CreateTermRequest request, AsyncHandler<CreateTermRequest,CreateTermResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Creates a new Term.- Specified by:
createTerm
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createTermVersion
public Future<CreateTermVersionResponse> createTermVersion(CreateTermVersionRequest request, AsyncHandler<CreateTermVersionRequest,CreateTermVersionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Creates a new Term Version.- Specified by:
createTermVersion
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteArtifact
public Future<DeleteArtifactResponse> deleteArtifact(DeleteArtifactRequest request, AsyncHandler<DeleteArtifactRequest,DeleteArtifactResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes the specified artifact.- Specified by:
deleteArtifact
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteListing
public Future<DeleteListingResponse> deleteListing(DeleteListingRequest request, AsyncHandler<DeleteListingRequest,DeleteListingResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes a listing by the identifier- Specified by:
deleteListing
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteListingRevision
public Future<DeleteListingRevisionResponse> deleteListingRevision(DeleteListingRevisionRequest request, AsyncHandler<DeleteListingRevisionRequest,DeleteListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes a listing by the identifier- Specified by:
deleteListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteListingRevisionAttachment
public Future<DeleteListingRevisionAttachmentResponse> deleteListingRevisionAttachment(DeleteListingRevisionAttachmentRequest request, AsyncHandler<DeleteListingRevisionAttachmentRequest,DeleteListingRevisionAttachmentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes a listing revision attachment by the identifier- Specified by:
deleteListingRevisionAttachment
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteListingRevisionNote
public Future<DeleteListingRevisionNoteResponse> deleteListingRevisionNote(DeleteListingRevisionNoteRequest request, AsyncHandler<DeleteListingRevisionNoteRequest,DeleteListingRevisionNoteResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes a listing revision note by the identifier.- Specified by:
deleteListingRevisionNote
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteListingRevisionPackage
public Future<DeleteListingRevisionPackageResponse> deleteListingRevisionPackage(DeleteListingRevisionPackageRequest request, AsyncHandler<DeleteListingRevisionPackageRequest,DeleteListingRevisionPackageResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes a listing revision package by the identifier- Specified by:
deleteListingRevisionPackage
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteTerm
public Future<DeleteTermResponse> deleteTerm(DeleteTermRequest request, AsyncHandler<DeleteTermRequest,DeleteTermResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes a Term by the identifier- Specified by:
deleteTerm
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteTermVersion
public Future<DeleteTermVersionResponse> deleteTermVersion(DeleteTermVersionRequest request, AsyncHandler<DeleteTermVersionRequest,DeleteTermVersionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Deletes a Term by the identifier- Specified by:
deleteTermVersion
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getArtifact
public Future<GetArtifactResponse> getArtifact(GetArtifactRequest request, AsyncHandler<GetArtifactRequest,GetArtifactResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the specified artifact’s information.- Specified by:
getArtifact
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCategory
public Future<GetCategoryResponse> getCategory(GetCategoryRequest request, AsyncHandler<GetCategoryRequest,GetCategoryResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the specified category’s information.- Specified by:
getCategory
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getListing
public Future<GetListingResponse> getListing(GetListingRequest request, AsyncHandler<GetListingRequest,GetListingResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the details for a listing.- Specified by:
getListing
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getListingRevision
public Future<GetListingRevisionResponse> getListingRevision(GetListingRevisionRequest request, AsyncHandler<GetListingRevisionRequest,GetListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the details for a listing revision.- Specified by:
getListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getListingRevisionAttachment
public Future<GetListingRevisionAttachmentResponse> getListingRevisionAttachment(GetListingRevisionAttachmentRequest request, AsyncHandler<GetListingRevisionAttachmentRequest,GetListingRevisionAttachmentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Get the details of the specified listing revision attachment.- Specified by:
getListingRevisionAttachment
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getListingRevisionNote
public Future<GetListingRevisionNoteResponse> getListingRevisionNote(GetListingRevisionNoteRequest request, AsyncHandler<GetListingRevisionNoteRequest,GetListingRevisionNoteResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Get note details by the identifier- Specified by:
getListingRevisionNote
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getListingRevisionPackage
public Future<GetListingRevisionPackageResponse> getListingRevisionPackage(GetListingRevisionPackageRequest request, AsyncHandler<GetListingRevisionPackageRequest,GetListingRevisionPackageResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Get the details of the specified version of a package.- Specified by:
getListingRevisionPackage
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getMarket
public Future<GetMarketResponse> getMarket(GetMarketRequest request, AsyncHandler<GetMarketRequest,GetMarketResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the specified market’s information.- Specified by:
getMarket
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getProduct
public Future<GetProductResponse> getProduct(GetProductRequest request, AsyncHandler<GetProductRequest,GetProductResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets a Product by code identifier- Specified by:
getProduct
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPublisher
public Future<GetPublisherResponse> getPublisher(GetPublisherRequest request, AsyncHandler<GetPublisherRequest,GetPublisherResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets a Publisher by identifier- Specified by:
getPublisher
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getTerm
public Future<GetTermResponse> getTerm(GetTermRequest request, AsyncHandler<GetTermRequest,GetTermResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets a Term by identifier- Specified by:
getTerm
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getTermVersion
public Future<GetTermVersionResponse> getTermVersion(GetTermVersionRequest request, AsyncHandler<GetTermVersionRequest,GetTermVersionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets a Term Version by the identifier- Specified by:
getTermVersion
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets details of the work request with the given ID.- Specified by:
getWorkRequest
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listArtifacts
public Future<ListArtifactsResponse> listArtifacts(ListArtifactsRequest request, AsyncHandler<ListArtifactsRequest,ListArtifactsResponse> handler)
Description copied from interface: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).
- Specified by:
listArtifacts
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCategories
public Future<ListCategoriesResponse> listCategories(ListCategoriesRequest request, AsyncHandler<ListCategoriesRequest,ListCategoriesResponse> handler)
Description copied from interface: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).
- Specified by:
listCategories
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listListingRevisionAttachments
public Future<ListListingRevisionAttachmentsResponse> listListingRevisionAttachments(ListListingRevisionAttachmentsRequest request, AsyncHandler<ListListingRevisionAttachmentsRequest,ListListingRevisionAttachmentsResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the list of attachments for a listing revision in a compartment- Specified by:
listListingRevisionAttachments
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listListingRevisionNotes
public Future<ListListingRevisionNotesResponse> listListingRevisionNotes(ListListingRevisionNotesRequest request, AsyncHandler<ListListingRevisionNotesRequest,ListListingRevisionNotesResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the list of notes for a listing revision.- Specified by:
listListingRevisionNotes
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listListingRevisionPackages
public Future<ListListingRevisionPackagesResponse> listListingRevisionPackages(ListListingRevisionPackagesRequest request, AsyncHandler<ListListingRevisionPackagesRequest,ListListingRevisionPackagesResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Gets the list of packages for a listing revision.- Specified by:
listListingRevisionPackages
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listListingRevisions
public Future<ListListingRevisionsResponse> listListingRevisions(ListListingRevisionsRequest request, AsyncHandler<ListListingRevisionsRequest,ListListingRevisionsResponse> handler)
Description copied from interface: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).
- Specified by:
listListingRevisions
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listListings
public Future<ListListingsResponse> listListings(ListListingsRequest request, AsyncHandler<ListListingsRequest,ListListingsResponse> handler)
Description copied from interface: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).
- Specified by:
listListings
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listMarkets
public Future<ListMarketsResponse> listMarkets(ListMarketsRequest request, AsyncHandler<ListMarketsRequest,ListMarketsResponse> handler)
Description copied from interface: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).
- Specified by:
listMarkets
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listProducts
public Future<ListProductsResponse> listProducts(ListProductsRequest request, AsyncHandler<ListProductsRequest,ListProductsResponse> handler)
Description copied from interface: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).
- Specified by:
listProducts
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPublishers
public Future<ListPublishersResponse> listPublishers(ListPublishersRequest request, AsyncHandler<ListPublishersRequest,ListPublishersResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Returns a list of publishers.- Specified by:
listPublishers
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listTermVersions
public Future<ListTermVersionsResponse> listTermVersions(ListTermVersionsRequest request, AsyncHandler<ListTermVersionsRequest,ListTermVersionsResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Returns a list of the publisher term versions.- Specified by:
listTermVersions
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listTerms
public Future<ListTermsResponse> listTerms(ListTermsRequest request, AsyncHandler<ListTermsRequest,ListTermsResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Returns a list of the publisher terms.- Specified by:
listTerms
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Returns a (paginated) list of errors for the work request with the given ID.- Specified by:
listWorkRequestErrors
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Returns a (paginated) list of logs for the work request with the given ID.- Specified by:
listWorkRequestLogs
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
markListingRevisionPackageAsDefault
public Future<MarkListingRevisionPackageAsDefaultResponse> markListingRevisionPackageAsDefault(MarkListingRevisionPackageAsDefaultRequest request, AsyncHandler<MarkListingRevisionPackageAsDefaultRequest,MarkListingRevisionPackageAsDefaultResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Mark the Listing Revision Package identified by the id and package version as default- Specified by:
markListingRevisionPackageAsDefault
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
publishListingRevision
public Future<PublishListingRevisionResponse> publishListingRevision(PublishListingRevisionRequest request, AsyncHandler<PublishListingRevisionRequest,PublishListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Publish the Listing revision identified by Identifier.- Specified by:
publishListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
publishListingRevisionAsPrivate
public Future<PublishListingRevisionAsPrivateResponse> publishListingRevisionAsPrivate(PublishListingRevisionAsPrivateRequest request, AsyncHandler<PublishListingRevisionAsPrivateRequest,PublishListingRevisionAsPrivateResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision to PublishAsPrivate- Specified by:
publishListingRevisionAsPrivate
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
publishListingRevisionPackage
public Future<PublishListingRevisionPackageResponse> publishListingRevisionPackage(PublishListingRevisionPackageRequest request, AsyncHandler<PublishListingRevisionPackageRequest,PublishListingRevisionPackageResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision Package to publish status- Specified by:
publishListingRevisionPackage
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
submitListingRevisionForReview
public Future<SubmitListingRevisionForReviewResponse> submitListingRevisionForReview(SubmitListingRevisionForReviewRequest request, AsyncHandler<SubmitListingRevisionForReviewRequest,SubmitListingRevisionForReviewResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Update the Listing Revision identified by the id for review- Specified by:
submitListingRevisionForReview
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
unPublishListingRevisionPackage
public Future<UnPublishListingRevisionPackageResponse> unPublishListingRevisionPackage(UnPublishListingRevisionPackageRequest request, AsyncHandler<UnPublishListingRevisionPackageRequest,UnPublishListingRevisionPackageResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision Package to Unpublish status- Specified by:
unPublishListingRevisionPackage
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateArtifact
public Future<UpdateArtifactResponse> updateArtifact(UpdateArtifactRequest request, AsyncHandler<UpdateArtifactRequest,UpdateArtifactResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the specified artifact identified by the id.- Specified by:
updateArtifact
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateListing
public Future<UpdateListingResponse> updateListing(UpdateListingRequest request, AsyncHandler<UpdateListingRequest,UpdateListingResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the specified Listing identified by the id.- Specified by:
updateListing
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateListingRevision
public Future<UpdateListingRevisionResponse> updateListingRevision(UpdateListingRevisionRequest request, AsyncHandler<UpdateListingRevisionRequest,UpdateListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision- Specified by:
updateListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateListingRevisionAttachment
public Future<UpdateListingRevisionAttachmentResponse> updateListingRevisionAttachment(UpdateListingRevisionAttachmentRequest request, AsyncHandler<UpdateListingRevisionAttachmentRequest,UpdateListingRevisionAttachmentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision Attachment- Specified by:
updateListingRevisionAttachment
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateListingRevisionAttachmentContent
public Future<UpdateListingRevisionAttachmentContentResponse> updateListingRevisionAttachmentContent(UpdateListingRevisionAttachmentContentRequest request, AsyncHandler<UpdateListingRevisionAttachmentContentRequest,UpdateListingRevisionAttachmentContentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Update a file to listing revision attachment- Specified by:
updateListingRevisionAttachmentContent
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateListingRevisionIconContent
public Future<UpdateListingRevisionIconContentResponse> updateListingRevisionIconContent(UpdateListingRevisionIconContentRequest request, AsyncHandler<UpdateListingRevisionIconContentRequest,UpdateListingRevisionIconContentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision- Specified by:
updateListingRevisionIconContent
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateListingRevisionPackage
public Future<UpdateListingRevisionPackageResponse> updateListingRevisionPackage(UpdateListingRevisionPackageRequest request, AsyncHandler<UpdateListingRevisionPackageRequest,UpdateListingRevisionPackageResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Listing Revision Package.- Specified by:
updateListingRevisionPackage
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateTerm
public Future<UpdateTermResponse> updateTerm(UpdateTermRequest request, AsyncHandler<UpdateTermRequest,UpdateTermResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Term- Specified by:
updateTerm
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateTermVersion
public Future<UpdateTermVersionResponse> updateTermVersion(UpdateTermVersionRequest request, AsyncHandler<UpdateTermVersionRequest,UpdateTermVersionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Term Version- Specified by:
updateTermVersion
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateTermVersionContent
public Future<UpdateTermVersionContentResponse> updateTermVersionContent(UpdateTermVersionContentRequest request, AsyncHandler<UpdateTermVersionContentRequest,UpdateTermVersionContentResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Updates the Term Version attachment- Specified by:
updateTermVersionContent
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateAndPublishArtifact
public Future<ValidateAndPublishArtifactResponse> validateAndPublishArtifact(ValidateAndPublishArtifactRequest request, AsyncHandler<ValidateAndPublishArtifactRequest,ValidateAndPublishArtifactResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Validate and publish artifact.- Specified by:
validateAndPublishArtifact
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
withdrawListingRevision
public Future<WithdrawListingRevisionResponse> withdrawListingRevision(WithdrawListingRevisionRequest request, AsyncHandler<WithdrawListingRevisionRequest,WithdrawListingRevisionResponse> handler)
Description copied from interface:MarketplacePublisherAsync
Update the Listing Revision identified by the id as Withdraw/UnPublished.- Specified by:
withdrawListingRevision
in interfaceMarketplacePublisherAsync
- Parameters:
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint
- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient
.This will call
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
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)
-
-