Class GenerativeAiAgentClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.generativeaiagent.GenerativeAiAgentClient
 
 
- 
- All Implemented Interfaces:
- GenerativeAiAgent,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20240531") public class GenerativeAiAgentClient extends BaseSyncClient implements GenerativeAiAgent
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGenerativeAiAgentClient.BuilderBuilder class for this client.
 - 
Field SummaryFields 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 GenerativeAiAgent.
 - 
Constructor SummaryConstructors Constructor Description GenerativeAiAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.GenerativeAiAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.GenerativeAiAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.GenerativeAiAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.GenerativeAiAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.GenerativeAiAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.GenerativeAiAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.GenerativeAiAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method Summary- 
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClientclientCall
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 - 
Methods inherited from interface com.oracle.bmc.generativeaiagent.GenerativeAiAgentgetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- GenerativeAiAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- GenerativeAiAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- GenerativeAiAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- GenerativeAiAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- GenerativeAiAgentClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(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 (see- GenerativeAiAgentClient.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)
 
 - 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(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 (see- GenerativeAiAgentClient.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
 
 - 
GenerativeAiAgentClient@Deprecated public GenerativeAiAgentClient(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 (see- GenerativeAiAgentClient.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-- GenerativeAiAgentClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
builderpublic static GenerativeAiAgentClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:GenerativeAiAgentSets 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 interface- GenerativeAiAgent
- Parameters:
- region- The region of the service.
 
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:GenerativeAiAgentSets 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 interface- GenerativeAiAgent
- Parameters:
- regionId- The public region ID.
 
 - 
cancelWorkRequestpublic CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request) Description copied from interface:GenerativeAiAgentCancels a work request.- Specified by:
- cancelWorkRequestin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeAgentCompartmentpublic ChangeAgentCompartmentResponse changeAgentCompartment(ChangeAgentCompartmentRequest request) Description copied from interface:GenerativeAiAgentMoves an agent into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment. - Specified by:
- changeAgentCompartmentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeAgentEndpointCompartmentpublic ChangeAgentEndpointCompartmentResponse changeAgentEndpointCompartment(ChangeAgentEndpointCompartmentRequest request) Description copied from interface:GenerativeAiAgentMoves an endpoint into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment. - Specified by:
- changeAgentEndpointCompartmentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeKnowledgeBaseCompartmentpublic ChangeKnowledgeBaseCompartmentResponse changeKnowledgeBaseCompartment(ChangeKnowledgeBaseCompartmentRequest request) Description copied from interface:GenerativeAiAgentMoves a knowledge base into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment. - Specified by:
- changeKnowledgeBaseCompartmentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createAgentpublic CreateAgentResponse createAgent(CreateAgentRequest request) Description copied from interface:GenerativeAiAgentCreates an agent.- Specified by:
- createAgentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createAgentEndpointpublic CreateAgentEndpointResponse createAgentEndpoint(CreateAgentEndpointRequest request) Description copied from interface:GenerativeAiAgentCreates an endpoint.- Specified by:
- createAgentEndpointin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createDataIngestionJobpublic CreateDataIngestionJobResponse createDataIngestionJob(CreateDataIngestionJobRequest request) Description copied from interface:GenerativeAiAgentCreates a data ingestion job.- Specified by:
- createDataIngestionJobin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createDataSourcepublic CreateDataSourceResponse createDataSource(CreateDataSourceRequest request) Description copied from interface:GenerativeAiAgentCreates a data source.- Specified by:
- createDataSourcein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createKnowledgeBasepublic CreateKnowledgeBaseResponse createKnowledgeBase(CreateKnowledgeBaseRequest request) Description copied from interface:GenerativeAiAgentCreates a knowledge base.- Specified by:
- createKnowledgeBasein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createToolpublic CreateToolResponse createTool(CreateToolRequest request) Description copied from interface:GenerativeAiAgentCreates a tool.- Specified by:
- createToolin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteAgentpublic DeleteAgentResponse deleteAgent(DeleteAgentRequest request) Description copied from interface:GenerativeAiAgentDeletes an agent.- Specified by:
- deleteAgentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteAgentEndpointpublic DeleteAgentEndpointResponse deleteAgentEndpoint(DeleteAgentEndpointRequest request) Description copied from interface:GenerativeAiAgentDeletes an endpoint.- Specified by:
- deleteAgentEndpointin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteDataIngestionJobpublic DeleteDataIngestionJobResponse deleteDataIngestionJob(DeleteDataIngestionJobRequest request) Description copied from interface:GenerativeAiAgentDeletes a data ingestion job.- Specified by:
- deleteDataIngestionJobin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteDataSourcepublic DeleteDataSourceResponse deleteDataSource(DeleteDataSourceRequest request) Description copied from interface:GenerativeAiAgentDeletes a data source.- Specified by:
- deleteDataSourcein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteKnowledgeBasepublic DeleteKnowledgeBaseResponse deleteKnowledgeBase(DeleteKnowledgeBaseRequest request) Description copied from interface:GenerativeAiAgentDeletes a knowledge base.- Specified by:
- deleteKnowledgeBasein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteToolpublic DeleteToolResponse deleteTool(DeleteToolRequest request) Description copied from interface:GenerativeAiAgentDeletes a tool.- Specified by:
- deleteToolin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getAgentpublic GetAgentResponse getAgent(GetAgentRequest request) Description copied from interface:GenerativeAiAgentGets information about an agent.- Specified by:
- getAgentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getAgentEndpointpublic GetAgentEndpointResponse getAgentEndpoint(GetAgentEndpointRequest request) Description copied from interface:GenerativeAiAgentGets information about an endpoint.- Specified by:
- getAgentEndpointin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getDataIngestionJobpublic GetDataIngestionJobResponse getDataIngestionJob(GetDataIngestionJobRequest request) Description copied from interface:GenerativeAiAgentGets information about a data ingestion job.- Specified by:
- getDataIngestionJobin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getDataIngestionJobLogContentpublic GetDataIngestionJobLogContentResponse getDataIngestionJobLogContent(GetDataIngestionJobLogContentRequest request) Description copied from interface:GenerativeAiAgentReturns the raw log file for the specified data ingestion job in text format.- Specified by:
- getDataIngestionJobLogContentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getDataSourcepublic GetDataSourceResponse getDataSource(GetDataSourceRequest request) Description copied from interface:GenerativeAiAgentGets information about a data source.- Specified by:
- getDataSourcein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getKnowledgeBasepublic GetKnowledgeBaseResponse getKnowledgeBase(GetKnowledgeBaseRequest request) Description copied from interface:GenerativeAiAgentGets information about a knowledge base.- Specified by:
- getKnowledgeBasein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getToolpublic GetToolResponse getTool(GetToolRequest request) Description copied from interface:GenerativeAiAgentGets information about a tool.- Specified by:
- getToolin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWorkRequestpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Description copied from interface:GenerativeAiAgentGets the details of a work request.- Specified by:
- getWorkRequestin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listAgentEndpointspublic ListAgentEndpointsResponse listAgentEndpoints(ListAgentEndpointsRequest request) Description copied from interface:GenerativeAiAgentGets a list of endpoints.- Specified by:
- listAgentEndpointsin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listAgentspublic ListAgentsResponse listAgents(ListAgentsRequest request) Description copied from interface:GenerativeAiAgentGets a list of agents.- Specified by:
- listAgentsin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listDataIngestionJobspublic ListDataIngestionJobsResponse listDataIngestionJobs(ListDataIngestionJobsRequest request) Description copied from interface:GenerativeAiAgentGets a list of data ingestion jobs.- Specified by:
- listDataIngestionJobsin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listDataSourcespublic ListDataSourcesResponse listDataSources(ListDataSourcesRequest request) Description copied from interface:GenerativeAiAgentGets a list of data sources.- Specified by:
- listDataSourcesin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listKnowledgeBasespublic ListKnowledgeBasesResponse listKnowledgeBases(ListKnowledgeBasesRequest request) Description copied from interface:GenerativeAiAgentGets a list of knowledge bases.- Specified by:
- listKnowledgeBasesin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listToolspublic ListToolsResponse listTools(ListToolsRequest request) Description copied from interface:GenerativeAiAgentGets a list of tools.- Specified by:
- listToolsin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestErrorspublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Description copied from interface:GenerativeAiAgentLists the errors for a work request.- Specified by:
- listWorkRequestErrorsin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestLogspublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Description copied from interface:GenerativeAiAgentLists the logs for a work request.- Specified by:
- listWorkRequestLogsin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestspublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Description copied from interface:GenerativeAiAgentLists the work requests in a compartment.- Specified by:
- listWorkRequestsin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateAgentpublic UpdateAgentResponse updateAgent(UpdateAgentRequest request) Description copied from interface:GenerativeAiAgentUpdates an agent.- Specified by:
- updateAgentin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateAgentEndpointpublic UpdateAgentEndpointResponse updateAgentEndpoint(UpdateAgentEndpointRequest request) Description copied from interface:GenerativeAiAgentUpdates an endpoint.- Specified by:
- updateAgentEndpointin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateDataSourcepublic UpdateDataSourceResponse updateDataSource(UpdateDataSourceRequest request) Description copied from interface:GenerativeAiAgentUpdates a data source.- Specified by:
- updateDataSourcein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateKnowledgeBasepublic UpdateKnowledgeBaseResponse updateKnowledgeBase(UpdateKnowledgeBaseRequest request) Description copied from interface:GenerativeAiAgentUpdates a knowledge base.- Specified by:
- updateKnowledgeBasein interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateToolpublic UpdateToolResponse updateTool(UpdateToolRequest request) Description copied from interface:GenerativeAiAgentUpdates a tool.- Specified by:
- updateToolin interface- GenerativeAiAgent
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic GenerativeAiAgentWaiters getWaiters() Description copied from interface:GenerativeAiAgentGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- GenerativeAiAgent
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic GenerativeAiAgentPaginators getPaginators() Description copied from interface:GenerativeAiAgentGets 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 interface- GenerativeAiAgent
- Returns:
- The service paginators.
 
 - 
getDefaultConfiguratorprotected ClientConfigurator getDefaultConfigurator() 
 - 
useRealmSpecificEndpointTemplatepublic 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
 
 - 
populateServiceParametersInEndpointpublic 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 use
- requiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
 
 - 
updateBaseEndpointpublic 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
 
 - 
setEndpointpublic final void setEndpoint(String endpoint) 
 - 
getEndpointpublic final String getEndpoint() 
 - 
refreshClientpublic final void refreshClient() Rebuild the backingHttpClient.This will call ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 
- 
 
-