@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class MarketplacePublisherClient extends BaseSyncClient implements MarketplacePublisher
Modifier and Type | Class and Description |
---|---|
static class |
MarketplacePublisherClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for MarketplacePublisher.
|
Constructor and Description |
---|
MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for MarketplacePublisher.
public final String clientCommonLibraryVersion
@Deprecated public MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public MarketplacePublisherClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.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
@Deprecated public MarketplacePublisherClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see MarketplacePublisherClient.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
public static MarketplacePublisherClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
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.
setRegion
in interface MarketplacePublisher
region
- The region of the service.public void setRegion(String regionId)
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 call setEndpoint
.
setRegion
in interface MarketplacePublisher
regionId
- The public region ID.public ActivateTermVersionResponse activateTermVersion(ActivateTermVersionRequest request)
MarketplacePublisher
Mark the Term Version identified by the id as active
activateTermVersion
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
MarketplacePublisher
Cancels the work request with the given ID.
cancelWorkRequest
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CascadingDeleteListingResponse cascadingDeleteListing(CascadingDeleteListingRequest request)
MarketplacePublisher
Cascade delete the listing and its subresources.
cascadingDeleteListing
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CascadingDeleteListingRevisionResponse cascadingDeleteListingRevision(CascadingDeleteListingRevisionRequest request)
MarketplacePublisher
Cascade delete listing revision and its subresources.
cascadingDeleteListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ChangeArtifactCompartmentResponse changeArtifactCompartment(ChangeArtifactCompartmentRequest request)
MarketplacePublisher
Moves the specified artifact to the specified compartment within the same tenancy.
changeArtifactCompartment
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ChangeListingCompartmentResponse changeListingCompartment(ChangeListingCompartmentRequest request)
MarketplacePublisher
Moves a listing from one compartment to another
changeListingCompartment
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ChangeListingRevisionToNewStatusResponse changeListingRevisionToNewStatus(ChangeListingRevisionToNewStatusRequest request)
MarketplacePublisher
Updates the Listing Revision to New status
changeListingRevisionToNewStatus
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ChangeTermCompartmentResponse changeTermCompartment(ChangeTermCompartmentRequest request)
MarketplacePublisher
Moves a term from one compartment to another
changeTermCompartment
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CloneListingRevisionResponse cloneListingRevision(CloneListingRevisionRequest request)
MarketplacePublisher
Clone the published/withdrawn Listing Revision identified by the identifier.
cloneListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateArtifactResponse createArtifact(CreateArtifactRequest request)
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 ‘AVAILABLE’ for the new Artifact.
createArtifact
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateListingResponse createListing(CreateListingRequest request)
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.
createListing
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateListingRevisionResponse createListingRevision(CreateListingRevisionRequest request)
MarketplacePublisher
Creates a new Listing Revision.
createListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateListingRevisionAttachmentResponse createListingRevisionAttachment(CreateListingRevisionAttachmentRequest request)
MarketplacePublisher
Creates a new listing revision attachment.
createListingRevisionAttachment
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateListingRevisionNoteResponse createListingRevisionNote(CreateListingRevisionNoteRequest request)
MarketplacePublisher
Creates a new Listing Revision Note.
createListingRevisionNote
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateListingRevisionPackageResponse createListingRevisionPackage(CreateListingRevisionPackageRequest request)
MarketplacePublisher
Creates a new Listing Revision Package.
createListingRevisionPackage
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateTermResponse createTerm(CreateTermRequest request)
MarketplacePublisher
Creates a new Term.
createTerm
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic CreateTermVersionResponse createTermVersion(CreateTermVersionRequest request)
MarketplacePublisher
Creates a new Term Version.
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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
whose FileChannel
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.
createTermVersion
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteArtifactResponse deleteArtifact(DeleteArtifactRequest request)
MarketplacePublisher
Deletes the specified artifact.
deleteArtifact
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteListingResponse deleteListing(DeleteListingRequest request)
MarketplacePublisher
Deletes a listing by the identifier
deleteListing
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteListingRevisionResponse deleteListingRevision(DeleteListingRevisionRequest request)
MarketplacePublisher
Deletes a listing by the identifier
deleteListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteListingRevisionAttachmentResponse deleteListingRevisionAttachment(DeleteListingRevisionAttachmentRequest request)
MarketplacePublisher
Deletes a listing revision attachment by the identifier
deleteListingRevisionAttachment
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteListingRevisionNoteResponse deleteListingRevisionNote(DeleteListingRevisionNoteRequest request)
MarketplacePublisher
Deletes a listing revision note by the identifier.
deleteListingRevisionNote
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteListingRevisionPackageResponse deleteListingRevisionPackage(DeleteListingRevisionPackageRequest request)
MarketplacePublisher
Deletes a listing revision package by the identifier
deleteListingRevisionPackage
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteTermResponse deleteTerm(DeleteTermRequest request)
MarketplacePublisher
Deletes a Term by the identifier
deleteTerm
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic DeleteTermVersionResponse deleteTermVersion(DeleteTermVersionRequest request)
MarketplacePublisher
Deletes a Term by the identifier
deleteTermVersion
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetArtifactResponse getArtifact(GetArtifactRequest request)
MarketplacePublisher
Gets the specified artifact’s information.
getArtifact
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetCategoryResponse getCategory(GetCategoryRequest request)
MarketplacePublisher
Gets the specified category’s information.
getCategory
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetListingResponse getListing(GetListingRequest request)
MarketplacePublisher
Gets the details for a listing.
getListing
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetListingRevisionResponse getListingRevision(GetListingRevisionRequest request)
MarketplacePublisher
Gets the details for a listing revision.
getListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetListingRevisionAttachmentResponse getListingRevisionAttachment(GetListingRevisionAttachmentRequest request)
MarketplacePublisher
Get the details of the specified listing revision attachment.
getListingRevisionAttachment
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetListingRevisionNoteResponse getListingRevisionNote(GetListingRevisionNoteRequest request)
MarketplacePublisher
Get note details by the identifier
getListingRevisionNote
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetListingRevisionPackageResponse getListingRevisionPackage(GetListingRevisionPackageRequest request)
MarketplacePublisher
Get the details of the specified version of a package.
getListingRevisionPackage
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetMarketResponse getMarket(GetMarketRequest request)
MarketplacePublisher
Gets the specified market’s information.
getMarket
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetProductResponse getProduct(GetProductRequest request)
MarketplacePublisher
Gets a Product by code identifier
getProduct
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetPublisherResponse getPublisher(GetPublisherRequest request)
MarketplacePublisher
Gets a Publisher by identifier
getPublisher
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetTermResponse getTerm(GetTermRequest request)
MarketplacePublisher
Gets a Term by identifier
getTerm
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetTermVersionResponse getTermVersion(GetTermVersionRequest request)
MarketplacePublisher
Gets a Term Version by the identifier
getTermVersion
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
MarketplacePublisher
Gets details of the work request with the given ID.
getWorkRequest
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListArtifactsResponse listArtifacts(ListArtifactsRequest request)
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).
listArtifacts
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListCategoriesResponse listCategories(ListCategoriesRequest request)
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).
listCategories
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListListingRevisionAttachmentsResponse listListingRevisionAttachments(ListListingRevisionAttachmentsRequest request)
MarketplacePublisher
Gets the list of attachments for a listing revision in a compartment
listListingRevisionAttachments
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListListingRevisionNotesResponse listListingRevisionNotes(ListListingRevisionNotesRequest request)
MarketplacePublisher
Gets the list of notes for a listing revision.
listListingRevisionNotes
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListListingRevisionPackagesResponse listListingRevisionPackages(ListListingRevisionPackagesRequest request)
MarketplacePublisher
Gets the list of packages for a listing revision.
listListingRevisionPackages
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListListingRevisionsResponse listListingRevisions(ListListingRevisionsRequest request)
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).
listListingRevisions
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListListingsResponse listListings(ListListingsRequest request)
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).
listListings
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListMarketsResponse listMarkets(ListMarketsRequest request)
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).
listMarkets
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListProductsResponse listProducts(ListProductsRequest request)
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).
listProducts
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListPublishersResponse listPublishers(ListPublishersRequest request)
MarketplacePublisher
Returns a list of publishers.
listPublishers
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListTermVersionsResponse listTermVersions(ListTermVersionsRequest request)
MarketplacePublisher
Returns a list of the publisher term versions.
listTermVersions
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListTermsResponse listTerms(ListTermsRequest request)
MarketplacePublisher
Returns a list of the publisher terms.
listTerms
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
MarketplacePublisher
Returns a (paginated) list of errors for the work request with the given ID.
listWorkRequestErrors
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
MarketplacePublisher
Returns a (paginated) list of logs for the work request with the given ID.
listWorkRequestLogs
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
MarketplacePublisher
Lists the work requests in a compartment.
listWorkRequests
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic MarkListingRevisionPackageAsDefaultResponse markListingRevisionPackageAsDefault(MarkListingRevisionPackageAsDefaultRequest request)
MarketplacePublisher
Mark the Listing Revision Package identified by the id and package version as default
markListingRevisionPackageAsDefault
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic PublishListingRevisionResponse publishListingRevision(PublishListingRevisionRequest request)
MarketplacePublisher
Publish the Listing revision identified by Identifier.
publishListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic PublishListingRevisionAsPrivateResponse publishListingRevisionAsPrivate(PublishListingRevisionAsPrivateRequest request)
MarketplacePublisher
Updates the Listing Revision to PublishAsPrivate
publishListingRevisionAsPrivate
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic PublishListingRevisionPackageResponse publishListingRevisionPackage(PublishListingRevisionPackageRequest request)
MarketplacePublisher
Updates the Listing Revision Package to publish status
publishListingRevisionPackage
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic SubmitListingRevisionForReviewResponse submitListingRevisionForReview(SubmitListingRevisionForReviewRequest request)
MarketplacePublisher
Update the Listing Revision identified by the id for review
submitListingRevisionForReview
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UnPublishListingRevisionPackageResponse unPublishListingRevisionPackage(UnPublishListingRevisionPackageRequest request)
MarketplacePublisher
Updates the Listing Revision Package to Unpublish status
unPublishListingRevisionPackage
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateArtifactResponse updateArtifact(UpdateArtifactRequest request)
MarketplacePublisher
Updates the specified artifact identified by the id.
updateArtifact
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateListingResponse updateListing(UpdateListingRequest request)
MarketplacePublisher
Updates the specified Listing identified by the id.
updateListing
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateListingRevisionResponse updateListingRevision(UpdateListingRevisionRequest request)
MarketplacePublisher
Updates the Listing Revision
updateListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateListingRevisionAttachmentResponse updateListingRevisionAttachment(UpdateListingRevisionAttachmentRequest request)
MarketplacePublisher
Updates the Listing Revision Attachment
updateListingRevisionAttachment
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateListingRevisionAttachmentContentResponse updateListingRevisionAttachmentContent(UpdateListingRevisionAttachmentContentRequest request)
MarketplacePublisher
Update a file to listing revision attachment
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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
whose FileChannel
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.
updateListingRevisionAttachmentContent
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateListingRevisionIconContentResponse updateListingRevisionIconContent(UpdateListingRevisionIconContentRequest request)
MarketplacePublisher
Updates the Listing Revision
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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
whose FileChannel
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.
updateListingRevisionIconContent
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateListingRevisionPackageResponse updateListingRevisionPackage(UpdateListingRevisionPackageRequest request)
MarketplacePublisher
Updates the Listing Revision Package.
updateListingRevisionPackage
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateTermResponse updateTerm(UpdateTermRequest request)
MarketplacePublisher
Updates the Term
updateTerm
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateTermVersionResponse updateTermVersion(UpdateTermVersionRequest request)
MarketplacePublisher
Updates the Term Version
updateTermVersion
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic UpdateTermVersionContentResponse updateTermVersionContent(UpdateTermVersionContentRequest request)
MarketplacePublisher
Updates the Term Version attachment
Note: This operation consumes a stream.
If the stream supports InputStream.mark(int)
and InputStream.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 to
InputStream.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's FileChannel
position can be changed (like for a regular file), the stream
will be wrapped in such a way that it does provide support for InputStream.mark(int)
and InputStream.reset()
. Then the same
procedure as above is followed. If the stream's FileChannel
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)
and InputStream.reset()
, then the stream is wrapped in a BufferedInputStream
, 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
whose FileChannel
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.
updateTermVersionContent
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic ValidateAndPublishArtifactResponse validateAndPublishArtifact(ValidateAndPublishArtifactRequest request)
MarketplacePublisher
Validate and publish artifact.
validateAndPublishArtifact
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic WithdrawListingRevisionResponse withdrawListingRevision(WithdrawListingRevisionRequest request)
MarketplacePublisher
Update the Listing Revision identified by the id as Withdraw/UnPublished.
withdrawListingRevision
in interface MarketplacePublisher
request
- The request object containing the details to sendpublic MarketplacePublisherWaiters getWaiters()
MarketplacePublisher
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface MarketplacePublisher
public MarketplacePublisherPaginators getPaginators()
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.
getPaginators
in interface MarketplacePublisher
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.