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 ManagementAsync
Async 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 class
ManagementAsyncClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field Description String
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.Optional<String>
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.static Service
SERVICE
Service instance for Management.
-
Constructor Summary
Constructors Constructor Description ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.ManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
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 thebuilder
instead.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 thebuilder
instead.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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-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 thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
-
ManagementAsyncClient
@Deprecated public ManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
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:ManagementAsync
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Specified by:
setRegion
in interfaceManagementAsync
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ManagementAsync
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Specified by:
setRegion
in interfaceManagementAsync
- Parameters:
regionId
- The public region ID.
-
bulkCreateSkillEntities
public Future<BulkCreateSkillEntitiesResponse> bulkCreateSkillEntities(BulkCreateSkillEntitiesRequest request, AsyncHandler<BulkCreateSkillEntitiesRequest,BulkCreateSkillEntitiesResponse> handler)
Description copied from interface:ManagementAsync
Bulk create composite and value list entities into a skill.- Specified by:
bulkCreateSkillEntities
in 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:ManagementAsync
Cascading delete of the custom entities in a skill.- Specified by:
cascadingDeleteSkillCustomEntities
in 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:ManagementAsync
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.
- Specified by:
changeOdaPrivateEndpointCompartment
in 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:ManagementAsync
This will store the provided parameters in the Digital Assistant instance and update any Digital Assistants with matching parameters.- Specified by:
configureDigitalAssistantParameters
in 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:ManagementAsync
Creates a new Authentication Provider- Specified by:
createAuthenticationProvider
in 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:ManagementAsync
Creates a new Channel.- Specified by:
createChannel
in 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:ManagementAsync
Creates a new Digital Assistant.- Specified by:
createDigitalAssistant
in 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:ManagementAsync
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}`.
- Specified by:
createOdaPrivateEndpoint
in 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:ManagementAsync
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}`.
- Specified by:
createOdaPrivateEndpointAttachment
in 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:ManagementAsync
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}`.
- Specified by:
createOdaPrivateEndpointScanProxy
in 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:ManagementAsync
Creates a new Skill from scratch.- Specified by:
createSkill
in 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:ManagementAsync
Creates a new Skill Parameter.- Specified by:
createSkillParameter
in 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:ManagementAsync
Creates a new Translator- Specified by:
createTranslator
in 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:ManagementAsync
Delete the specified Authentication Provider.- Specified by:
deleteAuthenticationProvider
in 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:ManagementAsync
Delete the specified Channel.- Specified by:
deleteChannel
in 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:ManagementAsync
Delete the specified Digital Assistant.- Specified by:
deleteDigitalAssistant
in 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:ManagementAsync
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 callGET /workRequests/{workRequestID}
.- Specified by:
deleteOdaPrivateEndpoint
in 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:ManagementAsync
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 callGET /workRequests/{workRequestID}
.- Specified by:
deleteOdaPrivateEndpointAttachment
in 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:ManagementAsync
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 callGET /workRequests/{workRequestID}
.- Specified by:
deleteOdaPrivateEndpointScanProxy
in 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:ManagementAsync
Delete the specified Skill.- Specified by:
deleteSkill
in 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:ManagementAsync
Delete the specified Skill Parameter.- Specified by:
deleteSkillParameter
in 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:ManagementAsync
Delete the specified Translator.- Specified by:
deleteTranslator
in 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:ManagementAsync
Exports the specified Digital Assistant as an archive to Object Storage.- Specified by:
exportDigitalAssistant
in 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:ManagementAsync
Exports the specified Skill as an archive to Object Storage.- Specified by:
exportSkill
in 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:ManagementAsync
Gets the specified Authentication Provider.- Specified by:
getAuthenticationProvider
in 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:ManagementAsync
Gets the specified Channel.- Specified by:
getChannel
in 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:ManagementAsync
Gets the specified Digital Assistant.- Specified by:
getDigitalAssistant
in 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:ManagementAsync
Gets the specified Digital Assistant Parameter.- Specified by:
getDigitalAssistantParameter
in 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:ManagementAsync
Gets the specified ODA Private Endpoint.- Specified by:
getOdaPrivateEndpoint
in 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:ManagementAsync
Gets the specified ODA Private Endpoint Attachment.- Specified by:
getOdaPrivateEndpointAttachment
in 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:ManagementAsync
Gets the specified ODA Private Endpoint Scan Proxy.- Specified by:
getOdaPrivateEndpointScanProxy
in 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:ManagementAsync
Gets the specified Skill.- Specified by:
getSkill
in 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:ManagementAsync
Gets the specified Skill Parameter.- Specified by:
getSkillParameter
in 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:ManagementAsync
Gets the specified Translator.- Specified by:
getTranslator
in 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:ManagementAsync
Import a Bot archive from Object Storage.- Specified by:
importBot
in 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:ManagementAsync
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.
- Specified by:
listAuthenticationProviders
in 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:ManagementAsync
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.
- Specified by:
listChannels
in 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:ManagementAsync
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.
- Specified by:
listDigitalAssistantParameters
in 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:ManagementAsync
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.
- Specified by:
listDigitalAssistants
in 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:ManagementAsync
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.
- Specified by:
listOdaPrivateEndpointAttachments
in 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:ManagementAsync
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.
- Specified by:
listOdaPrivateEndpointScanProxies
in 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:ManagementAsync
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.
- Specified by:
listOdaPrivateEndpoints
in 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:ManagementAsync
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.
- Specified by:
listSkillParameters
in 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:ManagementAsync
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.
- Specified by:
listSkills
in 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:ManagementAsync
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.
- Specified by:
listTranslators
in 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:ManagementAsync
Publish a draft Digital Assistant.Once published the Digital Assistant cannot be modified.
- Specified by:
publishDigitalAssistant
in 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:ManagementAsync
Publish a draft Skill.Once published it cannot be modified.
- Specified by:
publishSkill
in 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:ManagementAsync
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.
- Specified by:
rotateChannelKeys
in 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:ManagementAsync
Starts a Channel so that it will begin accepting messages.- Specified by:
startChannel
in 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:ManagementAsync
Stops a Channel so that it will no longer accept messages.- Specified by:
stopChannel
in 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:ManagementAsync
Train a skill.- Specified by:
trainSkill
in 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:ManagementAsync
Updates the specified Authentication Provider with the information in the request body.- Specified by:
updateAuthenticationProvider
in 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:ManagementAsync
Updates the specified Channel with the information in the request body.- Specified by:
updateChannel
in 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:ManagementAsync
Updates the specified Digital Assistant with the information in the request body.- Specified by:
updateDigitalAssistant
in 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:ManagementAsync
Updates the specified Digital Assistant Parameter with the information in the request body.- Specified by:
updateDigitalAssistantParameter
in 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:ManagementAsync
Starts an asynchronous job to update the specified ODA Private Endpoint with the information in the request body.- Specified by:
updateOdaPrivateEndpoint
in 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:ManagementAsync
Updates the specified Skill with the information in the request body.- Specified by:
updateSkill
in 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:ManagementAsync
Updates the specified Skill Parameter with the information in the request body.- Specified by:
updateSkillParameter
in 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:ManagementAsync
Updates the specified Translator with the information in the request body.- Specified by:
updateTranslator
in 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
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in 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)
-
-