Interface GenerativeAi
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- GenerativeAiClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public interface GenerativeAi extends AutoCloseableOCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings.Use the Generative AI service management API to create and manage DedicatedAiCluster,Endpoint,Model, andWorkRequestin the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model.To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangeDedicatedAiClusterCompartmentResponsechangeDedicatedAiClusterCompartment(ChangeDedicatedAiClusterCompartmentRequest request)Moves a dedicated AI cluster into a different compartment within the same tenancy.ChangeEndpointCompartmentResponsechangeEndpointCompartment(ChangeEndpointCompartmentRequest request)Moves an endpoint into a different compartment within the same tenancy.ChangeGenerativeAiPrivateEndpointCompartmentResponsechangeGenerativeAiPrivateEndpointCompartment(ChangeGenerativeAiPrivateEndpointCompartmentRequest request)Moves a Generative AI private endpoint into a different compartment.ChangeModelCompartmentResponsechangeModelCompartment(ChangeModelCompartmentRequest request)Moves a custom model into a different compartment.CreateDedicatedAiClusterResponsecreateDedicatedAiCluster(CreateDedicatedAiClusterRequest request)Creates a dedicated AI cluster.CreateEndpointResponsecreateEndpoint(CreateEndpointRequest request)Creates an endpoint.CreateGenerativeAiPrivateEndpointResponsecreateGenerativeAiPrivateEndpoint(CreateGenerativeAiPrivateEndpointRequest request)Creates a Generative AI private endpoint.CreateModelResponsecreateModel(CreateModelRequest request)Creates a custom model by fine-tuning a base model with your own dataset.DeleteDedicatedAiClusterResponsedeleteDedicatedAiCluster(DeleteDedicatedAiClusterRequest request)Deletes a dedicated AI cluster.DeleteEndpointResponsedeleteEndpoint(DeleteEndpointRequest request)Deletes an endpoint.DeleteGenerativeAiPrivateEndpointResponsedeleteGenerativeAiPrivateEndpoint(DeleteGenerativeAiPrivateEndpointRequest request)Deletes a Generative AI private endpoint usingprivateEndpointId.DeleteModelResponsedeleteModel(DeleteModelRequest request)Deletes a custom model.GetDedicatedAiClusterResponsegetDedicatedAiCluster(GetDedicatedAiClusterRequest request)Gets information about a dedicated AI cluster.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)GetEndpointResponsegetEndpoint(GetEndpointRequest request)Gets information about an endpoint.GetGenerativeAiPrivateEndpointResponsegetGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request)Retrieves an Generative AI private endpoint using aprivateEndpointId.GetModelResponsegetModel(GetModelRequest request)Gets information about a custom model.GenerativeAiPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GenerativeAiWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the details of a work request.ListDedicatedAiClustersResponselistDedicatedAiClusters(ListDedicatedAiClustersRequest request)Lists the dedicated AI clusters in a specific compartment.ListEndpointsResponselistEndpoints(ListEndpointsRequest request)Lists the endpoints of a specific compartment.ListGenerativeAiPrivateEndpointsResponselistGenerativeAiPrivateEndpoints(ListGenerativeAiPrivateEndpointsRequest request)Lists all Generative AI private endpoints in the specified compartment.ListModelsResponselistModels(ListModelsRequest request)Lists the models in a specific compartment.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Lists the errors for a work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Lists the logs for a work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidrefreshClient()Rebuilds the client from scratch.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).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’).UpdateDedicatedAiClusterResponseupdateDedicatedAiCluster(UpdateDedicatedAiClusterRequest request)Updates a dedicated AI cluster.UpdateEndpointResponseupdateEndpoint(UpdateEndpointRequest request)Updates the properties of an endpoint.UpdateGenerativeAiPrivateEndpointResponseupdateGenerativeAiPrivateEndpoint(UpdateGenerativeAiPrivateEndpointRequest request)Updates a Generative AI private endpoint using aprivateEndpointId.UpdateModelResponseupdateModel(UpdateModelRequest request)Updates the properties of a custom model such as name, description, version, freeform tags, and defined tags.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.- 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Method Detail- 
refreshClientvoid refreshClient() Rebuilds the client from scratch.Useful to refresh certificates. 
 - 
