public class Discovery
extends com.ibm.cloud.sdk.core.service.BaseService
Constructor and Description |
---|
Discovery(java.lang.String versionDate)
Deprecated.
Use Discovery(String versionDate, AuthenticatorConfig authenticatorConfig) instead
|
Discovery(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.AuthenticatorConfig authenticatorConfig)
Instantiates a new `Discovery` with the specified authentication configuration.
|
Discovery(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
Deprecated.
Use Discovery(String versionDate, AuthenticatorConfig authenticatorConfig) instead
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<DocumentAccepted> |
addDocument(AddDocumentOptions addDocumentOptions)
Add a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingQuery> |
addTrainingData(AddTrainingDataOptions addTrainingDataOptions)
Add query to training data.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Collection> |
createCollection(CreateCollectionOptions createCollectionOptions)
Create a collection.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Configuration> |
createConfiguration(CreateConfigurationOptions createConfigurationOptions)
Add configuration.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Credentials> |
createCredentials(CreateCredentialsOptions createCredentialsOptions)
Create credentials.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Environment> |
createEnvironment(CreateEnvironmentOptions createEnvironmentOptions)
Create an environment.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CreateEventResponse> |
createEvent(CreateEventOptions createEventOptions)
Create event.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Expansions> |
createExpansions(CreateExpansionsOptions createExpansionsOptions)
Create or update expansion list.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> |
createGateway(CreateGatewayOptions createGatewayOptions)
Create Gateway.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> |
createStopwordList(CreateStopwordListOptions createStopwordListOptions)
Create stopword list.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> |
createTokenizationDictionary(CreateTokenizationDictionaryOptions createTokenizationDictionaryOptions)
Create tokenization dictionary.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> |
createTrainingExample(CreateTrainingExampleOptions createTrainingExampleOptions)
Add example to training data query.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteAllTrainingData(DeleteAllTrainingDataOptions deleteAllTrainingDataOptions)
Delete all training data.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DeleteCollectionResponse> |
deleteCollection(DeleteCollectionOptions deleteCollectionOptions)
Delete a collection.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DeleteConfigurationResponse> |
deleteConfiguration(DeleteConfigurationOptions deleteConfigurationOptions)
Delete a configuration.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DeleteCredentials> |
deleteCredentials(DeleteCredentialsOptions deleteCredentialsOptions)
Delete credentials.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DeleteDocumentResponse> |
deleteDocument(DeleteDocumentOptions deleteDocumentOptions)
Delete a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DeleteEnvironmentResponse> |
deleteEnvironment(DeleteEnvironmentOptions deleteEnvironmentOptions)
Delete environment.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteExpansions(DeleteExpansionsOptions deleteExpansionsOptions)
Delete the expansion list.
|
com.ibm.cloud.sdk.core.http.ServiceCall<GatewayDelete> |
deleteGateway(DeleteGatewayOptions deleteGatewayOptions)
Delete Gateway.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteStopwordList(DeleteStopwordListOptions deleteStopwordListOptions)
Delete a custom stopword list.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteTokenizationDictionary(DeleteTokenizationDictionaryOptions deleteTokenizationDictionaryOptions)
Delete tokenization dictionary.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteTrainingData(DeleteTrainingDataOptions deleteTrainingDataOptions)
Delete a training data query.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteTrainingExample(DeleteTrainingExampleOptions deleteTrainingExampleOptions)
Delete example for training data query.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
Delete labeled data.
|
com.ibm.cloud.sdk.core.http.ServiceCall<QueryResponse> |
federatedQuery(FederatedQueryOptions federatedQueryOptions)
Query multiple collections.
|
com.ibm.cloud.sdk.core.http.ServiceCall<QueryNoticesResponse> |
federatedQueryNotices(FederatedQueryNoticesOptions federatedQueryNoticesOptions)
Query multiple collection system notices.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Collection> |
getCollection(GetCollectionOptions getCollectionOptions)
Get collection details.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Configuration> |
getConfiguration(GetConfigurationOptions getConfigurationOptions)
Get configuration details.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Credentials> |
getCredentials(GetCredentialsOptions getCredentialsOptions)
View Credentials.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DocumentStatus> |
getDocumentStatus(GetDocumentStatusOptions getDocumentStatusOptions)
Get document details.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Environment> |
getEnvironment(GetEnvironmentOptions getEnvironmentOptions)
Get environment info.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> |
getGateway(GetGatewayOptions getGatewayOptions)
List Gateway Details.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsEventRate()
Percentage of queries with an associated event.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsEventRate(GetMetricsEventRateOptions getMetricsEventRateOptions)
Percentage of queries with an associated event.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsQuery()
Number of queries over time.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsQuery(GetMetricsQueryOptions getMetricsQueryOptions)
Number of queries over time.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsQueryEvent()
Number of queries with an event over time.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsQueryEvent(GetMetricsQueryEventOptions getMetricsQueryEventOptions)
Number of queries with an event over time.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsQueryNoResults()
Number of queries with no search results over time.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> |
getMetricsQueryNoResults(GetMetricsQueryNoResultsOptions getMetricsQueryNoResultsOptions)
Number of queries with no search results over time.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricTokenResponse> |
getMetricsQueryTokenEvent()
Most frequent query tokens with an event.
|
com.ibm.cloud.sdk.core.http.ServiceCall<MetricTokenResponse> |
getMetricsQueryTokenEvent(GetMetricsQueryTokenEventOptions getMetricsQueryTokenEventOptions)
Most frequent query tokens with an event.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> |
getStopwordListStatus(GetStopwordListStatusOptions getStopwordListStatusOptions)
Get stopword list status.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> |
getTokenizationDictionaryStatus(GetTokenizationDictionaryStatusOptions getTokenizationDictionaryStatusOptions)
Get tokenization dictionary status.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingQuery> |
getTrainingData(GetTrainingDataOptions getTrainingDataOptions)
Get details about a query.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> |
getTrainingExample(GetTrainingExampleOptions getTrainingExampleOptions)
Get details for training data example.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListCollectionFieldsResponse> |
listCollectionFields(ListCollectionFieldsOptions listCollectionFieldsOptions)
List collection fields.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListCollectionsResponse> |
listCollections(ListCollectionsOptions listCollectionsOptions)
List collections.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListConfigurationsResponse> |
listConfigurations(ListConfigurationsOptions listConfigurationsOptions)
List configurations.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CredentialsList> |
listCredentials(ListCredentialsOptions listCredentialsOptions)
List credentials.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListEnvironmentsResponse> |
listEnvironments()
List environments.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListEnvironmentsResponse> |
listEnvironments(ListEnvironmentsOptions listEnvironmentsOptions)
List environments.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Expansions> |
listExpansions(ListExpansionsOptions listExpansionsOptions)
Get the expansion list.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListCollectionFieldsResponse> |
listFields(ListFieldsOptions listFieldsOptions)
List fields across collections.
|
com.ibm.cloud.sdk.core.http.ServiceCall<GatewayList> |
listGateways(ListGatewaysOptions listGatewaysOptions)
List Gateways.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingDataSet> |
listTrainingData(ListTrainingDataOptions listTrainingDataOptions)
List training data.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExampleList> |
listTrainingExamples(ListTrainingExamplesOptions listTrainingExamplesOptions)
List examples for a training data query.
|
com.ibm.cloud.sdk.core.http.ServiceCall<QueryResponse> |
query(QueryOptions queryOptions)
Query a collection.
|
com.ibm.cloud.sdk.core.http.ServiceCall<QueryEntitiesResponse> |
queryEntities(QueryEntitiesOptions queryEntitiesOptions)
Knowledge Graph entity query.
|
com.ibm.cloud.sdk.core.http.ServiceCall<LogQueryResponse> |
queryLog()
Search the query and event log.
|
com.ibm.cloud.sdk.core.http.ServiceCall<LogQueryResponse> |
queryLog(QueryLogOptions queryLogOptions)
Search the query and event log.
|
com.ibm.cloud.sdk.core.http.ServiceCall<QueryNoticesResponse> |
queryNotices(QueryNoticesOptions queryNoticesOptions)
Query system notices.
|
com.ibm.cloud.sdk.core.http.ServiceCall<QueryRelationsResponse> |
queryRelations(QueryRelationsOptions queryRelationsOptions)
Knowledge Graph relationship query.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TestDocument> |
testConfigurationInEnvironment(TestConfigurationInEnvironmentOptions testConfigurationInEnvironmentOptions)
Test configuration.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Collection> |
updateCollection(UpdateCollectionOptions updateCollectionOptions)
Update a collection.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Configuration> |
updateConfiguration(UpdateConfigurationOptions updateConfigurationOptions)
Update a configuration.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Credentials> |
updateCredentials(UpdateCredentialsOptions updateCredentialsOptions)
Update credentials.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DocumentAccepted> |
updateDocument(UpdateDocumentOptions updateDocumentOptions)
Update a document.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Environment> |
updateEnvironment(UpdateEnvironmentOptions updateEnvironmentOptions)
Update an environment.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> |
updateTrainingExample(UpdateTrainingExampleOptions updateTrainingExampleOptions)
Change label or cross reference for example.
|
configureClient, configureHttpClient, createServiceCall, getApiKey, getAuthenticator, getClient, getEndPoint, getName, getPassword, getUsername, isJsonMimeType, isJsonPatchMimeType, isSkipAuthentication, isTokenManagerSet, processServiceCall, setApiKey, setAuthentication, setAuthenticator, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setIamCredentials, setSkipAuthentication, setUsernameAndPassword, toString
@Deprecated public Discovery(java.lang.String versionDate)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.@Deprecated public Discovery(java.lang.String versionDate, java.lang.String username, java.lang.String password)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.username
- the usernamepassword
- the passwordpublic Discovery(java.lang.String versionDate, com.ibm.cloud.sdk.core.security.AuthenticatorConfig authenticatorConfig)
versionDate
- The version date (yyyy-MM-dd) of the REST API to use. Specifying this value will keep your API
calls from failing when the service introduces breaking changes.authenticatorConfig
- the authentication configuration for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<Environment> createEnvironment(CreateEnvironmentOptions createEnvironmentOptions)
createEnvironmentOptions
- the CreateEnvironmentOptions
containing the options for the callServiceCall
with a response type of Environment
public com.ibm.cloud.sdk.core.http.ServiceCall<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsOptions listEnvironmentsOptions)
listEnvironmentsOptions
- the ListEnvironmentsOptions
containing the options for the callServiceCall
with a response type of ListEnvironmentsResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<ListEnvironmentsResponse> listEnvironments()
ServiceCall
with a response type of ListEnvironmentsResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<Environment> getEnvironment(GetEnvironmentOptions getEnvironmentOptions)
getEnvironmentOptions
- the GetEnvironmentOptions
containing the options for the callServiceCall
with a response type of Environment
public com.ibm.cloud.sdk.core.http.ServiceCall<Environment> updateEnvironment(UpdateEnvironmentOptions updateEnvironmentOptions)
updateEnvironmentOptions
- the UpdateEnvironmentOptions
containing the options for the callServiceCall
with a response type of Environment
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentOptions deleteEnvironmentOptions)
deleteEnvironmentOptions
- the DeleteEnvironmentOptions
containing the options for the callServiceCall
with a response type of DeleteEnvironmentResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<ListCollectionFieldsResponse> listFields(ListFieldsOptions listFieldsOptions)
listFieldsOptions
- the ListFieldsOptions
containing the options for the callServiceCall
with a response type of ListCollectionFieldsResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<Configuration> createConfiguration(CreateConfigurationOptions createConfigurationOptions)
createConfigurationOptions
- the CreateConfigurationOptions
containing the options for the callServiceCall
with a response type of Configuration
public com.ibm.cloud.sdk.core.http.ServiceCall<ListConfigurationsResponse> listConfigurations(ListConfigurationsOptions listConfigurationsOptions)
listConfigurationsOptions
- the ListConfigurationsOptions
containing the options for the callServiceCall
with a response type of ListConfigurationsResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<Configuration> getConfiguration(GetConfigurationOptions getConfigurationOptions)
getConfigurationOptions
- the GetConfigurationOptions
containing the options for the callServiceCall
with a response type of Configuration
public com.ibm.cloud.sdk.core.http.ServiceCall<Configuration> updateConfiguration(UpdateConfigurationOptions updateConfigurationOptions)
updateConfigurationOptions
- the UpdateConfigurationOptions
containing the options for the callServiceCall
with a response type of Configuration
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteConfigurationResponse> deleteConfiguration(DeleteConfigurationOptions deleteConfigurationOptions)
deleteConfigurationOptions
- the DeleteConfigurationOptions
containing the options for the callServiceCall
with a response type of DeleteConfigurationResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<TestDocument> testConfigurationInEnvironment(TestConfigurationInEnvironmentOptions testConfigurationInEnvironmentOptions)
testConfigurationInEnvironmentOptions
- the TestConfigurationInEnvironmentOptions
containing the
options for the callServiceCall
with a response type of TestDocument
public com.ibm.cloud.sdk.core.http.ServiceCall<Collection> createCollection(CreateCollectionOptions createCollectionOptions)
createCollectionOptions
- the CreateCollectionOptions
containing the options for the callServiceCall
with a response type of Collection
public com.ibm.cloud.sdk.core.http.ServiceCall<ListCollectionsResponse> listCollections(ListCollectionsOptions listCollectionsOptions)
listCollectionsOptions
- the ListCollectionsOptions
containing the options for the callServiceCall
with a response type of ListCollectionsResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<Collection> getCollection(GetCollectionOptions getCollectionOptions)
getCollectionOptions
- the GetCollectionOptions
containing the options for the callServiceCall
with a response type of Collection
public com.ibm.cloud.sdk.core.http.ServiceCall<Collection> updateCollection(UpdateCollectionOptions updateCollectionOptions)
updateCollectionOptions
- the UpdateCollectionOptions
containing the options for the callServiceCall
with a response type of Collection
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteCollectionResponse> deleteCollection(DeleteCollectionOptions deleteCollectionOptions)
deleteCollectionOptions
- the DeleteCollectionOptions
containing the options for the callServiceCall
with a response type of DeleteCollectionResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<ListCollectionFieldsResponse> listCollectionFields(ListCollectionFieldsOptions listCollectionFieldsOptions)
listCollectionFieldsOptions
- the ListCollectionFieldsOptions
containing the options for the callServiceCall
with a response type of ListCollectionFieldsResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<Expansions> listExpansions(ListExpansionsOptions listExpansionsOptions)
listExpansionsOptions
- the ListExpansionsOptions
containing the options for the callServiceCall
with a response type of Expansions
public com.ibm.cloud.sdk.core.http.ServiceCall<Expansions> createExpansions(CreateExpansionsOptions createExpansionsOptions)
createExpansionsOptions
- the CreateExpansionsOptions
containing the options for the callServiceCall
with a response type of Expansions
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteExpansions(DeleteExpansionsOptions deleteExpansionsOptions)
deleteExpansionsOptions
- the DeleteExpansionsOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> getTokenizationDictionaryStatus(GetTokenizationDictionaryStatusOptions getTokenizationDictionaryStatusOptions)
getTokenizationDictionaryStatusOptions
- the GetTokenizationDictionaryStatusOptions
containing the
options for the callServiceCall
with a response type of TokenDictStatusResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> createTokenizationDictionary(CreateTokenizationDictionaryOptions createTokenizationDictionaryOptions)
createTokenizationDictionaryOptions
- the CreateTokenizationDictionaryOptions
containing the options
for the callServiceCall
with a response type of TokenDictStatusResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTokenizationDictionary(DeleteTokenizationDictionaryOptions deleteTokenizationDictionaryOptions)
deleteTokenizationDictionaryOptions
- the DeleteTokenizationDictionaryOptions
containing the options
for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> getStopwordListStatus(GetStopwordListStatusOptions getStopwordListStatusOptions)
getStopwordListStatusOptions
- the GetStopwordListStatusOptions
containing the options for the callServiceCall
with a response type of TokenDictStatusResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<TokenDictStatusResponse> createStopwordList(CreateStopwordListOptions createStopwordListOptions)
createStopwordListOptions
- the CreateStopwordListOptions
containing the options for the callServiceCall
with a response type of TokenDictStatusResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteStopwordList(DeleteStopwordListOptions deleteStopwordListOptions)
deleteStopwordListOptions
- the DeleteStopwordListOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<DocumentAccepted> addDocument(AddDocumentOptions addDocumentOptions)
addDocumentOptions
- the AddDocumentOptions
containing the options for the callServiceCall
with a response type of DocumentAccepted
public com.ibm.cloud.sdk.core.http.ServiceCall<DocumentStatus> getDocumentStatus(GetDocumentStatusOptions getDocumentStatusOptions)
getDocumentStatusOptions
- the GetDocumentStatusOptions
containing the options for the callServiceCall
with a response type of DocumentStatus
public com.ibm.cloud.sdk.core.http.ServiceCall<DocumentAccepted> updateDocument(UpdateDocumentOptions updateDocumentOptions)
updateDocumentOptions
- the UpdateDocumentOptions
containing the options for the callServiceCall
with a response type of DocumentAccepted
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteDocumentResponse> deleteDocument(DeleteDocumentOptions deleteDocumentOptions)
deleteDocumentOptions
- the DeleteDocumentOptions
containing the options for the callServiceCall
with a response type of DeleteDocumentResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<QueryResponse> query(QueryOptions queryOptions)
queryOptions
- the QueryOptions
containing the options for the callServiceCall
with a response type of QueryResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<QueryNoticesResponse> queryNotices(QueryNoticesOptions queryNoticesOptions)
queryNoticesOptions
- the QueryNoticesOptions
containing the options for the callServiceCall
with a response type of QueryNoticesResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<QueryResponse> federatedQuery(FederatedQueryOptions federatedQueryOptions)
federatedQueryOptions
- the FederatedQueryOptions
containing the options for the callServiceCall
with a response type of QueryResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<QueryNoticesResponse> federatedQueryNotices(FederatedQueryNoticesOptions federatedQueryNoticesOptions)
federatedQueryNoticesOptions
- the FederatedQueryNoticesOptions
containing the options for the callServiceCall
with a response type of QueryNoticesResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<QueryEntitiesResponse> queryEntities(QueryEntitiesOptions queryEntitiesOptions)
queryEntitiesOptions
- the QueryEntitiesOptions
containing the options for the callServiceCall
with a response type of QueryEntitiesResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<QueryRelationsResponse> queryRelations(QueryRelationsOptions queryRelationsOptions)
queryRelationsOptions
- the QueryRelationsOptions
containing the options for the callServiceCall
with a response type of QueryRelationsResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<TrainingDataSet> listTrainingData(ListTrainingDataOptions listTrainingDataOptions)
listTrainingDataOptions
- the ListTrainingDataOptions
containing the options for the callServiceCall
with a response type of TrainingDataSet
public com.ibm.cloud.sdk.core.http.ServiceCall<TrainingQuery> addTrainingData(AddTrainingDataOptions addTrainingDataOptions)
addTrainingDataOptions
- the AddTrainingDataOptions
containing the options for the callServiceCall
with a response type of TrainingQuery
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteAllTrainingData(DeleteAllTrainingDataOptions deleteAllTrainingDataOptions)
deleteAllTrainingDataOptions
- the DeleteAllTrainingDataOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<TrainingQuery> getTrainingData(GetTrainingDataOptions getTrainingDataOptions)
getTrainingDataOptions
- the GetTrainingDataOptions
containing the options for the callServiceCall
with a response type of TrainingQuery
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTrainingData(DeleteTrainingDataOptions deleteTrainingDataOptions)
deleteTrainingDataOptions
- the DeleteTrainingDataOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExampleList> listTrainingExamples(ListTrainingExamplesOptions listTrainingExamplesOptions)
listTrainingExamplesOptions
- the ListTrainingExamplesOptions
containing the options for the callServiceCall
with a response type of TrainingExampleList
public com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> createTrainingExample(CreateTrainingExampleOptions createTrainingExampleOptions)
createTrainingExampleOptions
- the CreateTrainingExampleOptions
containing the options for the callServiceCall
with a response type of TrainingExample
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteTrainingExample(DeleteTrainingExampleOptions deleteTrainingExampleOptions)
deleteTrainingExampleOptions
- the DeleteTrainingExampleOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> updateTrainingExample(UpdateTrainingExampleOptions updateTrainingExampleOptions)
updateTrainingExampleOptions
- the UpdateTrainingExampleOptions
containing the options for the callServiceCall
with a response type of TrainingExample
public com.ibm.cloud.sdk.core.http.ServiceCall<TrainingExample> getTrainingExample(GetTrainingExampleOptions getTrainingExampleOptions)
getTrainingExampleOptions
- the GetTrainingExampleOptions
containing the options for the callServiceCall
with a response type of TrainingExample
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteUserData(DeleteUserDataOptions deleteUserDataOptions)
deleteUserDataOptions
- the DeleteUserDataOptions
containing the options for the callServiceCall
with a response type of Voidpublic com.ibm.cloud.sdk.core.http.ServiceCall<CreateEventResponse> createEvent(CreateEventOptions createEventOptions)
createEventOptions
- the CreateEventOptions
containing the options for the callServiceCall
with a response type of CreateEventResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<LogQueryResponse> queryLog(QueryLogOptions queryLogOptions)
queryLogOptions
- the QueryLogOptions
containing the options for the callServiceCall
with a response type of LogQueryResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<LogQueryResponse> queryLog()
ServiceCall
with a response type of LogQueryResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsQuery(GetMetricsQueryOptions getMetricsQueryOptions)
getMetricsQueryOptions
- the GetMetricsQueryOptions
containing the options for the callServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsQuery()
ServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsQueryEvent(GetMetricsQueryEventOptions getMetricsQueryEventOptions)
getMetricsQueryEventOptions
- the GetMetricsQueryEventOptions
containing the options for the callServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsQueryEvent()
ServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsQueryNoResults(GetMetricsQueryNoResultsOptions getMetricsQueryNoResultsOptions)
getMetricsQueryNoResultsOptions
- the GetMetricsQueryNoResultsOptions
containing the options for the
callServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsQueryNoResults()
ServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsEventRate(GetMetricsEventRateOptions getMetricsEventRateOptions)
getMetricsEventRateOptions
- the GetMetricsEventRateOptions
containing the options for the callServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricResponse> getMetricsEventRate()
ServiceCall
with a response type of MetricResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricTokenResponse> getMetricsQueryTokenEvent(GetMetricsQueryTokenEventOptions getMetricsQueryTokenEventOptions)
getMetricsQueryTokenEventOptions
- the GetMetricsQueryTokenEventOptions
containing the options for the
callServiceCall
with a response type of MetricTokenResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<MetricTokenResponse> getMetricsQueryTokenEvent()
ServiceCall
with a response type of MetricTokenResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<CredentialsList> listCredentials(ListCredentialsOptions listCredentialsOptions)
listCredentialsOptions
- the ListCredentialsOptions
containing the options for the callServiceCall
with a response type of CredentialsList
public com.ibm.cloud.sdk.core.http.ServiceCall<Credentials> createCredentials(CreateCredentialsOptions createCredentialsOptions)
createCredentialsOptions
- the CreateCredentialsOptions
containing the options for the callServiceCall
with a response type of Credentials
public com.ibm.cloud.sdk.core.http.ServiceCall<Credentials> getCredentials(GetCredentialsOptions getCredentialsOptions)
getCredentialsOptions
- the GetCredentialsOptions
containing the options for the callServiceCall
with a response type of Credentials
public com.ibm.cloud.sdk.core.http.ServiceCall<Credentials> updateCredentials(UpdateCredentialsOptions updateCredentialsOptions)
updateCredentialsOptions
- the UpdateCredentialsOptions
containing the options for the callServiceCall
with a response type of Credentials
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteCredentials> deleteCredentials(DeleteCredentialsOptions deleteCredentialsOptions)
deleteCredentialsOptions
- the DeleteCredentialsOptions
containing the options for the callServiceCall
with a response type of DeleteCredentials
public com.ibm.cloud.sdk.core.http.ServiceCall<GatewayList> listGateways(ListGatewaysOptions listGatewaysOptions)
listGatewaysOptions
- the ListGatewaysOptions
containing the options for the callServiceCall
with a response type of GatewayList
public com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> createGateway(CreateGatewayOptions createGatewayOptions)
createGatewayOptions
- the CreateGatewayOptions
containing the options for the callServiceCall
with a response type of Gateway
public com.ibm.cloud.sdk.core.http.ServiceCall<Gateway> getGateway(GetGatewayOptions getGatewayOptions)
getGatewayOptions
- the GetGatewayOptions
containing the options for the callServiceCall
with a response type of Gateway
public com.ibm.cloud.sdk.core.http.ServiceCall<GatewayDelete> deleteGateway(DeleteGatewayOptions deleteGatewayOptions)
deleteGatewayOptions
- the DeleteGatewayOptions
containing the options for the callServiceCall
with a response type of GatewayDelete