@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public class ManagementClient extends BaseSyncClient implements Management
Modifier and Type | Class and Description |
---|---|
static class |
ManagementClient.Builder
Builder class for this client.
|
Modifier and Type | Field and 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 and Description |
---|
ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
ManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
ManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
ManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
static ManagementClient.Builder |
builder()
Create a builder for this client.
|
BulkCreateSkillEntitiesResponse |
bulkCreateSkillEntities(BulkCreateSkillEntitiesRequest request)
Bulk create composite and value list entities into a skill.
|
CascadingDeleteSkillCustomEntitiesResponse |
cascadingDeleteSkillCustomEntities(CascadingDeleteSkillCustomEntitiesRequest request)
Cascading delete of the custom entities in a skill.
|
ChangeOdaPrivateEndpointCompartmentResponse |
changeOdaPrivateEndpointCompartment(ChangeOdaPrivateEndpointCompartmentRequest request)
Starts an asynchronous job to move the specified ODA Private Endpoint into a different
compartment.
|
void |
close() |
ConfigureDigitalAssistantParametersResponse |
configureDigitalAssistantParameters(ConfigureDigitalAssistantParametersRequest request)
This will store the provided parameters in the Digital Assistant instance and update any
Digital Assistants with matching parameters.
|
CreateAuthenticationProviderResponse |
createAuthenticationProvider(CreateAuthenticationProviderRequest request)
Creates a new Authentication Provider
|
CreateChannelResponse |
createChannel(CreateChannelRequest request)
Creates a new Channel.
|
CreateDigitalAssistantResponse |
createDigitalAssistant(CreateDigitalAssistantRequest request)
Creates a new Digital Assistant.
|
CreateOdaPrivateEndpointResponse |
createOdaPrivateEndpoint(CreateOdaPrivateEndpointRequest request)
Starts an asynchronous job to create an ODA Private Endpoint.
|
CreateOdaPrivateEndpointAttachmentResponse |
createOdaPrivateEndpointAttachment(CreateOdaPrivateEndpointAttachmentRequest request)
Starts an asynchronous job to create an ODA Private Endpoint Attachment.
|
CreateOdaPrivateEndpointScanProxyResponse |
createOdaPrivateEndpointScanProxy(CreateOdaPrivateEndpointScanProxyRequest request)
Starts an asynchronous job to create an ODA Private Endpoint Scan Proxy.
|
CreateSkillResponse |
createSkill(CreateSkillRequest request)
Creates a new Skill from scratch.
|
CreateSkillParameterResponse |
createSkillParameter(CreateSkillParameterRequest request)
Creates a new Skill Parameter.
|
CreateTranslatorResponse |
createTranslator(CreateTranslatorRequest request)
Creates a new Translator
|
DeleteAuthenticationProviderResponse |
deleteAuthenticationProvider(DeleteAuthenticationProviderRequest request)
Delete the specified Authentication Provider.
|
DeleteChannelResponse |
deleteChannel(DeleteChannelRequest request)
Delete the specified Channel.
|
DeleteDigitalAssistantResponse |
deleteDigitalAssistant(DeleteDigitalAssistantRequest request)
Delete the specified Digital Assistant.
|
DeleteOdaPrivateEndpointResponse |
deleteOdaPrivateEndpoint(DeleteOdaPrivateEndpointRequest request)
Starts an asynchronous job to delete the specified ODA Private Endpoint.
|
DeleteOdaPrivateEndpointAttachmentResponse |
deleteOdaPrivateEndpointAttachment(DeleteOdaPrivateEndpointAttachmentRequest request)
Starts an asynchronous job to delete the specified ODA Private Endpoint Attachment.
|
DeleteOdaPrivateEndpointScanProxyResponse |
deleteOdaPrivateEndpointScanProxy(DeleteOdaPrivateEndpointScanProxyRequest request)
Starts an asynchronous job to delete the specified ODA Private Endpoint Scan Proxy.
|
DeleteSkillResponse |
deleteSkill(DeleteSkillRequest request)
Delete the specified Skill.
|
DeleteSkillParameterResponse |
deleteSkillParameter(DeleteSkillParameterRequest request)
Delete the specified Skill Parameter.
|
DeleteTranslatorResponse |
deleteTranslator(DeleteTranslatorRequest request)
Delete the specified Translator.
|
ExportDigitalAssistantResponse |
exportDigitalAssistant(ExportDigitalAssistantRequest request)
Exports the specified Digital Assistant as an archive to Object Storage.
|
ExportSkillResponse |
exportSkill(ExportSkillRequest request)
Exports the specified Skill as an archive to Object Storage.
|
GetAuthenticationProviderResponse |
getAuthenticationProvider(GetAuthenticationProviderRequest request)
Gets the specified Authentication Provider.
|
GetChannelResponse |
getChannel(GetChannelRequest request)
Gets the specified Channel.
|
String |
getClientCommonLibraryVersion() |
protected ClientConfigurator |
getDefaultConfigurator() |
GetDigitalAssistantResponse |
getDigitalAssistant(GetDigitalAssistantRequest request)
Gets the specified Digital Assistant.
|
GetDigitalAssistantParameterResponse |
getDigitalAssistantParameter(GetDigitalAssistantParameterRequest request)
Gets the specified Digital Assistant Parameter.
|
String |
getEndpoint() |
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
GetOdaPrivateEndpointResponse |
getOdaPrivateEndpoint(GetOdaPrivateEndpointRequest request)
Gets the specified ODA Private Endpoint.
|
GetOdaPrivateEndpointAttachmentResponse |
getOdaPrivateEndpointAttachment(GetOdaPrivateEndpointAttachmentRequest request)
Gets the specified ODA Private Endpoint Attachment.
|
GetOdaPrivateEndpointScanProxyResponse |
getOdaPrivateEndpointScanProxy(GetOdaPrivateEndpointScanProxyRequest request)
Gets the specified ODA Private Endpoint Scan Proxy.
|
ManagementPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetSkillResponse |
getSkill(GetSkillRequest request)
Gets the specified Skill.
|
GetSkillParameterResponse |
getSkillParameter(GetSkillParameterRequest request)
Gets the specified Skill Parameter.
|
GetTranslatorResponse |
getTranslator(GetTranslatorRequest request)
Gets the specified Translator.
|
ManagementWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
ImportBotResponse |
importBot(ImportBotRequest request)
Import a Bot archive from Object Storage.
|
ListAuthenticationProvidersResponse |
listAuthenticationProviders(ListAuthenticationProvidersRequest request)
Returns a page of Authentication Providers that belong to the specified Digital Assistant
instance.
|
ListChannelsResponse |
listChannels(ListChannelsRequest request)
Returns a page of Channels that belong to the specified Digital Assistant instance.
|
ListDigitalAssistantParametersResponse |
listDigitalAssistantParameters(ListDigitalAssistantParametersRequest request)
Returns a page of Parameters that belong to the specified Digital Assistant.
|
ListDigitalAssistantsResponse |
listDigitalAssistants(ListDigitalAssistantsRequest request)
Returns a page of Digital Assistants that belong to the specified Digital Assistant instance.
|
ListOdaPrivateEndpointAttachmentsResponse |
listOdaPrivateEndpointAttachments(ListOdaPrivateEndpointAttachmentsRequest request)
Returns a page of ODA Instances attached to this ODA Private Endpoint.
|
ListOdaPrivateEndpointsResponse |
listOdaPrivateEndpoints(ListOdaPrivateEndpointsRequest request)
Returns a page of ODA Private Endpoints that belong to the specified compartment.
|
ListOdaPrivateEndpointScanProxiesResponse |
listOdaPrivateEndpointScanProxies(ListOdaPrivateEndpointScanProxiesRequest request)
Returns a page of ODA Private Endpoint Scan Proxies that belong to the specified ODA Private
Endpoint.
|
ListSkillParametersResponse |
listSkillParameters(ListSkillParametersRequest request)
Returns a page of Skill Parameters that belong to the specified Skill.
|
ListSkillsResponse |
listSkills(ListSkillsRequest request)
Returns a page of Skills that belong to the specified Digital Assistant instance.
|
ListTranslatorsResponse |
listTranslators(ListTranslatorsRequest request)
Returns a page of Translators that belong to the specified Digital Assistant instance.
|
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
PublishDigitalAssistantResponse |
publishDigitalAssistant(PublishDigitalAssistantRequest request)
Publish a draft Digital Assistant.
|
PublishSkillResponse |
publishSkill(PublishSkillRequest request)
Publish a draft Skill.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
RotateChannelKeysResponse |
rotateChannelKeys(RotateChannelKeysRequest request)
This will generate new keys for any generated keys in the Channel (eg.
|
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
StartChannelResponse |
startChannel(StartChannelRequest request)
Starts a Channel so that it will begin accepting messages.
|
StopChannelResponse |
stopChannel(StopChannelRequest request)
Stops a Channel so that it will no longer accept messages.
|
TrainSkillResponse |
trainSkill(TrainSkillRequest request)
Train a skill.
|
UpdateAuthenticationProviderResponse |
updateAuthenticationProvider(UpdateAuthenticationProviderRequest request)
Updates the specified Authentication Provider with the information in the request body.
|
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdateChannelResponse |
updateChannel(UpdateChannelRequest request)
Updates the specified Channel with the information in the request body.
|
UpdateDigitalAssistantResponse |
updateDigitalAssistant(UpdateDigitalAssistantRequest request)
Updates the specified Digital Assistant with the information in the request body.
|
UpdateDigitalAssistantParameterResponse |
updateDigitalAssistantParameter(UpdateDigitalAssistantParameterRequest request)
Updates the specified Digital Assistant Parameter with the information in the request body.
|
UpdateOdaPrivateEndpointResponse |
updateOdaPrivateEndpoint(UpdateOdaPrivateEndpointRequest request)
Starts an asynchronous job to update the specified ODA Private Endpoint with the information
in the request body.
|
UpdateSkillResponse |
updateSkill(UpdateSkillRequest request)
Updates the specified Skill with the information in the request body.
|
UpdateSkillParameterResponse |
updateSkillParameter(UpdateSkillParameterRequest request)
Updates the specified Skill Parameter with the information in the request body.
|
UpdateTranslatorResponse |
updateTranslator(UpdateTranslatorRequest request)
Updates the specified Translator with the information in the request body.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for Management.
public final String clientCommonLibraryVersion
@Deprecated public ManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public ManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public ManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.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)
@Deprecated public ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.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
@Deprecated public ManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- ManagementClient.Builder.executorService
public static ManagementClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
Management
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.
setRegion
in interface Management
region
- The region of the service.public void setRegion(String regionId)
Management
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 call setEndpoint
.
setRegion
in interface Management
regionId
- The public region ID.public BulkCreateSkillEntitiesResponse bulkCreateSkillEntities(BulkCreateSkillEntitiesRequest request)
Management
Bulk create composite and value list entities into a skill.
bulkCreateSkillEntities
in interface Management
request
- The request object containing the details to sendpublic CascadingDeleteSkillCustomEntitiesResponse cascadingDeleteSkillCustomEntities(CascadingDeleteSkillCustomEntitiesRequest request)
Management
Cascading delete of the custom entities in a skill.
cascadingDeleteSkillCustomEntities
in interface Management
request
- The request object containing the details to sendpublic ChangeOdaPrivateEndpointCompartmentResponse changeOdaPrivateEndpointCompartment(ChangeOdaPrivateEndpointCompartmentRequest request)
Management
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.
changeOdaPrivateEndpointCompartment
in interface Management
request
- The request object containing the details to sendpublic ConfigureDigitalAssistantParametersResponse configureDigitalAssistantParameters(ConfigureDigitalAssistantParametersRequest request)
Management
This will store the provided parameters in the Digital Assistant instance and update any Digital Assistants with matching parameters.
configureDigitalAssistantParameters
in interface Management
request
- The request object containing the details to sendpublic CreateAuthenticationProviderResponse createAuthenticationProvider(CreateAuthenticationProviderRequest request)
Management
Creates a new Authentication Provider
createAuthenticationProvider
in interface Management
request
- The request object containing the details to sendpublic CreateChannelResponse createChannel(CreateChannelRequest request)
Management
Creates a new Channel.
createChannel
in interface Management
request
- The request object containing the details to sendpublic CreateDigitalAssistantResponse createDigitalAssistant(CreateDigitalAssistantRequest request)
Management
Creates a new Digital Assistant.
createDigitalAssistant
in interface Management
request
- The request object containing the details to sendpublic CreateOdaPrivateEndpointResponse createOdaPrivateEndpoint(CreateOdaPrivateEndpointRequest request)
Management
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}`.
createOdaPrivateEndpoint
in interface Management
request
- The request object containing the details to sendpublic CreateOdaPrivateEndpointAttachmentResponse createOdaPrivateEndpointAttachment(CreateOdaPrivateEndpointAttachmentRequest request)
Management
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}`.
createOdaPrivateEndpointAttachment
in interface Management
request
- The request object containing the details to sendpublic CreateOdaPrivateEndpointScanProxyResponse createOdaPrivateEndpointScanProxy(CreateOdaPrivateEndpointScanProxyRequest request)
Management
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}`.
createOdaPrivateEndpointScanProxy
in interface Management
request
- The request object containing the details to sendpublic CreateSkillResponse createSkill(CreateSkillRequest request)
Management
Creates a new Skill from scratch.
createSkill
in interface Management
request
- The request object containing the details to sendpublic CreateSkillParameterResponse createSkillParameter(CreateSkillParameterRequest request)
Management
Creates a new Skill Parameter.
createSkillParameter
in interface Management
request
- The request object containing the details to sendpublic CreateTranslatorResponse createTranslator(CreateTranslatorRequest request)
Management
Creates a new Translator
createTranslator
in interface Management
request
- The request object containing the details to sendpublic DeleteAuthenticationProviderResponse deleteAuthenticationProvider(DeleteAuthenticationProviderRequest request)
Management
Delete the specified Authentication Provider.
deleteAuthenticationProvider
in interface Management
request
- The request object containing the details to sendpublic DeleteChannelResponse deleteChannel(DeleteChannelRequest request)
Management
Delete the specified Channel.
deleteChannel
in interface Management
request
- The request object containing the details to sendpublic DeleteDigitalAssistantResponse deleteDigitalAssistant(DeleteDigitalAssistantRequest request)
Management
Delete the specified Digital Assistant.
deleteDigitalAssistant
in interface Management
request
- The request object containing the details to sendpublic DeleteOdaPrivateEndpointResponse deleteOdaPrivateEndpoint(DeleteOdaPrivateEndpointRequest request)
Management
Starts an asynchronous job to delete the specified ODA Private Endpoint. To monitor the
status of the job, take the opc-work-request-id
response header value and use it to call
GET /workRequests/{workRequestID}
.
deleteOdaPrivateEndpoint
in interface Management
request
- The request object containing the details to sendpublic DeleteOdaPrivateEndpointAttachmentResponse deleteOdaPrivateEndpointAttachment(DeleteOdaPrivateEndpointAttachmentRequest request)
Management
Starts an asynchronous job to delete the specified ODA Private Endpoint Attachment. To
monitor the status of the job, take the opc-work-request-id
response header value and use
it to call GET /workRequests/{workRequestID}
.
deleteOdaPrivateEndpointAttachment
in interface Management
request
- The request object containing the details to sendpublic DeleteOdaPrivateEndpointScanProxyResponse deleteOdaPrivateEndpointScanProxy(DeleteOdaPrivateEndpointScanProxyRequest request)
Management
Starts an asynchronous job to delete the specified ODA Private Endpoint Scan Proxy. To
monitor the status of the job, take the opc-work-request-id
response header value and use
it to call GET /workRequests/{workRequestID}
.
deleteOdaPrivateEndpointScanProxy
in interface Management
request
- The request object containing the details to sendpublic DeleteSkillResponse deleteSkill(DeleteSkillRequest request)
Management
Delete the specified Skill.
deleteSkill
in interface Management
request
- The request object containing the details to sendpublic DeleteSkillParameterResponse deleteSkillParameter(DeleteSkillParameterRequest request)
Management
Delete the specified Skill Parameter.
deleteSkillParameter
in interface Management
request
- The request object containing the details to sendpublic DeleteTranslatorResponse deleteTranslator(DeleteTranslatorRequest request)
Management
Delete the specified Translator.
deleteTranslator
in interface Management
request
- The request object containing the details to sendpublic ExportDigitalAssistantResponse exportDigitalAssistant(ExportDigitalAssistantRequest request)
Management
Exports the specified Digital Assistant as an archive to Object Storage.
exportDigitalAssistant
in interface Management
request
- The request object containing the details to sendpublic ExportSkillResponse exportSkill(ExportSkillRequest request)
Management
Exports the specified Skill as an archive to Object Storage.
exportSkill
in interface Management
request
- The request object containing the details to sendpublic GetAuthenticationProviderResponse getAuthenticationProvider(GetAuthenticationProviderRequest request)
Management
Gets the specified Authentication Provider.
getAuthenticationProvider
in interface Management
request
- The request object containing the details to sendpublic GetChannelResponse getChannel(GetChannelRequest request)
Management
Gets the specified Channel.
getChannel
in interface Management
request
- The request object containing the details to sendpublic GetDigitalAssistantResponse getDigitalAssistant(GetDigitalAssistantRequest request)
Management
Gets the specified Digital Assistant.
getDigitalAssistant
in interface Management
request
- The request object containing the details to sendpublic GetDigitalAssistantParameterResponse getDigitalAssistantParameter(GetDigitalAssistantParameterRequest request)
Management
Gets the specified Digital Assistant Parameter.
getDigitalAssistantParameter
in interface Management
request
- The request object containing the details to sendpublic GetOdaPrivateEndpointResponse getOdaPrivateEndpoint(GetOdaPrivateEndpointRequest request)
Management
Gets the specified ODA Private Endpoint.
getOdaPrivateEndpoint
in interface Management
request
- The request object containing the details to sendpublic GetOdaPrivateEndpointAttachmentResponse getOdaPrivateEndpointAttachment(GetOdaPrivateEndpointAttachmentRequest request)
Management
Gets the specified ODA Private Endpoint Attachment.
getOdaPrivateEndpointAttachment
in interface Management
request
- The request object containing the details to sendpublic GetOdaPrivateEndpointScanProxyResponse getOdaPrivateEndpointScanProxy(GetOdaPrivateEndpointScanProxyRequest request)
Management
Gets the specified ODA Private Endpoint Scan Proxy.
getOdaPrivateEndpointScanProxy
in interface Management
request
- The request object containing the details to sendpublic GetSkillResponse getSkill(GetSkillRequest request)
Management
Gets the specified Skill.
getSkill
in interface Management
request
- The request object containing the details to sendpublic GetSkillParameterResponse getSkillParameter(GetSkillParameterRequest request)
Management
Gets the specified Skill Parameter.
getSkillParameter
in interface Management
request
- The request object containing the details to sendpublic GetTranslatorResponse getTranslator(GetTranslatorRequest request)
Management
Gets the specified Translator.
getTranslator
in interface Management
request
- The request object containing the details to sendpublic ImportBotResponse importBot(ImportBotRequest request)
Management
Import a Bot archive from Object Storage.
importBot
in interface Management
request
- The request object containing the details to sendpublic ListAuthenticationProvidersResponse listAuthenticationProviders(ListAuthenticationProvidersRequest request)
Management
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.
listAuthenticationProviders
in interface Management
request
- The request object containing the details to sendpublic ListChannelsResponse listChannels(ListChannelsRequest request)
Management
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.
listChannels
in interface Management
request
- The request object containing the details to sendpublic ListDigitalAssistantParametersResponse listDigitalAssistantParameters(ListDigitalAssistantParametersRequest request)
Management
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.
listDigitalAssistantParameters
in interface Management
request
- The request object containing the details to sendpublic ListDigitalAssistantsResponse listDigitalAssistants(ListDigitalAssistantsRequest request)
Management
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.
listDigitalAssistants
in interface Management
request
- The request object containing the details to sendpublic ListOdaPrivateEndpointAttachmentsResponse listOdaPrivateEndpointAttachments(ListOdaPrivateEndpointAttachmentsRequest request)
Management
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.
listOdaPrivateEndpointAttachments
in interface Management
request
- The request object containing the details to sendpublic ListOdaPrivateEndpointScanProxiesResponse listOdaPrivateEndpointScanProxies(ListOdaPrivateEndpointScanProxiesRequest request)
Management
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.
listOdaPrivateEndpointScanProxies
in interface Management
request
- The request object containing the details to sendpublic ListOdaPrivateEndpointsResponse listOdaPrivateEndpoints(ListOdaPrivateEndpointsRequest request)
Management
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.
listOdaPrivateEndpoints
in interface Management
request
- The request object containing the details to sendpublic ListSkillParametersResponse listSkillParameters(ListSkillParametersRequest request)
Management
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.
listSkillParameters
in interface Management
request
- The request object containing the details to sendpublic ListSkillsResponse listSkills(ListSkillsRequest request)
Management
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.
listSkills
in interface Management
request
- The request object containing the details to sendpublic ListTranslatorsResponse listTranslators(ListTranslatorsRequest request)
Management
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.
listTranslators
in interface Management
request
- The request object containing the details to sendpublic PublishDigitalAssistantResponse publishDigitalAssistant(PublishDigitalAssistantRequest request)
Management
Publish a draft Digital Assistant. Once published the Digital Assistant cannot be modified.
publishDigitalAssistant
in interface Management
request
- The request object containing the details to sendpublic PublishSkillResponse publishSkill(PublishSkillRequest request)
Management
Publish a draft Skill. Once published it cannot be modified.
publishSkill
in interface Management
request
- The request object containing the details to sendpublic RotateChannelKeysResponse rotateChannelKeys(RotateChannelKeysRequest request)
Management
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.
rotateChannelKeys
in interface Management
request
- The request object containing the details to sendpublic StartChannelResponse startChannel(StartChannelRequest request)
Management
Starts a Channel so that it will begin accepting messages.
startChannel
in interface Management
request
- The request object containing the details to sendpublic StopChannelResponse stopChannel(StopChannelRequest request)
Management
Stops a Channel so that it will no longer accept messages.
stopChannel
in interface Management
request
- The request object containing the details to sendpublic TrainSkillResponse trainSkill(TrainSkillRequest request)
Management
Train a skill.
trainSkill
in interface Management
request
- The request object containing the details to sendpublic UpdateAuthenticationProviderResponse updateAuthenticationProvider(UpdateAuthenticationProviderRequest request)
Management
Updates the specified Authentication Provider with the information in the request body.
updateAuthenticationProvider
in interface Management
request
- The request object containing the details to sendpublic UpdateChannelResponse updateChannel(UpdateChannelRequest request)
Management
Updates the specified Channel with the information in the request body.
updateChannel
in interface Management
request
- The request object containing the details to sendpublic UpdateDigitalAssistantResponse updateDigitalAssistant(UpdateDigitalAssistantRequest request)
Management
Updates the specified Digital Assistant with the information in the request body.
updateDigitalAssistant
in interface Management
request
- The request object containing the details to sendpublic UpdateDigitalAssistantParameterResponse updateDigitalAssistantParameter(UpdateDigitalAssistantParameterRequest request)
Management
Updates the specified Digital Assistant Parameter with the information in the request body.
updateDigitalAssistantParameter
in interface Management
request
- The request object containing the details to sendpublic UpdateOdaPrivateEndpointResponse updateOdaPrivateEndpoint(UpdateOdaPrivateEndpointRequest request)
Management
Starts an asynchronous job to update the specified ODA Private Endpoint with the information in the request body.
updateOdaPrivateEndpoint
in interface Management
request
- The request object containing the details to sendpublic UpdateSkillResponse updateSkill(UpdateSkillRequest request)
Management
Updates the specified Skill with the information in the request body.
updateSkill
in interface Management
request
- The request object containing the details to sendpublic UpdateSkillParameterResponse updateSkillParameter(UpdateSkillParameterRequest request)
Management
Updates the specified Skill Parameter with the information in the request body.
updateSkillParameter
in interface Management
request
- The request object containing the details to sendpublic UpdateTranslatorResponse updateTranslator(UpdateTranslatorRequest request)
Management
Updates the specified Translator with the information in the request body.
updateTranslator
in interface Management
request
- The request object containing the details to sendpublic ManagementWaiters getWaiters()
Management
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface Management
public ManagementPaginators getPaginators()
Management
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface Management
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.