setEndpointvoid setEndpoint(String endpoint) Sets the endpoint to call (ex, https://www.example.com).- Parameters:
- endpoint- The endpoint of the service.
 
 - 
getEndpointString getEndpoint() Gets the set endpoint for REST call (ex, https://www.example.com)
 - 
setRegionvoid setRegion(Region region) Sets 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.- Parameters:
- region- The region of the service.
 
 - 
setRegionvoid setRegion(String regionId) Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format ( Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Parameters:
- regionId- The public region ID.
 
 - 
useRealmSpecificEndpointTemplatevoid useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled) 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” - Parameters:
- realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
 
 - 
changeDedicatedAiClusterCompartmentChangeDedicatedAiClusterCompartmentResponse changeDedicatedAiClusterCompartment(ChangeDedicatedAiClusterCompartmentRequest request) Moves a dedicated AI cluster into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ChangeDedicatedAiClusterCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeDedicatedAiClusterCompartment API. 
 
 - 
changeEndpointCompartmentChangeEndpointCompartmentResponse changeEndpointCompartment(ChangeEndpointCompartmentRequest request) Moves an endpoint into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ChangeEndpointCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeEndpointCompartment API. 
 
 - 
changeGenerativeAiPrivateEndpointCompartmentChangeGenerativeAiPrivateEndpointCompartmentResponse changeGenerativeAiPrivateEndpointCompartment(ChangeGenerativeAiPrivateEndpointCompartmentRequest request) Moves a Generative AI private endpoint into a different compartment.When provided, If-Match is checked against ETag values of the resource. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ChangeGenerativeAiPrivateEndpointCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeGenerativeAiPrivateEndpointCompartment API. 
 
 - 
changeModelCompartmentChangeModelCompartmentResponse changeModelCompartment(ChangeModelCompartmentRequest request) Moves a custom model into a different compartment.For information about moving resources between compartments, see Moving Resources to a Different Compartment. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ChangeModelCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeModelCompartment API. 
 
 - 
createDedicatedAiClusterCreateDedicatedAiClusterResponse createDedicatedAiCluster(CreateDedicatedAiClusterRequest request) Creates a dedicated AI cluster.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/CreateDedicatedAiClusterExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateDedicatedAiCluster API. 
 
 - 
createEndpointCreateEndpointResponse createEndpoint(CreateEndpointRequest request) Creates an endpoint.The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the endpoint creation progress. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/CreateEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateEndpoint API. 
 
 - 
createGenerativeAiPrivateEndpointCreateGenerativeAiPrivateEndpointResponse createGenerativeAiPrivateEndpoint(CreateGenerativeAiPrivateEndpointRequest request) Creates a Generative AI private endpoint.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/CreateGenerativeAiPrivateEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateGenerativeAiPrivateEndpoint API. 
 
 - 
createModelCreateModelResponse createModel(CreateModelRequest request) Creates a custom model by fine-tuning a base model with your own dataset.You can create a new custom models or create a new version of existing custom model.. The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the model creation progress. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/CreateModelExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateModel API. 
 
 - 
deleteDedicatedAiClusterDeleteDedicatedAiClusterResponse deleteDedicatedAiCluster(DeleteDedicatedAiClusterRequest request) Deletes a dedicated AI cluster.You can only delete clusters without attached resources. Before you delete a hosting dedicated AI cluster, you must delete the endpoints associated to that cluster. Before you delete a fine-tuning dedicated AI cluster, you must delete the custom model on that cluster. The delete action permanently deletes the cluster. This action can't be undone. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/DeleteDedicatedAiClusterExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteDedicatedAiCluster API. 
 
 - 
deleteEndpointDeleteEndpointResponse deleteEndpoint(DeleteEndpointRequest request) Deletes an endpoint.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/DeleteEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteEndpoint API. 
 
 - 
deleteGenerativeAiPrivateEndpointDeleteGenerativeAiPrivateEndpointResponse deleteGenerativeAiPrivateEndpoint(DeleteGenerativeAiPrivateEndpointRequest request) Deletes a Generative AI private endpoint usingprivateEndpointId.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/DeleteGenerativeAiPrivateEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteGenerativeAiPrivateEndpoint API. 
 
 - 
deleteModelDeleteModelResponse deleteModel(DeleteModelRequest request) Deletes a custom model.A model shouldn’t be deleted if there’s one or more active endpoints associated with that model. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/DeleteModelExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteModel API. 
 
 - 
getDedicatedAiClusterGetDedicatedAiClusterResponse getDedicatedAiCluster(GetDedicatedAiClusterRequest request) Gets information about a dedicated AI cluster.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/GetDedicatedAiClusterExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDedicatedAiCluster API. 
 
 - 
getEndpointGetEndpointResponse getEndpoint(GetEndpointRequest request) Gets information about an endpoint.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/GetEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetEndpoint API. 
 
 - 
getGenerativeAiPrivateEndpointGetGenerativeAiPrivateEndpointResponse getGenerativeAiPrivateEndpoint(GetGenerativeAiPrivateEndpointRequest request) Retrieves an Generative AI private endpoint using aprivateEndpointId.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/GetGenerativeAiPrivateEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetGenerativeAiPrivateEndpoint API. 
 
 - 
getModelGetModelResponse getModel(GetModelRequest request) Gets information about a custom model.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/GetModelExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetModel API. 
 
 - 
getWorkRequestGetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Gets the details of a work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API. 
 
 - 
listDedicatedAiClustersListDedicatedAiClustersResponse listDedicatedAiClusters(ListDedicatedAiClustersRequest request) Lists the dedicated AI clusters in a specific compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ListDedicatedAiClustersExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDedicatedAiClusters API. 
 
 - 
listEndpointsListEndpointsResponse listEndpoints(ListEndpointsRequest request) Lists the endpoints of a specific compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ListEndpointsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEndpoints API. 
 
 - 
listGenerativeAiPrivateEndpointsListGenerativeAiPrivateEndpointsResponse listGenerativeAiPrivateEndpoints(ListGenerativeAiPrivateEndpointsRequest request) Lists all Generative AI private endpoints in the specified compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ListGenerativeAiPrivateEndpointsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListGenerativeAiPrivateEndpoints API. 
 
 - 
listModelsListModelsResponse listModels(ListModelsRequest request) Lists the models in a specific compartment.Includes pretrained base models and fine-tuned custom models. - Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ListModelsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListModels API. 
 
 - 
listWorkRequestErrorsListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Lists the errors for a work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API. 
 
 - 
listWorkRequestLogsListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Lists the logs for a work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API. 
 
 - 
listWorkRequestsListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Lists the work requests in a compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API. 
 
 - 
updateDedicatedAiClusterUpdateDedicatedAiClusterResponse updateDedicatedAiCluster(UpdateDedicatedAiClusterRequest request) Updates a dedicated AI cluster.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/UpdateDedicatedAiClusterExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDedicatedAiCluster API. 
 
 - 
updateEndpointUpdateEndpointResponse updateEndpoint(UpdateEndpointRequest request) Updates the properties of an endpoint.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/UpdateEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateEndpoint API. 
 
 - 
updateGenerativeAiPrivateEndpointUpdateGenerativeAiPrivateEndpointResponse updateGenerativeAiPrivateEndpoint(UpdateGenerativeAiPrivateEndpointRequest request) Updates a Generative AI private endpoint using aprivateEndpointId.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/UpdateGenerativeAiPrivateEndpointExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateGenerativeAiPrivateEndpoint API. 
 
 - 
updateModelUpdateModelResponse updateModel(UpdateModelRequest request) Updates the properties of a custom model such as name, description, version, freeform tags, and defined tags.- Parameters:
- request- The request object containing the details to send
- Returns:
- 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 <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/generativeai/UpdateModelExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateModel API. 
 
 - 
getWaitersGenerativeAiWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsGenerativeAiPaginators getPaginators() Gets 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.- Returns:
- The service paginators.
 
 
- 
 
-