All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.bmc.oda.ManagementAsync Maven / Gradle / Ivy

/**
 * Copyright (c) 2016, 2023, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */
package com.oracle.bmc.oda;

import com.oracle.bmc.oda.requests.*;
import com.oracle.bmc.oda.responses.*;

/**
 * API to create and maintain Oracle Digital Assistant service instances.
 */
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190506")
public interface ManagementAsync extends AutoCloseable {

    /**
     * Rebuilds the client from scratch.
     * Useful to refresh certificates.
     */
    void refreshClient();

    /**
     * Sets the endpoint to call (ex, https://www.example.com).
     * @param endpoint The endpoint of the serice.
     */
    void setEndpoint(String endpoint);

    /**
     * Gets the set endpoint for REST call (ex, https://www.example.com)
     */
    String getEndpoint();

    /**
     * Sets the region to call (ex, Region.US_PHOENIX_1).
     * 

* Note, this will call {@link #setEndpoint(String) setEndpoint} after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised. * @param region The region of the service. */ void setRegion(com.oracle.bmc.Region region); /** * Sets the region to call (ex, 'us-phoenix-1'). *

* Note, this will first try to map the region ID to a known Region and call * {@link #setRegion(Region) setRegion}. *

* If no known Region could be determined, it will create an endpoint based on the * default endpoint format ({@link com.oracle.bmc.Region#formatDefaultRegionEndpoint(Service, String)} * and then call {@link #setEndpoint(String) setEndpoint}. * @param regionId The public region ID. */ void setRegion(String regionId); /** * Determines whether realm specific endpoint should be used or not. * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template */ void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled); /** * Starts an asynchronous job to move the specified ODA Private Endpoint into a different compartment. *

* To monitor the status of the job, take the `opc-work-request-id` response header * value and use it to call `GET /workRequests/{workRequestID}`. * When provided, If-Match is checked against ETag values of the resource. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future changeOdaPrivateEndpointCompartment( ChangeOdaPrivateEndpointCompartmentRequest request, com.oracle.bmc.responses.AsyncHandler< ChangeOdaPrivateEndpointCompartmentRequest, ChangeOdaPrivateEndpointCompartmentResponse> handler); /** * This will store the provided parameters in the Digital Assistant instance and update any Digital Assistants with matching parameters. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future configureDigitalAssistantParameters( ConfigureDigitalAssistantParametersRequest request, com.oracle.bmc.responses.AsyncHandler< ConfigureDigitalAssistantParametersRequest, ConfigureDigitalAssistantParametersResponse> handler); /** * Creates a new Authentication Provider * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createAuthenticationProvider( CreateAuthenticationProviderRequest request, com.oracle.bmc.responses.AsyncHandler< CreateAuthenticationProviderRequest, CreateAuthenticationProviderResponse> handler); /** * Creates a new Channel. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createChannel( CreateChannelRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Creates a new Digital Assistant. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createDigitalAssistant( CreateDigitalAssistantRequest request, com.oracle.bmc.responses.AsyncHandler< CreateDigitalAssistantRequest, CreateDigitalAssistantResponse> handler); /** * Starts an asynchronous job to create an ODA Private Endpoint. *

* To monitor the status of the job, take the `opc-work-request-id` response * header value and use it to call `GET /workRequests/{workRequestID}`. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createOdaPrivateEndpoint( CreateOdaPrivateEndpointRequest request, com.oracle.bmc.responses.AsyncHandler< CreateOdaPrivateEndpointRequest, CreateOdaPrivateEndpointResponse> handler); /** * Starts an asynchronous job to create an ODA Private Endpoint Attachment. *

* To monitor the status of the job, take the `opc-work-request-id` response * header value and use it to call `GET /workRequests/{workRequestID}`. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createOdaPrivateEndpointAttachment( CreateOdaPrivateEndpointAttachmentRequest request, com.oracle.bmc.responses.AsyncHandler< CreateOdaPrivateEndpointAttachmentRequest, CreateOdaPrivateEndpointAttachmentResponse> handler); /** * Starts an asynchronous job to create an ODA Private Endpoint Scan Proxy. *

* To monitor the status of the job, take the `opc-work-request-id` response * header value and use it to call `GET /workRequests/{workRequestID}`. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createOdaPrivateEndpointScanProxy( CreateOdaPrivateEndpointScanProxyRequest request, com.oracle.bmc.responses.AsyncHandler< CreateOdaPrivateEndpointScanProxyRequest, CreateOdaPrivateEndpointScanProxyResponse> handler); /** * Creates a new Skill from scratch. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createSkill( CreateSkillRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Creates a new Skill Parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createSkillParameter( CreateSkillParameterRequest request, com.oracle.bmc.responses.AsyncHandler< CreateSkillParameterRequest, CreateSkillParameterResponse> handler); /** * Creates a new Translator * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future createTranslator( CreateTranslatorRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Delete the specified Authentication Provider. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteAuthenticationProvider( DeleteAuthenticationProviderRequest request, com.oracle.bmc.responses.AsyncHandler< DeleteAuthenticationProviderRequest, DeleteAuthenticationProviderResponse> handler); /** * Delete the specified Channel. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteChannel( DeleteChannelRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Delete the specified Digital Assistant. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteDigitalAssistant( DeleteDigitalAssistantRequest request, com.oracle.bmc.responses.AsyncHandler< DeleteDigitalAssistantRequest, DeleteDigitalAssistantResponse> handler); /** * Starts an asynchronous job to delete the specified ODA Private Endpoint. * To monitor the status of the job, take the `opc-work-request-id` response header value and use it to call `GET /workRequests/{workRequestID}`. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteOdaPrivateEndpoint( DeleteOdaPrivateEndpointRequest request, com.oracle.bmc.responses.AsyncHandler< DeleteOdaPrivateEndpointRequest, DeleteOdaPrivateEndpointResponse> handler); /** * Starts an asynchronous job to delete the specified ODA Private Endpoint Attachment. * To monitor the status of the job, take the `opc-work-request-id` response header value and use it to call `GET /workRequests/{workRequestID}`. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteOdaPrivateEndpointAttachment( DeleteOdaPrivateEndpointAttachmentRequest request, com.oracle.bmc.responses.AsyncHandler< DeleteOdaPrivateEndpointAttachmentRequest, DeleteOdaPrivateEndpointAttachmentResponse> handler); /** * Starts an asynchronous job to delete the specified ODA Private Endpoint Scan Proxy. * To monitor the status of the job, take the `opc-work-request-id` response header value and use it to call `GET /workRequests/{workRequestID}`. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteOdaPrivateEndpointScanProxy( DeleteOdaPrivateEndpointScanProxyRequest request, com.oracle.bmc.responses.AsyncHandler< DeleteOdaPrivateEndpointScanProxyRequest, DeleteOdaPrivateEndpointScanProxyResponse> handler); /** * Delete the specified Skill. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteSkill( DeleteSkillRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Delete the specified Skill Parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteSkillParameter( DeleteSkillParameterRequest request, com.oracle.bmc.responses.AsyncHandler< DeleteSkillParameterRequest, DeleteSkillParameterResponse> handler); /** * Delete the specified Translator. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future deleteTranslator( DeleteTranslatorRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Exports the specified Digital Assistant as an archive to Object Storage. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future exportDigitalAssistant( ExportDigitalAssistantRequest request, com.oracle.bmc.responses.AsyncHandler< ExportDigitalAssistantRequest, ExportDigitalAssistantResponse> handler); /** * Exports the specified Skill as an archive to Object Storage. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future exportSkill( ExportSkillRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Gets the specified Authentication Provider. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getAuthenticationProvider( GetAuthenticationProviderRequest request, com.oracle.bmc.responses.AsyncHandler< GetAuthenticationProviderRequest, GetAuthenticationProviderResponse> handler); /** * Gets the specified Channel. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getChannel( GetChannelRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Gets the specified Digital Assistant. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getDigitalAssistant( GetDigitalAssistantRequest request, com.oracle.bmc.responses.AsyncHandler< GetDigitalAssistantRequest, GetDigitalAssistantResponse> handler); /** * Gets the specified Digital Assistant Parameter. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getDigitalAssistantParameter( GetDigitalAssistantParameterRequest request, com.oracle.bmc.responses.AsyncHandler< GetDigitalAssistantParameterRequest, GetDigitalAssistantParameterResponse> handler); /** * Gets the specified ODA Private Endpoint. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getOdaPrivateEndpoint( GetOdaPrivateEndpointRequest request, com.oracle.bmc.responses.AsyncHandler< GetOdaPrivateEndpointRequest, GetOdaPrivateEndpointResponse> handler); /** * Gets the specified ODA Private Endpoint Attachment. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getOdaPrivateEndpointAttachment( GetOdaPrivateEndpointAttachmentRequest request, com.oracle.bmc.responses.AsyncHandler< GetOdaPrivateEndpointAttachmentRequest, GetOdaPrivateEndpointAttachmentResponse> handler); /** * Gets the specified ODA Private Endpoint Scan Proxy. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getOdaPrivateEndpointScanProxy( GetOdaPrivateEndpointScanProxyRequest request, com.oracle.bmc.responses.AsyncHandler< GetOdaPrivateEndpointScanProxyRequest, GetOdaPrivateEndpointScanProxyResponse> handler); /** * Gets the specified Skill. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getSkill( GetSkillRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Gets the specified Skill Parameter. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getSkillParameter( GetSkillParameterRequest request, com.oracle.bmc.responses.AsyncHandler< GetSkillParameterRequest, GetSkillParameterResponse> handler); /** * Gets the specified Translator. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future getTranslator( GetTranslatorRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Import a Bot archive from Object Storage. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future importBot( ImportBotRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Returns a page of Authentication Providers that belong to the specified Digital Assistant instance. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listAuthenticationProviders( ListAuthenticationProvidersRequest request, com.oracle.bmc.responses.AsyncHandler< ListAuthenticationProvidersRequest, ListAuthenticationProvidersResponse> handler); /** * Returns a page of Channels that belong to the specified Digital Assistant instance. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listChannels( ListChannelsRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Returns a page of Parameters that belong to the specified Digital Assistant. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listDigitalAssistantParameters( ListDigitalAssistantParametersRequest request, com.oracle.bmc.responses.AsyncHandler< ListDigitalAssistantParametersRequest, ListDigitalAssistantParametersResponse> handler); /** * Returns a page of Digital Assistants that belong to the specified Digital Assistant instance. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listDigitalAssistants( ListDigitalAssistantsRequest request, com.oracle.bmc.responses.AsyncHandler< ListDigitalAssistantsRequest, ListDigitalAssistantsResponse> handler); /** * Returns a page of ODA Instances attached to this ODA Private Endpoint. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listOdaPrivateEndpointAttachments( ListOdaPrivateEndpointAttachmentsRequest request, com.oracle.bmc.responses.AsyncHandler< ListOdaPrivateEndpointAttachmentsRequest, ListOdaPrivateEndpointAttachmentsResponse> handler); /** * Returns a page of ODA Private Endpoint Scan Proxies that belong to the specified * ODA Private Endpoint. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listOdaPrivateEndpointScanProxies( ListOdaPrivateEndpointScanProxiesRequest request, com.oracle.bmc.responses.AsyncHandler< ListOdaPrivateEndpointScanProxiesRequest, ListOdaPrivateEndpointScanProxiesResponse> handler); /** * Returns a page of ODA Private Endpoints that belong to the specified * compartment. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listOdaPrivateEndpoints( ListOdaPrivateEndpointsRequest request, com.oracle.bmc.responses.AsyncHandler< ListOdaPrivateEndpointsRequest, ListOdaPrivateEndpointsResponse> handler); /** * Returns a page of Skill Parameters that belong to the specified Skill. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listSkillParameters( ListSkillParametersRequest request, com.oracle.bmc.responses.AsyncHandler< ListSkillParametersRequest, ListSkillParametersResponse> handler); /** * Returns a page of Skills that belong to the specified Digital Assistant instance. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listSkills( ListSkillsRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Returns a page of Translators that belong to the specified Digital Assistant instance. *

* If the `opc-next-page` header appears in the response, then * there are more items to retrieve. To get the next page in the subsequent * GET request, include the header's value as the `page` query parameter. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future listTranslators( ListTranslatorsRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Publish a draft Digital Assistant. * Once published the Digital Assistant cannot be modified. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future publishDigitalAssistant( PublishDigitalAssistantRequest request, com.oracle.bmc.responses.AsyncHandler< PublishDigitalAssistantRequest, PublishDigitalAssistantResponse> handler); /** * Publish a draft Skill. * Once published it cannot be modified. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future publishSkill( PublishSkillRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * This will generate new keys for any generated keys in the Channel (eg. secretKey, verifyToken). * If a Channel has no generated keys then no changes will be made. * Ensure that you take note of the newly generated keys in the response as they will not be returned again. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future rotateChannelKeys( RotateChannelKeysRequest request, com.oracle.bmc.responses.AsyncHandler< RotateChannelKeysRequest, RotateChannelKeysResponse> handler); /** * Starts a Channel so that it will begin accepting messages. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future startChannel( StartChannelRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Stops a Channel so that it will no longer accept messages. * * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future stopChannel( StopChannelRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Updates the specified Authentication Provider with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateAuthenticationProvider( UpdateAuthenticationProviderRequest request, com.oracle.bmc.responses.AsyncHandler< UpdateAuthenticationProviderRequest, UpdateAuthenticationProviderResponse> handler); /** * Updates the specified Channel with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateChannel( UpdateChannelRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Updates the specified Digital Assistant with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateDigitalAssistant( UpdateDigitalAssistantRequest request, com.oracle.bmc.responses.AsyncHandler< UpdateDigitalAssistantRequest, UpdateDigitalAssistantResponse> handler); /** * Updates the specified Digital Assistant Parameter with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateDigitalAssistantParameter( UpdateDigitalAssistantParameterRequest request, com.oracle.bmc.responses.AsyncHandler< UpdateDigitalAssistantParameterRequest, UpdateDigitalAssistantParameterResponse> handler); /** * Starts an asynchronous job to update the specified ODA Private Endpoint with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateOdaPrivateEndpoint( UpdateOdaPrivateEndpointRequest request, com.oracle.bmc.responses.AsyncHandler< UpdateOdaPrivateEndpointRequest, UpdateOdaPrivateEndpointResponse> handler); /** * Updates the specified Skill with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateSkill( UpdateSkillRequest request, com.oracle.bmc.responses.AsyncHandler handler); /** * Updates the specified Skill Parameter with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateSkillParameter( UpdateSkillParameterRequest request, com.oracle.bmc.responses.AsyncHandler< UpdateSkillParameterRequest, UpdateSkillParameterResponse> handler); /** * Updates the specified Translator with the information in the request body. * * @param request The request object containing the details to send * @param handler The request handler to invoke upon completion, may be null. * @return A Future that can be used to get the response if no AsyncHandler was * provided. Note, if you provide an AsyncHandler and use the Future, some * types of responses (like java.io.InputStream) may not be able to be read in * both places as the underlying stream may only be consumed once. */ java.util.concurrent.Future updateTranslator( UpdateTranslatorRequest request, com.oracle.bmc.responses.AsyncHandler handler); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy