Class ServiceCatalogClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.servicecatalog.ServiceCatalogClient
-
- All Implemented Interfaces:
ServiceCatalog,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20210527") public class ServiceCatalogClient extends BaseSyncClient implements ServiceCatalog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceCatalogClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for ServiceCatalog.
-
Constructor Summary
Constructors Constructor Description ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceCatalogClient.Builderbuilder()Create a builder for this client.BulkReplaceServiceCatalogAssociationsResponsebulkReplaceServiceCatalogAssociations(BulkReplaceServiceCatalogAssociationsRequest request)Replace all associations of a given service catalog in one bulk transaction.ChangePrivateApplicationCompartmentResponsechangePrivateApplicationCompartment(ChangePrivateApplicationCompartmentRequest request)Moves the specified private application from one compartment to another.ChangeServiceCatalogCompartmentResponsechangeServiceCatalogCompartment(ChangeServiceCatalogCompartmentRequest request)Moves the specified service catalog from one compartment to another.voidclose()CreatePrivateApplicationResponsecreatePrivateApplication(CreatePrivateApplicationRequest request)Creates a private application along with a single package to be hosted.CreateServiceCatalogResponsecreateServiceCatalog(CreateServiceCatalogRequest request)Creates a brand new service catalog in a given compartment.CreateServiceCatalogAssociationResponsecreateServiceCatalogAssociation(CreateServiceCatalogAssociationRequest request)Creates an association between service catalog and a resource.DeletePrivateApplicationResponsedeletePrivateApplication(DeletePrivateApplicationRequest request)Deletes an existing private application.DeleteServiceCatalogResponsedeleteServiceCatalog(DeleteServiceCatalogRequest request)Deletes the specified service catalog from the compartment.DeleteServiceCatalogAssociationResponsedeleteServiceCatalogAssociation(DeleteServiceCatalogAssociationRequest request)Removes an association between service catalog and a resource.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()ServiceCatalogPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetPrivateApplicationResponsegetPrivateApplication(GetPrivateApplicationRequest request)Gets the details of the specified private application.GetPrivateApplicationActionDownloadLogoResponsegetPrivateApplicationActionDownloadLogo(GetPrivateApplicationActionDownloadLogoRequest request)Downloads the binary payload of the logo image of the private application.GetPrivateApplicationPackageResponsegetPrivateApplicationPackage(GetPrivateApplicationPackageRequest request)Gets the details of a specific package within a given private application.GetPrivateApplicationPackageActionDownloadConfigResponsegetPrivateApplicationPackageActionDownloadConfig(GetPrivateApplicationPackageActionDownloadConfigRequest request)Downloads the configuration that was used to create the private application package.GetServiceCatalogResponsegetServiceCatalog(GetServiceCatalogRequest request)Gets detailed information about the service catalog including name, compartmentIdGetServiceCatalogAssociationResponsegetServiceCatalogAssociation(GetServiceCatalogAssociationRequest request)Gets detailed information about specific service catalog association.ServiceCatalogWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given ID.ListApplicationsResponselistApplications(ListApplicationsRequest request)Lists all the applications in a service catalog or a tenancy.ListPrivateApplicationPackagesResponselistPrivateApplicationPackages(ListPrivateApplicationPackagesRequest request)Lists the packages in the specified private application.ListPrivateApplicationsResponselistPrivateApplications(ListPrivateApplicationsRequest request)Lists all the private applications in a given compartment.ListServiceCatalogAssociationsResponselistServiceCatalogAssociations(ListServiceCatalogAssociationsRequest request)Lists all the resource associations for a specific service catalog.ListServiceCatalogsResponselistServiceCatalogs(ListServiceCatalogsRequest request)Lists all the service catalogs in the given compartment.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a (paginated) list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdatePrivateApplicationResponseupdatePrivateApplication(UpdatePrivateApplicationRequest request)Updates the details of an existing private application.UpdateServiceCatalogResponseupdateServiceCatalog(UpdateServiceCatalogRequest request)Updates the details of a previously created service catalog.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.servicecatalog.ServiceCatalog
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
ServiceCatalogClient
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-ServiceCatalogClient.Builder.executorService
-
-
Method Detail
-
builder
public static ServiceCatalogClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:ServiceCatalogSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceServiceCatalog- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ServiceCatalogSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceServiceCatalog- Parameters:
regionId- The public region ID.
-
bulkReplaceServiceCatalogAssociations
public BulkReplaceServiceCatalogAssociationsResponse bulkReplaceServiceCatalogAssociations(BulkReplaceServiceCatalogAssociationsRequest request)
Description copied from interface:ServiceCatalogReplace all associations of a given service catalog in one bulk transaction.- Specified by:
bulkReplaceServiceCatalogAssociationsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changePrivateApplicationCompartment
public ChangePrivateApplicationCompartmentResponse changePrivateApplicationCompartment(ChangePrivateApplicationCompartmentRequest request)
Description copied from interface:ServiceCatalogMoves the specified private application from one compartment to another.- Specified by:
changePrivateApplicationCompartmentin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeServiceCatalogCompartment
public ChangeServiceCatalogCompartmentResponse changeServiceCatalogCompartment(ChangeServiceCatalogCompartmentRequest request)
Description copied from interface:ServiceCatalogMoves the specified service catalog from one compartment to another.- Specified by:
changeServiceCatalogCompartmentin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createPrivateApplication
public CreatePrivateApplicationResponse createPrivateApplication(CreatePrivateApplicationRequest request)
Description copied from interface:ServiceCatalogCreates a private application along with a single package to be hosted.- Specified by:
createPrivateApplicationin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createServiceCatalog
public CreateServiceCatalogResponse createServiceCatalog(CreateServiceCatalogRequest request)
Description copied from interface:ServiceCatalogCreates a brand new service catalog in a given compartment.- Specified by:
createServiceCatalogin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createServiceCatalogAssociation
public CreateServiceCatalogAssociationResponse createServiceCatalogAssociation(CreateServiceCatalogAssociationRequest request)
Description copied from interface:ServiceCatalogCreates an association between service catalog and a resource.- Specified by:
createServiceCatalogAssociationin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deletePrivateApplication
public DeletePrivateApplicationResponse deletePrivateApplication(DeletePrivateApplicationRequest request)
Description copied from interface:ServiceCatalogDeletes an existing private application.- Specified by:
deletePrivateApplicationin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteServiceCatalog
public DeleteServiceCatalogResponse deleteServiceCatalog(DeleteServiceCatalogRequest request)
Description copied from interface:ServiceCatalogDeletes the specified service catalog from the compartment.- Specified by:
deleteServiceCatalogin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteServiceCatalogAssociation
public DeleteServiceCatalogAssociationResponse deleteServiceCatalogAssociation(DeleteServiceCatalogAssociationRequest request)
Description copied from interface:ServiceCatalogRemoves an association between service catalog and a resource.- Specified by:
deleteServiceCatalogAssociationin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPrivateApplication
public GetPrivateApplicationResponse getPrivateApplication(GetPrivateApplicationRequest request)
Description copied from interface:ServiceCatalogGets the details of the specified private application.- Specified by:
getPrivateApplicationin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPrivateApplicationActionDownloadLogo
public GetPrivateApplicationActionDownloadLogoResponse getPrivateApplicationActionDownloadLogo(GetPrivateApplicationActionDownloadLogoRequest request)
Description copied from interface:ServiceCatalogDownloads the binary payload of the logo image of the private application.- Specified by:
getPrivateApplicationActionDownloadLogoin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPrivateApplicationPackage
public GetPrivateApplicationPackageResponse getPrivateApplicationPackage(GetPrivateApplicationPackageRequest request)
Description copied from interface:ServiceCatalogGets the details of a specific package within a given private application.- Specified by:
getPrivateApplicationPackagein interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPrivateApplicationPackageActionDownloadConfig
public GetPrivateApplicationPackageActionDownloadConfigResponse getPrivateApplicationPackageActionDownloadConfig(GetPrivateApplicationPackageActionDownloadConfigRequest request)
Description copied from interface:ServiceCatalogDownloads the configuration that was used to create the private application package.- Specified by:
getPrivateApplicationPackageActionDownloadConfigin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getServiceCatalog
public GetServiceCatalogResponse getServiceCatalog(GetServiceCatalogRequest request)
Description copied from interface:ServiceCatalogGets detailed information about the service catalog including name, compartmentId- Specified by:
getServiceCatalogin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getServiceCatalogAssociation
public GetServiceCatalogAssociationResponse getServiceCatalogAssociation(GetServiceCatalogAssociationRequest request)
Description copied from interface:ServiceCatalogGets detailed information about specific service catalog association.- Specified by:
getServiceCatalogAssociationin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:ServiceCatalogGets the status of the work request with the given ID.- Specified by:
getWorkRequestin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listApplications
public ListApplicationsResponse listApplications(ListApplicationsRequest request)
Description copied from interface:ServiceCatalogLists all the applications in a service catalog or a tenancy.If no parameter is specified, all catalogs from all compartments in the tenancy will be scanned for any type of content.
- Specified by:
listApplicationsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPrivateApplicationPackages
public ListPrivateApplicationPackagesResponse listPrivateApplicationPackages(ListPrivateApplicationPackagesRequest request)
Description copied from interface:ServiceCatalogLists the packages in the specified private application.- Specified by:
listPrivateApplicationPackagesin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPrivateApplications
public ListPrivateApplicationsResponse listPrivateApplications(ListPrivateApplicationsRequest request)
Description copied from interface:ServiceCatalogLists all the private applications in a given compartment.- Specified by:
listPrivateApplicationsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listServiceCatalogAssociations
public ListServiceCatalogAssociationsResponse listServiceCatalogAssociations(ListServiceCatalogAssociationsRequest request)
Description copied from interface:ServiceCatalogLists all the resource associations for a specific service catalog.- Specified by:
listServiceCatalogAssociationsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listServiceCatalogs
public ListServiceCatalogsResponse listServiceCatalogs(ListServiceCatalogsRequest request)
Description copied from interface:ServiceCatalogLists all the service catalogs in the given compartment.- Specified by:
listServiceCatalogsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:ServiceCatalogReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:ServiceCatalogReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:ServiceCatalogLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePrivateApplication
public UpdatePrivateApplicationResponse updatePrivateApplication(UpdatePrivateApplicationRequest request)
Description copied from interface:ServiceCatalogUpdates the details of an existing private application.- Specified by:
updatePrivateApplicationin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateServiceCatalog
public UpdateServiceCatalogResponse updateServiceCatalog(UpdateServiceCatalogRequest request)
Description copied from interface:ServiceCatalogUpdates the details of a previously created service catalog.- Specified by:
updateServiceCatalogin interfaceServiceCatalog- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public ServiceCatalogWaiters getWaiters()
Description copied from interface:ServiceCatalogGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceServiceCatalog- Returns:
- The service waiters.
-
getPaginators
public ServiceCatalogPaginators getPaginators()
Description copied from interface:ServiceCatalogGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceServiceCatalog- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-