@Generated(value="OracleSDKGenerator", comments="API Version: 20210527") public class ServiceCatalogClient extends BaseSyncClient implements ServiceCatalog
Modifier and Type | Class and Description |
---|---|
static class |
ServiceCatalogClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for ServiceCatalog.
|
Constructor and Description |
---|
ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for ServiceCatalog.
public final String clientCommonLibraryVersion
@Deprecated public ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public ServiceCatalogClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public ServiceCatalogClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ServiceCatalogClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- ServiceCatalogClient.Builder.executorService
public static ServiceCatalogClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
ServiceCatalog
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this Region, however, an
IllegalArgumentException will be raised.
setRegion
in interface ServiceCatalog
region
- The region of the service.public void setRegion(String regionId)
ServiceCatalog
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion
.
If no known Region could be determined, it will create an endpoint based on the default
endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint
.
setRegion
in interface ServiceCatalog
regionId
- The public region ID.public BulkReplaceServiceCatalogAssociationsResponse bulkReplaceServiceCatalogAssociations(BulkReplaceServiceCatalogAssociationsRequest request)
ServiceCatalog
Replace all associations of a given service catalog in one bulk transaction.
bulkReplaceServiceCatalogAssociations
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ChangePrivateApplicationCompartmentResponse changePrivateApplicationCompartment(ChangePrivateApplicationCompartmentRequest request)
ServiceCatalog
Moves the specified private application from one compartment to another.
changePrivateApplicationCompartment
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ChangeServiceCatalogCompartmentResponse changeServiceCatalogCompartment(ChangeServiceCatalogCompartmentRequest request)
ServiceCatalog
Moves the specified service catalog from one compartment to another.
changeServiceCatalogCompartment
in interface ServiceCatalog
request
- The request object containing the details to sendpublic CreatePrivateApplicationResponse createPrivateApplication(CreatePrivateApplicationRequest request)
ServiceCatalog
Creates a private application along with a single package to be hosted.
createPrivateApplication
in interface ServiceCatalog
request
- The request object containing the details to sendpublic CreateServiceCatalogResponse createServiceCatalog(CreateServiceCatalogRequest request)
ServiceCatalog
Creates a brand new service catalog in a given compartment.
createServiceCatalog
in interface ServiceCatalog
request
- The request object containing the details to sendpublic CreateServiceCatalogAssociationResponse createServiceCatalogAssociation(CreateServiceCatalogAssociationRequest request)
ServiceCatalog
Creates an association between service catalog and a resource.
createServiceCatalogAssociation
in interface ServiceCatalog
request
- The request object containing the details to sendpublic DeletePrivateApplicationResponse deletePrivateApplication(DeletePrivateApplicationRequest request)
ServiceCatalog
Deletes an existing private application.
deletePrivateApplication
in interface ServiceCatalog
request
- The request object containing the details to sendpublic DeleteServiceCatalogResponse deleteServiceCatalog(DeleteServiceCatalogRequest request)
ServiceCatalog
Deletes the specified service catalog from the compartment.
deleteServiceCatalog
in interface ServiceCatalog
request
- The request object containing the details to sendpublic DeleteServiceCatalogAssociationResponse deleteServiceCatalogAssociation(DeleteServiceCatalogAssociationRequest request)
ServiceCatalog
Removes an association between service catalog and a resource.
deleteServiceCatalogAssociation
in interface ServiceCatalog
request
- The request object containing the details to sendpublic GetPrivateApplicationResponse getPrivateApplication(GetPrivateApplicationRequest request)
ServiceCatalog
Gets the details of the specified private application.
getPrivateApplication
in interface ServiceCatalog
request
- The request object containing the details to sendpublic GetPrivateApplicationActionDownloadLogoResponse getPrivateApplicationActionDownloadLogo(GetPrivateApplicationActionDownloadLogoRequest request)
ServiceCatalog
Downloads the binary payload of the logo image of the private application.
getPrivateApplicationActionDownloadLogo
in interface ServiceCatalog
request
- The request object containing the details to sendpublic GetPrivateApplicationPackageResponse getPrivateApplicationPackage(GetPrivateApplicationPackageRequest request)
ServiceCatalog
Gets the details of a specific package within a given private application.
getPrivateApplicationPackage
in interface ServiceCatalog
request
- The request object containing the details to sendpublic GetPrivateApplicationPackageActionDownloadConfigResponse getPrivateApplicationPackageActionDownloadConfig(GetPrivateApplicationPackageActionDownloadConfigRequest request)
ServiceCatalog
Downloads the configuration that was used to create the private application package.
getPrivateApplicationPackageActionDownloadConfig
in interface ServiceCatalog
request
- The request object containing the details to sendpublic GetServiceCatalogResponse getServiceCatalog(GetServiceCatalogRequest request)
ServiceCatalog
Gets detailed information about the service catalog including name, compartmentId
getServiceCatalog
in interface ServiceCatalog
request
- The request object containing the details to sendpublic GetServiceCatalogAssociationResponse getServiceCatalogAssociation(GetServiceCatalogAssociationRequest request)
ServiceCatalog
Gets detailed information about specific service catalog association.
getServiceCatalogAssociation
in interface ServiceCatalog
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
ServiceCatalog
Gets the status of the work request with the given ID.
getWorkRequest
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListApplicationsResponse listApplications(ListApplicationsRequest request)
ServiceCatalog
Lists 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.
listApplications
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListPrivateApplicationPackagesResponse listPrivateApplicationPackages(ListPrivateApplicationPackagesRequest request)
ServiceCatalog
Lists the packages in the specified private application.
listPrivateApplicationPackages
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListPrivateApplicationsResponse listPrivateApplications(ListPrivateApplicationsRequest request)
ServiceCatalog
Lists all the private applications in a given compartment.
listPrivateApplications
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListServiceCatalogAssociationsResponse listServiceCatalogAssociations(ListServiceCatalogAssociationsRequest request)
ServiceCatalog
Lists all the resource associations for a specific service catalog.
listServiceCatalogAssociations
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListServiceCatalogsResponse listServiceCatalogs(ListServiceCatalogsRequest request)
ServiceCatalog
Lists all the service catalogs in the given compartment.
listServiceCatalogs
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
ServiceCatalog
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
ServiceCatalog
Return a (paginated) list of logs for a given work request.
listWorkRequestLogs
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
ServiceCatalog
Lists the work requests in a compartment.
listWorkRequests
in interface ServiceCatalog
request
- The request object containing the details to sendpublic UpdatePrivateApplicationResponse updatePrivateApplication(UpdatePrivateApplicationRequest request)
ServiceCatalog
Updates the details of an existing private application.
updatePrivateApplication
in interface ServiceCatalog
request
- The request object containing the details to sendpublic UpdateServiceCatalogResponse updateServiceCatalog(UpdateServiceCatalogRequest request)
ServiceCatalog
Updates the details of a previously created service catalog.
updateServiceCatalog
in interface ServiceCatalog
request
- The request object containing the details to sendpublic ServiceCatalogWaiters getWaiters()
ServiceCatalog
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface ServiceCatalog
public ServiceCatalogPaginators getPaginators()
ServiceCatalog
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface ServiceCatalog
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.