com.oracle.bmc.marketplacepublisher.MarketplacePublisher Maven / Gradle / Ivy
Show all versions of oci-java-sdk-marketplacepublisher Show documentation
/**
* Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
package com.oracle.bmc.marketplacepublisher;
import com.oracle.bmc.marketplacepublisher.requests.*;
import com.oracle.bmc.marketplacepublisher.responses.*;
/**
* Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud
* Infrastructure Marketplace. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER
* for all the operations by default if no circuit breaker configuration is defined by the user.
*/
@jakarta.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20220901")
public interface MarketplacePublisher extends AutoCloseable {
/** Rebuilds the client from scratch. Useful to refresh certificates. */
void refreshClient();
/**
* Sets the endpoint to call (ex, https://www.example.com).
*
* @param endpoint The endpoint of the service.
*/
void setEndpoint(String endpoint);
/** Gets the set endpoint for REST call (ex, https://www.example.com) */
String getEndpoint();
/**
* Sets the region to call (ex, Region.US_PHOENIX_1).
*
* Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the
* endpoint. If the service is not available in this Region, however, an
* IllegalArgumentException will be raised.
*
* @param region The region of the service.
*/
void setRegion(com.oracle.bmc.Region region);
/**
* 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 {@link
* #setRegion(Region) setRegion}.
*
*
If no known Region could be determined, it will create an endpoint based on the default
* endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)}
* and then call {@link #setEndpoint(String) setEndpoint}.
*
* @param regionId The public region ID.
*/
void setRegion(String regionId);
/**
* Determines whether realm specific endpoint should be used or not. Set
* realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm
* specific endpoint template, otherwise set it to "false"
*
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint
* template
*/
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled);
/**
* Mark the Term Version identified by the id as active
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ActivateTermVersion
* API.
*/
ActivateTermVersionResponse activateTermVersion(ActivateTermVersionRequest request);
/**
* Cancels the work request with the given ID.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use CancelWorkRequest
* API.
*/
CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request);
/**
* Cascade delete the listing and its subresources.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* CascadingDeleteListing API.
*/
CascadingDeleteListingResponse cascadingDeleteListing(CascadingDeleteListingRequest request);
/**
* Cascade delete listing revision and its subresources.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* CascadingDeleteListingRevision API.
*/
CascadingDeleteListingRevisionResponse cascadingDeleteListingRevision(
CascadingDeleteListingRevisionRequest request);
/**
* Moves the specified artifact to the specified compartment within the same tenancy.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ChangeArtifactCompartment API.
*/
ChangeArtifactCompartmentResponse changeArtifactCompartment(
ChangeArtifactCompartmentRequest request);
/**
* Moves a listing from one compartment to another
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ChangeListingCompartment API.
*/
ChangeListingCompartmentResponse changeListingCompartment(
ChangeListingCompartmentRequest request);
/**
* Updates the Listing Revision to New status
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ChangeListingRevisionToNewStatus API.
*/
ChangeListingRevisionToNewStatusResponse changeListingRevisionToNewStatus(
ChangeListingRevisionToNewStatusRequest request);
/**
* Moves a term from one compartment to another
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ChangeTermCompartment API.
*/
ChangeTermCompartmentResponse changeTermCompartment(ChangeTermCompartmentRequest request);
/**
* Clone the published/withdrawn Listing Revision identified by the identifier.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* CloneListingRevision API.
*/
CloneListingRevisionResponse cloneListingRevision(CloneListingRevisionRequest request);
/**
* 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 {@link
* #updateArtifact(UpdateArtifactRequest) 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.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use CreateArtifact API.
*/
CreateArtifactResponse createArtifact(CreateArtifactRequest request);
/**
* 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.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use CreateListing API.
*/
CreateListingResponse createListing(CreateListingRequest request);
/**
* Creates a new Listing Revision.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* CreateListingRevision API.
*/
CreateListingRevisionResponse createListingRevision(CreateListingRevisionRequest request);
/**
* Creates a new listing revision attachment.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* CreateListingRevisionAttachment API.
*/
CreateListingRevisionAttachmentResponse createListingRevisionAttachment(
CreateListingRevisionAttachmentRequest request);
/**
* Creates a new Listing Revision Note.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* CreateListingRevisionNote API.
*/
CreateListingRevisionNoteResponse createListingRevisionNote(
CreateListingRevisionNoteRequest request);
/**
* Creates a new Listing Revision Package.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* CreateListingRevisionPackage API.
*/
CreateListingRevisionPackageResponse createListingRevisionPackage(
CreateListingRevisionPackageRequest request);
/**
* Creates a new Term.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use CreateTerm API.
*/
CreateTermResponse createTerm(CreateTermRequest request);
/**
* Creates a new Term Version.
*
*
Note: This operation consumes a stream.
*
*
If the stream supports {@link java.io.InputStream#mark(int)} and {@link
* java.io.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 {@link java.io.InputStream#mark(int)} before,
* then the mark will not be the same anymore after this operation, and a subsequent call to
* {@link java.io.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 {@link java.io.FileInputStream}, and the stream's {@link
* java.nio.channels.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 {@link
* java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}. Then the same
* procedure as above is followed. If the stream's {@link java.nio.channels.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 {@link java.io.InputStream#mark(int)} and {@link
* java.io.InputStream#reset()}, then the stream is wrapped in a {@link
* java.io.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 {@link java.io.FileInputStream}
* whose {@link java.nio.channels.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.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use CreateTermVersion
* API.
*/
CreateTermVersionResponse createTermVersion(CreateTermVersionRequest request);
/**
* Deletes the specified artifact.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use DeleteArtifact API.
*/
DeleteArtifactResponse deleteArtifact(DeleteArtifactRequest request);
/**
* Deletes a listing by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use DeleteListing API.
*/
DeleteListingResponse deleteListing(DeleteListingRequest request);
/**
* Deletes a listing by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* DeleteListingRevision API.
*/
DeleteListingRevisionResponse deleteListingRevision(DeleteListingRevisionRequest request);
/**
* Deletes a listing revision attachment by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* DeleteListingRevisionAttachment API.
*/
DeleteListingRevisionAttachmentResponse deleteListingRevisionAttachment(
DeleteListingRevisionAttachmentRequest request);
/**
* Deletes a listing revision note by the identifier.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* DeleteListingRevisionNote API.
*/
DeleteListingRevisionNoteResponse deleteListingRevisionNote(
DeleteListingRevisionNoteRequest request);
/**
* Deletes a listing revision package by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* DeleteListingRevisionPackage API.
*/
DeleteListingRevisionPackageResponse deleteListingRevisionPackage(
DeleteListingRevisionPackageRequest request);
/**
* Deletes a Term by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use DeleteTerm API.
*/
DeleteTermResponse deleteTerm(DeleteTermRequest request);
/**
* Deletes a Term by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use DeleteTermVersion
* API.
*/
DeleteTermVersionResponse deleteTermVersion(DeleteTermVersionRequest request);
/**
* Gets the specified artifact's information.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetArtifact API.
*/
GetArtifactResponse getArtifact(GetArtifactRequest request);
/**
* Gets the specified category's information.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetCategory API.
*/
GetCategoryResponse getCategory(GetCategoryRequest request);
/**
* Gets the details for a listing.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetListing API.
*/
GetListingResponse getListing(GetListingRequest request);
/**
* Gets the details for a listing revision.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetListingRevision
* API.
*/
GetListingRevisionResponse getListingRevision(GetListingRevisionRequest request);
/**
* Get the details of the specified listing revision attachment.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* GetListingRevisionAttachment API.
*/
GetListingRevisionAttachmentResponse getListingRevisionAttachment(
GetListingRevisionAttachmentRequest request);
/**
* Get note details by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* GetListingRevisionNote API.
*/
GetListingRevisionNoteResponse getListingRevisionNote(GetListingRevisionNoteRequest request);
/**
* Get the details of the specified version of a package.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* GetListingRevisionPackage API.
*/
GetListingRevisionPackageResponse getListingRevisionPackage(
GetListingRevisionPackageRequest request);
/**
* Gets the specified market's information.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetMarket API.
*/
GetMarketResponse getMarket(GetMarketRequest request);
/**
* Gets a Product by code identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetProduct API.
*/
GetProductResponse getProduct(GetProductRequest request);
/**
* Gets a Publisher by identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetPublisher API.
*/
GetPublisherResponse getPublisher(GetPublisherRequest request);
/**
* Gets a Term by identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetTerm API.
*/
GetTermResponse getTerm(GetTermRequest request);
/**
* Gets a Term Version by the identifier
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetTermVersion API.
*/
GetTermVersionResponse getTermVersion(GetTermVersionRequest request);
/**
* Gets details of the work request with the given ID.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use GetWorkRequest API.
*/
GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request);
/**
* 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).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListArtifacts API.
*/
ListArtifactsResponse listArtifacts(ListArtifactsRequest request);
/**
* 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).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListCategories API.
*/
ListCategoriesResponse listCategories(ListCategoriesRequest request);
/**
* Gets the list of attachments for a listing revision in a compartment
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ListListingRevisionAttachments API.
*/
ListListingRevisionAttachmentsResponse listListingRevisionAttachments(
ListListingRevisionAttachmentsRequest request);
/**
* Gets the list of notes for a listing revision.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ListListingRevisionNotes API.
*/
ListListingRevisionNotesResponse listListingRevisionNotes(
ListListingRevisionNotesRequest request);
/**
* Gets the list of packages for a listing revision.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ListListingRevisionPackages API.
*/
ListListingRevisionPackagesResponse listListingRevisionPackages(
ListListingRevisionPackagesRequest request);
/**
* 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).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ListListingRevisions API.
*/
ListListingRevisionsResponse listListingRevisions(ListListingRevisionsRequest request);
/**
* 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).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListListings API.
*/
ListListingsResponse listListings(ListListingsRequest request);
/**
* 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).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListMarkets API.
*/
ListMarketsResponse listMarkets(ListMarketsRequest request);
/**
* 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).
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListProducts API.
*/
ListProductsResponse listProducts(ListProductsRequest request);
/**
* Returns a list of publishers.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListPublishers API.
*/
ListPublishersResponse listPublishers(ListPublishersRequest request);
/**
* Returns a list of the publisher term versions.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListTermVersions
* API.
*/
ListTermVersionsResponse listTermVersions(ListTermVersionsRequest request);
/**
* Returns a list of the publisher terms.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListTerms API.
*/
ListTermsResponse listTerms(ListTermsRequest request);
/**
* Returns a (paginated) list of errors for the work request with the given ID.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ListWorkRequestErrors API.
*/
ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request);
/**
* Returns a (paginated) list of logs for the work request with the given ID.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListWorkRequestLogs
* API.
*/
ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request);
/**
* Lists the work requests in a compartment.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use ListWorkRequests
* API.
*/
ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request);
/**
* Mark the Listing Revision Package identified by the id and package version as default
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* MarkListingRevisionPackageAsDefault API.
*/
MarkListingRevisionPackageAsDefaultResponse markListingRevisionPackageAsDefault(
MarkListingRevisionPackageAsDefaultRequest request);
/**
* Publish the Listing revision identified by Identifier.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* PublishListingRevision API.
*/
PublishListingRevisionResponse publishListingRevision(PublishListingRevisionRequest request);
/**
* Updates the Listing Revision to PublishAsPrivate
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* PublishListingRevisionAsPrivate API.
*/
PublishListingRevisionAsPrivateResponse publishListingRevisionAsPrivate(
PublishListingRevisionAsPrivateRequest request);
/**
* Updates the Listing Revision Package to publish status
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* PublishListingRevisionPackage API.
*/
PublishListingRevisionPackageResponse publishListingRevisionPackage(
PublishListingRevisionPackageRequest request);
/**
* Update the Listing Revision identified by the id for review
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* SubmitListingRevisionForReview API.
*/
SubmitListingRevisionForReviewResponse submitListingRevisionForReview(
SubmitListingRevisionForReviewRequest request);
/**
* Updates the Listing Revision Package to Unpublish status
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* UnPublishListingRevisionPackage API.
*/
UnPublishListingRevisionPackageResponse unPublishListingRevisionPackage(
UnPublishListingRevisionPackageRequest request);
/**
* Updates the specified artifact identified by the id.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use UpdateArtifact API.
*/
UpdateArtifactResponse updateArtifact(UpdateArtifactRequest request);
/**
* Updates the specified Listing identified by the id.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use UpdateListing API.
*/
UpdateListingResponse updateListing(UpdateListingRequest request);
/**
* Updates the Listing Revision
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* UpdateListingRevision API.
*/
UpdateListingRevisionResponse updateListingRevision(UpdateListingRevisionRequest request);
/**
* Updates the Listing Revision Attachment
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* UpdateListingRevisionAttachment API.
*/
UpdateListingRevisionAttachmentResponse updateListingRevisionAttachment(
UpdateListingRevisionAttachmentRequest request);
/**
* Update a file to listing revision attachment
*
*
Note: This operation consumes a stream.
*
*
If the stream supports {@link java.io.InputStream#mark(int)} and {@link
* java.io.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 {@link java.io.InputStream#mark(int)} before,
* then the mark will not be the same anymore after this operation, and a subsequent call to
* {@link java.io.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 {@link java.io.FileInputStream}, and the stream's {@link
* java.nio.channels.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 {@link
* java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}. Then the same
* procedure as above is followed. If the stream's {@link java.nio.channels.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 {@link java.io.InputStream#mark(int)} and {@link
* java.io.InputStream#reset()}, then the stream is wrapped in a {@link
* java.io.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 {@link java.io.FileInputStream}
* whose {@link java.nio.channels.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.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* UpdateListingRevisionAttachmentContent API.
*/
UpdateListingRevisionAttachmentContentResponse updateListingRevisionAttachmentContent(
UpdateListingRevisionAttachmentContentRequest request);
/**
* Updates the Listing Revision
*
*
Note: This operation consumes a stream.
*
*
If the stream supports {@link java.io.InputStream#mark(int)} and {@link
* java.io.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 {@link java.io.InputStream#mark(int)} before,
* then the mark will not be the same anymore after this operation, and a subsequent call to
* {@link java.io.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 {@link java.io.FileInputStream}, and the stream's {@link
* java.nio.channels.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 {@link
* java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}. Then the same
* procedure as above is followed. If the stream's {@link java.nio.channels.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 {@link java.io.InputStream#mark(int)} and {@link
* java.io.InputStream#reset()}, then the stream is wrapped in a {@link
* java.io.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 {@link java.io.FileInputStream}
* whose {@link java.nio.channels.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.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* UpdateListingRevisionIconContent API.
*/
UpdateListingRevisionIconContentResponse updateListingRevisionIconContent(
UpdateListingRevisionIconContentRequest request);
/**
* Updates the Listing Revision Package.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* UpdateListingRevisionPackage API.
*/
UpdateListingRevisionPackageResponse updateListingRevisionPackage(
UpdateListingRevisionPackageRequest request);
/**
* Updates the Term
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use UpdateTerm API.
*/
UpdateTermResponse updateTerm(UpdateTermRequest request);
/**
* Updates the Term Version
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use UpdateTermVersion
* API.
*/
UpdateTermVersionResponse updateTermVersion(UpdateTermVersionRequest request);
/**
* Updates the Term Version attachment
*
*
Note: This operation consumes a stream.
*
*
If the stream supports {@link java.io.InputStream#mark(int)} and {@link
* java.io.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 {@link java.io.InputStream#mark(int)} before,
* then the mark will not be the same anymore after this operation, and a subsequent call to
* {@link java.io.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 {@link java.io.FileInputStream}, and the stream's {@link
* java.nio.channels.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 {@link
* java.io.InputStream#mark(int)} and {@link java.io.InputStream#reset()}. Then the same
* procedure as above is followed. If the stream's {@link java.nio.channels.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 {@link java.io.InputStream#mark(int)} and {@link
* java.io.InputStream#reset()}, then the stream is wrapped in a {@link
* java.io.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 {@link java.io.FileInputStream}
* whose {@link java.nio.channels.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.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* UpdateTermVersionContent API.
*/
UpdateTermVersionContentResponse updateTermVersionContent(
UpdateTermVersionContentRequest request);
/**
* Validate and publish artifact.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* ValidateAndPublishArtifact API.
*/
ValidateAndPublishArtifactResponse validateAndPublishArtifact(
ValidateAndPublishArtifactRequest request);
/**
* Update the Listing Revision identified by the id as Withdraw/UnPublished.
*
* @param request The request object containing the details to send
* @return A response object containing details about the completed operation
* @throws BmcException when an error occurs. This operation uses
* RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is
* provided. The specifics of the default retry strategy are described here
* https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries
*
Example: Click here to see how to use
* WithdrawListingRevision API.
*/
WithdrawListingRevisionResponse withdrawListingRevision(WithdrawListingRevisionRequest request);
/**
* Gets the pre-configured waiters available for resources for this service.
*
* @return The service waiters.
*/
MarketplacePublisherWaiters getWaiters();
/**
* Gets the pre-configured paginators available for list operations in this service which may
* return multiple pages of data. These paginators provide an {@link java.lang.Iterable}
* interface so that service responses, or resources/records, can be iterated through without
* having to manually deal with pagination and page tokens.
*
* @return The service paginators.
*/
MarketplacePublisherPaginators getPaginators();
}