Class ManagementAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.oda.ManagementAsyncClient
-
- All Implemented Interfaces:
ManagementAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public class ManagementAsyncClient extends BaseAsyncClient implements ManagementAsyncAsync client implementation for Management service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManagementAsyncClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for Management.
-
Constructor Summary
Constructors Constructor Description ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.oda.ManagementAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(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 (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(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 (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
Method Detail
-
builder
public static ManagementAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:ManagementAsyncSets 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 interfaceManagementAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ManagementAsyncSets 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 interfaceManagementAsync- Parameters:
regionId- The public region ID.
-
bulkCreateSkillEntities
public Future<BulkCreateSkillEntitiesResponse> bulkCreateSkillEntities(BulkCreateSkillEntitiesRequest request, AsyncHandler<BulkCreateSkillEntitiesRequest,BulkCreateSkillEntitiesResponse> handler)
Description copied from interface:ManagementAsyncBulk create composite and value list entities into a skill.- Specified by:
bulkCreateSkillEntitiesin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
cascadingDeleteSkillCustomEntities
public Future<CascadingDeleteSkillCustomEntitiesResponse> cascadingDeleteSkillCustomEntities(CascadingDeleteSkillCustomEntitiesRequest request, AsyncHandler<CascadingDeleteSkillCustomEntitiesRequest,CascadingDeleteSkillCustomEntitiesResponse> handler)
Description copied from interface:ManagementAsyncCascading delete of the custom entities in a skill.- Specified by:
cascadingDeleteSkillCustomEntitiesin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
changeOdaPrivateEndpointCompartment
public Future<ChangeOdaPrivateEndpointCompartmentResponse> changeOdaPrivateEndpointCompartment(ChangeOdaPrivateEndpointCompartmentRequest request, AsyncHandler<ChangeOdaPrivateEndpointCompartmentRequest,ChangeOdaPrivateEndpointCompartmentResponse> handler)
Description copied from interface:ManagementAsyncStarts 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.
- Specified by:
changeOdaPrivateEndpointCompartmentin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
configureDigitalAssistantParameters
public Future<ConfigureDigitalAssistantParametersResponse> configureDigitalAssistantParameters(ConfigureDigitalAssistantParametersRequest request, AsyncHandler<ConfigureDigitalAssistantParametersRequest,ConfigureDigitalAssistantParametersResponse> handler)
Description copied from interface:ManagementAsyncThis will store the provided parameters in the Digital Assistant instance and update any Digital Assistants with matching parameters.- Specified by:
configureDigitalAssistantParametersin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createAuthenticationProvider
public Future<CreateAuthenticationProviderResponse> createAuthenticationProvider(CreateAuthenticationProviderRequest request, AsyncHandler<CreateAuthenticationProviderRequest,CreateAuthenticationProviderResponse> handler)
Description copied from interface:ManagementAsyncCreates a new Authentication Provider- Specified by:
createAuthenticationProviderin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createChannel
public Future<CreateChannelResponse> createChannel(CreateChannelRequest request, AsyncHandler<CreateChannelRequest,CreateChannelResponse> handler)
Description copied from interface:ManagementAsyncCreates a new Channel.- Specified by:
createChannelin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createDigitalAssistant
public Future<CreateDigitalAssistantResponse> createDigitalAssistant(CreateDigitalAssistantRequest request, AsyncHandler<CreateDigitalAssistantRequest,CreateDigitalAssistantResponse> handler)
Description copied from interface:ManagementAsyncCreates a new Digital Assistant.- Specified by:
createDigitalAssistantin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createOdaPrivateEndpoint
public Future<CreateOdaPrivateEndpointResponse> createOdaPrivateEndpoint(CreateOdaPrivateEndpointRequest request, AsyncHandler<CreateOdaPrivateEndpointRequest,CreateOdaPrivateEndpointResponse> handler)
Description copied from interface:ManagementAsyncStarts 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}`.
- Specified by:
createOdaPrivateEndpointin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createOdaPrivateEndpointAttachment
public Future<CreateOdaPrivateEndpointAttachmentResponse> createOdaPrivateEndpointAttachment(CreateOdaPrivateEndpointAttachmentRequest request, AsyncHandler<CreateOdaPrivateEndpointAttachmentRequest,CreateOdaPrivateEndpointAttachmentResponse> handler)
Description copied from interface:ManagementAsyncStarts 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}`.
- Specified by:
createOdaPrivateEndpointAttachmentin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createOdaPrivateEndpointScanProxy
public Future<CreateOdaPrivateEndpointScanProxyResponse> createOdaPrivateEndpointScanProxy(CreateOdaPrivateEndpointScanProxyRequest request, AsyncHandler<CreateOdaPrivateEndpointScanProxyRequest,CreateOdaPrivateEndpointScanProxyResponse> handler)
Description copied from interface:ManagementAsyncStarts 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}`.
- Specified by:
createOdaPrivateEndpointScanProxyin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createSkill
public Future<CreateSkillResponse> createSkill(CreateSkillRequest request, AsyncHandler<CreateSkillRequest,CreateSkillResponse> handler)
Description copied from interface:ManagementAsyncCreates a new Skill from scratch.- Specified by:
createSkillin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createSkillParameter
public Future<CreateSkillParameterResponse> createSkillParameter(CreateSkillParameterRequest request, AsyncHandler<CreateSkillParameterRequest,CreateSkillParameterResponse> handler)
Description copied from interface:ManagementAsyncCreates a new Skill Parameter.- Specified by:
createSkillParameterin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
createTranslator
public Future<CreateTranslatorResponse> createTranslator(CreateTranslatorRequest request, AsyncHandler<CreateTranslatorRequest,CreateTranslatorResponse> handler)
Description copied from interface:ManagementAsyncCreates a new Translator- Specified by:
createTranslatorin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteAuthenticationProvider
public Future<DeleteAuthenticationProviderResponse> deleteAuthenticationProvider(DeleteAuthenticationProviderRequest request, AsyncHandler<DeleteAuthenticationProviderRequest,DeleteAuthenticationProviderResponse> handler)
Description copied from interface:ManagementAsyncDelete the specified Authentication Provider.- Specified by:
deleteAuthenticationProviderin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteChannel
public Future<DeleteChannelResponse> deleteChannel(DeleteChannelRequest request, AsyncHandler<DeleteChannelRequest,DeleteChannelResponse> handler)
Description copied from interface:ManagementAsyncDelete the specified Channel.- Specified by:
deleteChannelin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteDigitalAssistant
public Future<DeleteDigitalAssistantResponse> deleteDigitalAssistant(DeleteDigitalAssistantRequest request, AsyncHandler<DeleteDigitalAssistantRequest,DeleteDigitalAssistantResponse> handler)
Description copied from interface:ManagementAsyncDelete the specified Digital Assistant.- Specified by:
deleteDigitalAssistantin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteOdaPrivateEndpoint
public Future<DeleteOdaPrivateEndpointResponse> deleteOdaPrivateEndpoint(DeleteOdaPrivateEndpointRequest request, AsyncHandler<DeleteOdaPrivateEndpointRequest,DeleteOdaPrivateEndpointResponse> handler)
Description copied from interface:ManagementAsyncStarts an asynchronous job to delete the specified ODA Private Endpoint.To monitor the status of the job, take the
opc-work-request-idresponse header value and use it to callGET /workRequests/{workRequestID}.- Specified by:
deleteOdaPrivateEndpointin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteOdaPrivateEndpointAttachment
public Future<DeleteOdaPrivateEndpointAttachmentResponse> deleteOdaPrivateEndpointAttachment(DeleteOdaPrivateEndpointAttachmentRequest request, AsyncHandler<DeleteOdaPrivateEndpointAttachmentRequest,DeleteOdaPrivateEndpointAttachmentResponse> handler)
Description copied from interface:ManagementAsyncStarts an asynchronous job to delete the specified ODA Private Endpoint Attachment.To monitor the status of the job, take the
opc-work-request-idresponse header value and use it to callGET /workRequests/{workRequestID}.- Specified by:
deleteOdaPrivateEndpointAttachmentin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteOdaPrivateEndpointScanProxy
public Future<DeleteOdaPrivateEndpointScanProxyResponse> deleteOdaPrivateEndpointScanProxy(DeleteOdaPrivateEndpointScanProxyRequest request, AsyncHandler<DeleteOdaPrivateEndpointScanProxyRequest,DeleteOdaPrivateEndpointScanProxyResponse> handler)
Description copied from interface:ManagementAsyncStarts an asynchronous job to delete the specified ODA Private Endpoint Scan Proxy.To monitor the status of the job, take the
opc-work-request-idresponse header value and use it to callGET /workRequests/{workRequestID}.- Specified by:
deleteOdaPrivateEndpointScanProxyin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteSkill
public Future<DeleteSkillResponse> deleteSkill(DeleteSkillRequest request, AsyncHandler<DeleteSkillRequest,DeleteSkillResponse> handler)
Description copied from interface:ManagementAsyncDelete the specified Skill.- Specified by:
deleteSkillin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteSkillParameter
public Future<DeleteSkillParameterResponse> deleteSkillParameter(DeleteSkillParameterRequest request, AsyncHandler<DeleteSkillParameterRequest,DeleteSkillParameterResponse> handler)
Description copied from interface:ManagementAsyncDelete the specified Skill Parameter.- Specified by:
deleteSkillParameterin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
deleteTranslator
public Future<DeleteTranslatorResponse> deleteTranslator(DeleteTranslatorRequest request, AsyncHandler<DeleteTranslatorRequest,DeleteTranslatorResponse> handler)
Description copied from interface:ManagementAsyncDelete the specified Translator.- Specified by:
deleteTranslatorin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
exportDigitalAssistant
public Future<ExportDigitalAssistantResponse> exportDigitalAssistant(ExportDigitalAssistantRequest request, AsyncHandler<ExportDigitalAssistantRequest,ExportDigitalAssistantResponse> handler)
Description copied from interface:ManagementAsyncExports the specified Digital Assistant as an archive to Object Storage.- Specified by:
exportDigitalAssistantin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
exportSkill
public Future<ExportSkillResponse> exportSkill(ExportSkillRequest request, AsyncHandler<ExportSkillRequest,ExportSkillResponse> handler)
Description copied from interface:ManagementAsyncExports the specified Skill as an archive to Object Storage.- Specified by:
exportSkillin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getAuthenticationProvider
public Future<GetAuthenticationProviderResponse> getAuthenticationProvider(GetAuthenticationProviderRequest request, AsyncHandler<GetAuthenticationProviderRequest,GetAuthenticationProviderResponse> handler)
Description copied from interface:ManagementAsyncGets the specified Authentication Provider.- Specified by:
getAuthenticationProviderin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getChannel
public Future<GetChannelResponse> getChannel(GetChannelRequest request, AsyncHandler<GetChannelRequest,GetChannelResponse> handler)
Description copied from interface:ManagementAsyncGets the specified Channel.- Specified by:
getChannelin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getDigitalAssistant
public Future<GetDigitalAssistantResponse> getDigitalAssistant(GetDigitalAssistantRequest request, AsyncHandler<GetDigitalAssistantRequest,GetDigitalAssistantResponse> handler)
Description copied from interface:ManagementAsyncGets the specified Digital Assistant.- Specified by:
getDigitalAssistantin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getDigitalAssistantParameter
public Future<GetDigitalAssistantParameterResponse> getDigitalAssistantParameter(GetDigitalAssistantParameterRequest request, AsyncHandler<GetDigitalAssistantParameterRequest,GetDigitalAssistantParameterResponse> handler)
Description copied from interface:ManagementAsyncGets the specified Digital Assistant Parameter.- Specified by:
getDigitalAssistantParameterin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getOdaPrivateEndpoint
public Future<GetOdaPrivateEndpointResponse> getOdaPrivateEndpoint(GetOdaPrivateEndpointRequest request, AsyncHandler<GetOdaPrivateEndpointRequest,GetOdaPrivateEndpointResponse> handler)
Description copied from interface:ManagementAsyncGets the specified ODA Private Endpoint.- Specified by:
getOdaPrivateEndpointin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getOdaPrivateEndpointAttachment
public Future<GetOdaPrivateEndpointAttachmentResponse> getOdaPrivateEndpointAttachment(GetOdaPrivateEndpointAttachmentRequest request, AsyncHandler<GetOdaPrivateEndpointAttachmentRequest,GetOdaPrivateEndpointAttachmentResponse> handler)
Description copied from interface:ManagementAsyncGets the specified ODA Private Endpoint Attachment.- Specified by:
getOdaPrivateEndpointAttachmentin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getOdaPrivateEndpointScanProxy
public Future<GetOdaPrivateEndpointScanProxyResponse> getOdaPrivateEndpointScanProxy(GetOdaPrivateEndpointScanProxyRequest request, AsyncHandler<GetOdaPrivateEndpointScanProxyRequest,GetOdaPrivateEndpointScanProxyResponse> handler)
Description copied from interface:ManagementAsyncGets the specified ODA Private Endpoint Scan Proxy.- Specified by:
getOdaPrivateEndpointScanProxyin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getSkill
public Future<GetSkillResponse> getSkill(GetSkillRequest request, AsyncHandler<GetSkillRequest,GetSkillResponse> handler)
Description copied from interface:ManagementAsyncGets the specified Skill.- Specified by:
getSkillin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getSkillParameter
public Future<GetSkillParameterResponse> getSkillParameter(GetSkillParameterRequest request, AsyncHandler<GetSkillParameterRequest,GetSkillParameterResponse> handler)
Description copied from interface:ManagementAsyncGets the specified Skill Parameter.- Specified by:
getSkillParameterin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getTranslator
public Future<GetTranslatorResponse> getTranslator(GetTranslatorRequest request, AsyncHandler<GetTranslatorRequest,GetTranslatorResponse> handler)
Description copied from interface:ManagementAsyncGets the specified Translator.- Specified by:
getTranslatorin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
importBot
public Future<ImportBotResponse> importBot(ImportBotRequest request, AsyncHandler<ImportBotRequest,ImportBotResponse> handler)
Description copied from interface:ManagementAsyncImport a Bot archive from Object Storage.- Specified by:
importBotin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listAuthenticationProviders
public Future<ListAuthenticationProvidersResponse> listAuthenticationProviders(ListAuthenticationProvidersRequest request, AsyncHandler<ListAuthenticationProvidersRequest,ListAuthenticationProvidersResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listAuthenticationProvidersin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listChannels
public Future<ListChannelsResponse> listChannels(ListChannelsRequest request, AsyncHandler<ListChannelsRequest,ListChannelsResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listChannelsin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listDigitalAssistantParameters
public Future<ListDigitalAssistantParametersResponse> listDigitalAssistantParameters(ListDigitalAssistantParametersRequest request, AsyncHandler<ListDigitalAssistantParametersRequest,ListDigitalAssistantParametersResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listDigitalAssistantParametersin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listDigitalAssistants
public Future<ListDigitalAssistantsResponse> listDigitalAssistants(ListDigitalAssistantsRequest request, AsyncHandler<ListDigitalAssistantsRequest,ListDigitalAssistantsResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listDigitalAssistantsin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listOdaPrivateEndpointAttachments
public Future<ListOdaPrivateEndpointAttachmentsResponse> listOdaPrivateEndpointAttachments(ListOdaPrivateEndpointAttachmentsRequest request, AsyncHandler<ListOdaPrivateEndpointAttachmentsRequest,ListOdaPrivateEndpointAttachmentsResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listOdaPrivateEndpointAttachmentsin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listOdaPrivateEndpointScanProxies
public Future<ListOdaPrivateEndpointScanProxiesResponse> listOdaPrivateEndpointScanProxies(ListOdaPrivateEndpointScanProxiesRequest request, AsyncHandler<ListOdaPrivateEndpointScanProxiesRequest,ListOdaPrivateEndpointScanProxiesResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listOdaPrivateEndpointScanProxiesin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listOdaPrivateEndpoints
public Future<ListOdaPrivateEndpointsResponse> listOdaPrivateEndpoints(ListOdaPrivateEndpointsRequest request, AsyncHandler<ListOdaPrivateEndpointsRequest,ListOdaPrivateEndpointsResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listOdaPrivateEndpointsin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listSkillParameters
public Future<ListSkillParametersResponse> listSkillParameters(ListSkillParametersRequest request, AsyncHandler<ListSkillParametersRequest,ListSkillParametersResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listSkillParametersin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listSkills
public Future<ListSkillsResponse> listSkills(ListSkillsRequest request, AsyncHandler<ListSkillsRequest,ListSkillsResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listSkillsin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
listTranslators
public Future<ListTranslatorsResponse> listTranslators(ListTranslatorsRequest request, AsyncHandler<ListTranslatorsRequest,ListTranslatorsResponse> handler)
Description copied from interface:ManagementAsyncReturns 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.
- Specified by:
listTranslatorsin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
publishDigitalAssistant
public Future<PublishDigitalAssistantResponse> publishDigitalAssistant(PublishDigitalAssistantRequest request, AsyncHandler<PublishDigitalAssistantRequest,PublishDigitalAssistantResponse> handler)
Description copied from interface:ManagementAsyncPublish a draft Digital Assistant.Once published the Digital Assistant cannot be modified.
- Specified by:
publishDigitalAssistantin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
publishSkill
public Future<PublishSkillResponse> publishSkill(PublishSkillRequest request, AsyncHandler<PublishSkillRequest,PublishSkillResponse> handler)
Description copied from interface:ManagementAsyncPublish a draft Skill.Once published it cannot be modified.
- Specified by:
publishSkillin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
rotateChannelKeys
public Future<RotateChannelKeysResponse> rotateChannelKeys(RotateChannelKeysRequest request, AsyncHandler<RotateChannelKeysRequest,RotateChannelKeysResponse> handler)
Description copied from interface:ManagementAsyncThis 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.
- Specified by:
rotateChannelKeysin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
startChannel
public Future<StartChannelResponse> startChannel(StartChannelRequest request, AsyncHandler<StartChannelRequest,StartChannelResponse> handler)
Description copied from interface:ManagementAsyncStarts a Channel so that it will begin accepting messages.- Specified by:
startChannelin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
stopChannel
public Future<StopChannelResponse> stopChannel(StopChannelRequest request, AsyncHandler<StopChannelRequest,StopChannelResponse> handler)
Description copied from interface:ManagementAsyncStops a Channel so that it will no longer accept messages.- Specified by:
stopChannelin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
trainSkill
public Future<TrainSkillResponse> trainSkill(TrainSkillRequest request, AsyncHandler<TrainSkillRequest,TrainSkillResponse> handler)
Description copied from interface:ManagementAsyncTrain a skill.- Specified by:
trainSkillin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateAuthenticationProvider
public Future<UpdateAuthenticationProviderResponse> updateAuthenticationProvider(UpdateAuthenticationProviderRequest request, AsyncHandler<UpdateAuthenticationProviderRequest,UpdateAuthenticationProviderResponse> handler)
Description copied from interface:ManagementAsyncUpdates the specified Authentication Provider with the information in the request body.- Specified by:
updateAuthenticationProviderin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateChannel
public Future<UpdateChannelResponse> updateChannel(UpdateChannelRequest request, AsyncHandler<UpdateChannelRequest,UpdateChannelResponse> handler)
Description copied from interface:ManagementAsyncUpdates the specified Channel with the information in the request body.- Specified by:
updateChannelin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateDigitalAssistant
public Future<UpdateDigitalAssistantResponse> updateDigitalAssistant(UpdateDigitalAssistantRequest request, AsyncHandler<UpdateDigitalAssistantRequest,UpdateDigitalAssistantResponse> handler)
Description copied from interface:ManagementAsyncUpdates the specified Digital Assistant with the information in the request body.- Specified by:
updateDigitalAssistantin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateDigitalAssistantParameter
public Future<UpdateDigitalAssistantParameterResponse> updateDigitalAssistantParameter(UpdateDigitalAssistantParameterRequest request, AsyncHandler<UpdateDigitalAssistantParameterRequest,UpdateDigitalAssistantParameterResponse> handler)
Description copied from interface:ManagementAsyncUpdates the specified Digital Assistant Parameter with the information in the request body.- Specified by:
updateDigitalAssistantParameterin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateOdaPrivateEndpoint
public Future<UpdateOdaPrivateEndpointResponse> updateOdaPrivateEndpoint(UpdateOdaPrivateEndpointRequest request, AsyncHandler<UpdateOdaPrivateEndpointRequest,UpdateOdaPrivateEndpointResponse> handler)
Description copied from interface:ManagementAsyncStarts an asynchronous job to update the specified ODA Private Endpoint with the information in the request body.- Specified by:
updateOdaPrivateEndpointin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateSkill
public Future<UpdateSkillResponse> updateSkill(UpdateSkillRequest request, AsyncHandler<UpdateSkillRequest,UpdateSkillResponse> handler)
Description copied from interface:ManagementAsyncUpdates the specified Skill with the information in the request body.- Specified by:
updateSkillin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateSkillParameter
public Future<UpdateSkillParameterResponse> updateSkillParameter(UpdateSkillParameterRequest request, AsyncHandler<UpdateSkillParameterRequest,UpdateSkillParameterResponse> handler)
Description copied from interface:ManagementAsyncUpdates the specified Skill Parameter with the information in the request body.- Specified by:
updateSkillParameterin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
updateTranslator
public Future<UpdateTranslatorResponse> updateTranslator(UpdateTranslatorRequest request, AsyncHandler<UpdateTranslatorRequest,UpdateTranslatorResponse> handler)
Description copied from interface:ManagementAsyncUpdates the specified Translator with the information in the request body.- Specified by:
updateTranslatorin interfaceManagementAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- 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.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
-
-