Class MarketplacePublisherClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.marketplacepublisher.MarketplacePublisherClient
-
- All Implemented Interfaces:
MarketplacePublisher
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class MarketplacePublisherClient extends BaseSyncClient implements MarketplacePublisher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MarketplacePublisherClient.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 MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
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.MarketplacePublisher
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(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 (seeMarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(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 (seeMarketplacePublisherClient.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)
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(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 (seeMarketplacePublisherClient.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
-
MarketplacePublisherClient
@Deprecated public MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeMarketplacePublisherClient.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
executorService
-MarketplacePublisherClient.Builder.executorService
-
-
Method Detail
-
builder
public static MarketplacePublisherClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
regionId
- The public region ID.
-
activateTermVersion
public ActivateTermVersionResponse activateTermVersion(ActivateTermVersionRequest request)
Description copied from interface:MarketplacePublisher
Mark the Term Version identified by the id as active- Specified by:
activateTermVersion
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:MarketplacePublisher
Cancels the work request with the given ID.- Specified by:
cancelWorkRequest
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cascadingDeleteListing
public CascadingDeleteListingResponse cascadingDeleteListing(CascadingDeleteListingRequest request)
Description copied from interface:MarketplacePublisher
Cascade delete the listing and its subresources.- Specified by:
cascadingDeleteListing
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cascadingDeleteListingRevision
public CascadingDeleteListingRevisionResponse cascadingDeleteListingRevision(CascadingDeleteListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Cascade delete listing revision and its subresources.- Specified by:
cascadingDeleteListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeArtifactCompartment
public ChangeArtifactCompartmentResponse changeArtifactCompartment(ChangeArtifactCompartmentRequest request)
Description copied from interface:MarketplacePublisher
Moves the specified artifact to the specified compartment within the same tenancy.- Specified by:
changeArtifactCompartment
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeListingCompartment
public ChangeListingCompartmentResponse changeListingCompartment(ChangeListingCompartmentRequest request)
Description copied from interface:MarketplacePublisher
Moves a listing from one compartment to another- Specified by:
changeListingCompartment
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeListingRevisionToNewStatus
public ChangeListingRevisionToNewStatusResponse changeListingRevisionToNewStatus(ChangeListingRevisionToNewStatusRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing Revision to New status- Specified by:
changeListingRevisionToNewStatus
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeTermCompartment
public ChangeTermCompartmentResponse changeTermCompartment(ChangeTermCompartmentRequest request)
Description copied from interface:MarketplacePublisher
Moves a term from one compartment to another- Specified by:
changeTermCompartment
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
cloneListingRevision
public CloneListingRevisionResponse cloneListingRevision(CloneListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Clone the published/withdrawn Listing Revision identified by the identifier.- Specified by:
cloneListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createArtifact
public CreateArtifactResponse createArtifact(CreateArtifactRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createListing
public CreateListingResponse createListing(CreateListingRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createListingRevision
public CreateListingRevisionResponse createListingRevision(CreateListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Creates a new Listing Revision.- Specified by:
createListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createListingRevisionAttachment
public CreateListingRevisionAttachmentResponse createListingRevisionAttachment(CreateListingRevisionAttachmentRequest request)
Description copied from interface:MarketplacePublisher
Creates a new listing revision attachment.- Specified by:
createListingRevisionAttachment
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createListingRevisionNote
public CreateListingRevisionNoteResponse createListingRevisionNote(CreateListingRevisionNoteRequest request)
Description copied from interface:MarketplacePublisher
Creates a new Listing Revision Note.- Specified by:
createListingRevisionNote
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createListingRevisionPackage
public CreateListingRevisionPackageResponse createListingRevisionPackage(CreateListingRevisionPackageRequest request)
Description copied from interface:MarketplacePublisher
Creates a new Listing Revision Package.- Specified by:
createListingRevisionPackage
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createTerm
public CreateTermResponse createTerm(CreateTermRequest request)
Description copied from interface:MarketplacePublisher
Creates a new Term.- Specified by:
createTerm
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createTermVersion
public CreateTermVersionResponse createTermVersion(CreateTermVersionRequest request)
Description copied from interface:MarketplacePublisher
Creates a new Term Version.Note: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
createTermVersion
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteArtifact
public DeleteArtifactResponse deleteArtifact(DeleteArtifactRequest request)
Description copied from interface:MarketplacePublisher
Deletes the specified artifact.- Specified by:
deleteArtifact
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteListing
public DeleteListingResponse deleteListing(DeleteListingRequest request)
Description copied from interface:MarketplacePublisher
Deletes a listing by the identifier- Specified by:
deleteListing
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteListingRevision
public DeleteListingRevisionResponse deleteListingRevision(DeleteListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Deletes a listing by the identifier- Specified by:
deleteListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteListingRevisionAttachment
public DeleteListingRevisionAttachmentResponse deleteListingRevisionAttachment(DeleteListingRevisionAttachmentRequest request)
Description copied from interface:MarketplacePublisher
Deletes a listing revision attachment by the identifier- Specified by:
deleteListingRevisionAttachment
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteListingRevisionNote
public DeleteListingRevisionNoteResponse deleteListingRevisionNote(DeleteListingRevisionNoteRequest request)
Description copied from interface:MarketplacePublisher
Deletes a listing revision note by the identifier.- Specified by:
deleteListingRevisionNote
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteListingRevisionPackage
public DeleteListingRevisionPackageResponse deleteListingRevisionPackage(DeleteListingRevisionPackageRequest request)
Description copied from interface:MarketplacePublisher
Deletes a listing revision package by the identifier- Specified by:
deleteListingRevisionPackage
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteTerm
public DeleteTermResponse deleteTerm(DeleteTermRequest request)
Description copied from interface:MarketplacePublisher
Deletes a Term by the identifier- Specified by:
deleteTerm
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteTermVersion
public DeleteTermVersionResponse deleteTermVersion(DeleteTermVersionRequest request)
Description copied from interface:MarketplacePublisher
Deletes a Term by the identifier- Specified by:
deleteTermVersion
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getArtifact
public GetArtifactResponse getArtifact(GetArtifactRequest request)
Description copied from interface:MarketplacePublisher
Gets the specified artifact’s information.- Specified by:
getArtifact
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getCategory
public GetCategoryResponse getCategory(GetCategoryRequest request)
Description copied from interface:MarketplacePublisher
Gets the specified category’s information.- Specified by:
getCategory
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getListing
public GetListingResponse getListing(GetListingRequest request)
Description copied from interface:MarketplacePublisher
Gets the details for a listing.- Specified by:
getListing
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getListingRevision
public GetListingRevisionResponse getListingRevision(GetListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Gets the details for a listing revision.- Specified by:
getListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getListingRevisionAttachment
public GetListingRevisionAttachmentResponse getListingRevisionAttachment(GetListingRevisionAttachmentRequest request)
Description copied from interface:MarketplacePublisher
Get the details of the specified listing revision attachment.- Specified by:
getListingRevisionAttachment
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getListingRevisionNote
public GetListingRevisionNoteResponse getListingRevisionNote(GetListingRevisionNoteRequest request)
Description copied from interface:MarketplacePublisher
Get note details by the identifier- Specified by:
getListingRevisionNote
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getListingRevisionPackage
public GetListingRevisionPackageResponse getListingRevisionPackage(GetListingRevisionPackageRequest request)
Description copied from interface:MarketplacePublisher
Get the details of the specified version of a package.- Specified by:
getListingRevisionPackage
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMarket
public GetMarketResponse getMarket(GetMarketRequest request)
Description copied from interface:MarketplacePublisher
Gets the specified market’s information.- Specified by:
getMarket
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getProduct
public GetProductResponse getProduct(GetProductRequest request)
Description copied from interface:MarketplacePublisher
Gets a Product by code identifier- Specified by:
getProduct
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPublisher
public GetPublisherResponse getPublisher(GetPublisherRequest request)
Description copied from interface:MarketplacePublisher
Gets a Publisher by identifier- Specified by:
getPublisher
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getTerm
public GetTermResponse getTerm(GetTermRequest request)
Description copied from interface:MarketplacePublisher
Gets a Term by identifier- Specified by:
getTerm
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getTermVersion
public GetTermVersionResponse getTermVersion(GetTermVersionRequest request)
Description copied from interface:MarketplacePublisher
Gets a Term Version by the identifier- Specified by:
getTermVersion
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:MarketplacePublisher
Gets details of the work request with the given ID.- Specified by:
getWorkRequest
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listArtifacts
public ListArtifactsResponse listArtifacts(ListArtifactsRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listCategories
public ListCategoriesResponse listCategories(ListCategoriesRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listListingRevisionAttachments
public ListListingRevisionAttachmentsResponse listListingRevisionAttachments(ListListingRevisionAttachmentsRequest request)
Description copied from interface:MarketplacePublisher
Gets the list of attachments for a listing revision in a compartment- Specified by:
listListingRevisionAttachments
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listListingRevisionNotes
public ListListingRevisionNotesResponse listListingRevisionNotes(ListListingRevisionNotesRequest request)
Description copied from interface:MarketplacePublisher
Gets the list of notes for a listing revision.- Specified by:
listListingRevisionNotes
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listListingRevisionPackages
public ListListingRevisionPackagesResponse listListingRevisionPackages(ListListingRevisionPackagesRequest request)
Description copied from interface:MarketplacePublisher
Gets the list of packages for a listing revision.- Specified by:
listListingRevisionPackages
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listListingRevisions
public ListListingRevisionsResponse listListingRevisions(ListListingRevisionsRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listListings
public ListListingsResponse listListings(ListListingsRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMarkets
public ListMarketsResponse listMarkets(ListMarketsRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listProducts
public ListProductsResponse listProducts(ListProductsRequest request)
Description copied from interface:MarketplacePublisher
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 interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPublishers
public ListPublishersResponse listPublishers(ListPublishersRequest request)
Description copied from interface:MarketplacePublisher
Returns a list of publishers.- Specified by:
listPublishers
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listTermVersions
public ListTermVersionsResponse listTermVersions(ListTermVersionsRequest request)
Description copied from interface:MarketplacePublisher
Returns a list of the publisher term versions.- Specified by:
listTermVersions
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listTerms
public ListTermsResponse listTerms(ListTermsRequest request)
Description copied from interface:MarketplacePublisher
Returns a list of the publisher terms.- Specified by:
listTerms
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:MarketplacePublisher
Returns a (paginated) list of errors for the work request with the given ID.- Specified by:
listWorkRequestErrors
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:MarketplacePublisher
Returns a (paginated) list of logs for the work request with the given ID.- Specified by:
listWorkRequestLogs
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:MarketplacePublisher
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
markListingRevisionPackageAsDefault
public MarkListingRevisionPackageAsDefaultResponse markListingRevisionPackageAsDefault(MarkListingRevisionPackageAsDefaultRequest request)
Description copied from interface:MarketplacePublisher
Mark the Listing Revision Package identified by the id and package version as default- Specified by:
markListingRevisionPackageAsDefault
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
publishListingRevision
public PublishListingRevisionResponse publishListingRevision(PublishListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Publish the Listing revision identified by Identifier.- Specified by:
publishListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
publishListingRevisionAsPrivate
public PublishListingRevisionAsPrivateResponse publishListingRevisionAsPrivate(PublishListingRevisionAsPrivateRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing Revision to PublishAsPrivate- Specified by:
publishListingRevisionAsPrivate
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
publishListingRevisionPackage
public PublishListingRevisionPackageResponse publishListingRevisionPackage(PublishListingRevisionPackageRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing Revision Package to publish status- Specified by:
publishListingRevisionPackage
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
submitListingRevisionForReview
public SubmitListingRevisionForReviewResponse submitListingRevisionForReview(SubmitListingRevisionForReviewRequest request)
Description copied from interface:MarketplacePublisher
Update the Listing Revision identified by the id for review- Specified by:
submitListingRevisionForReview
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
unPublishListingRevisionPackage
public UnPublishListingRevisionPackageResponse unPublishListingRevisionPackage(UnPublishListingRevisionPackageRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing Revision Package to Unpublish status- Specified by:
unPublishListingRevisionPackage
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateArtifact
public UpdateArtifactResponse updateArtifact(UpdateArtifactRequest request)
Description copied from interface:MarketplacePublisher
Updates the specified artifact identified by the id.- Specified by:
updateArtifact
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateListing
public UpdateListingResponse updateListing(UpdateListingRequest request)
Description copied from interface:MarketplacePublisher
Updates the specified Listing identified by the id.- Specified by:
updateListing
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateListingRevision
public UpdateListingRevisionResponse updateListingRevision(UpdateListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing Revision- Specified by:
updateListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateListingRevisionAttachment
public UpdateListingRevisionAttachmentResponse updateListingRevisionAttachment(UpdateListingRevisionAttachmentRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing Revision Attachment- Specified by:
updateListingRevisionAttachment
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateListingRevisionAttachmentContent
public UpdateListingRevisionAttachmentContentResponse updateListingRevisionAttachmentContent(UpdateListingRevisionAttachmentContentRequest request)
Description copied from interface:MarketplacePublisher
Update a file to listing revision attachmentNote: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
updateListingRevisionAttachmentContent
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateListingRevisionIconContent
public UpdateListingRevisionIconContentResponse updateListingRevisionIconContent(UpdateListingRevisionIconContentRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing RevisionNote: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
updateListingRevisionIconContent
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateListingRevisionPackage
public UpdateListingRevisionPackageResponse updateListingRevisionPackage(UpdateListingRevisionPackageRequest request)
Description copied from interface:MarketplacePublisher
Updates the Listing Revision Package.- Specified by:
updateListingRevisionPackage
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateTerm
public UpdateTermResponse updateTerm(UpdateTermRequest request)
Description copied from interface:MarketplacePublisher
Updates the Term- Specified by:
updateTerm
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateTermVersion
public UpdateTermVersionResponse updateTermVersion(UpdateTermVersionRequest request)
Description copied from interface:MarketplacePublisher
Updates the Term Version- Specified by:
updateTermVersion
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateTermVersionContent
public UpdateTermVersionContentResponse updateTermVersionContent(UpdateTermVersionContentRequest request)
Description copied from interface:MarketplacePublisher
Updates the Term Version attachmentNote: This operation consumes a stream.
If the stream supports
InputStream.mark(int)
andInputStream.reset()
, when a retry is necessary, the stream is reset so it starts at the beginning (or whatever the stream's position was at the time this operation is called}.Note this means that if the caller has used
InputStream.mark(int)
before, then the mark will not be the same anymore after this operation, and a subsequent call toInputStream.reset()
by the caller will reset the stream not to the caller's mark, but to the position the stream was in when this operation was called.If the stream is a
FileInputStream
, and the stream'sFileChannel
position can be changed (like for a regular file), the stream will be wrapped in such a way that it does provide support forInputStream.mark(int)
andInputStream.reset()
. Then the same procedure as above is followed. If the stream'sFileChannel
position cannot be changed (like for a named pipe), then the stream's contents will be buffered in memory, as described below.If the stream does not support
InputStream.mark(int)
andInputStream.reset()
, then the stream is wrapped in aBufferedInputStream
, which means the entire contents may be buffered in memory. Then the same procedure as above is followed.The contents of the stream, except when the stream is a
FileInputStream
whoseFileChannel
position can be changed, should be less than 2 GiB in size if retries are used. This is because streams 2 GiB in size or larger do no guarantee that mark-and-reset can be performed. If the stream is larger, do not use built-in retries and manage retries yourself.- Specified by:
updateTermVersionContent
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
validateAndPublishArtifact
public ValidateAndPublishArtifactResponse validateAndPublishArtifact(ValidateAndPublishArtifactRequest request)
Description copied from interface:MarketplacePublisher
Validate and publish artifact.- Specified by:
validateAndPublishArtifact
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
withdrawListingRevision
public WithdrawListingRevisionResponse withdrawListingRevision(WithdrawListingRevisionRequest request)
Description copied from interface:MarketplacePublisher
Update the Listing Revision identified by the id as Withdraw/UnPublished.- Specified by:
withdrawListingRevision
in interfaceMarketplacePublisher
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public MarketplacePublisherWaiters getWaiters()
Description copied from interface:MarketplacePublisher
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceMarketplacePublisher
- Returns:
- The service waiters.
-
getPaginators
public MarketplacePublisherPaginators getPaginators()
Description copied from interface:MarketplacePublisher
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginators
in interfaceMarketplacePublisher
- Returns:
- The service paginators.
-
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()
-
-