public class NaturalLanguageUnderstanding
extends com.ibm.cloud.sdk.core.service.BaseService
Constructor and Description |
---|
NaturalLanguageUnderstanding(java.lang.String versionDate)
Deprecated.
Use NaturalLanguageUnderstanding(String versionDate, AuthenticatorConfig authenticatorConfig) instead
|
NaturalLanguageUnderstanding(java.lang.String versionDate,
com.ibm.cloud.sdk.core.security.AuthenticatorConfig authenticatorConfig)
Instantiates a new `NaturalLanguageUnderstanding` with the specified authentication configuration.
|
NaturalLanguageUnderstanding(java.lang.String versionDate,
java.lang.String username,
java.lang.String password)
Deprecated.
Use NaturalLanguageUnderstanding(String versionDate, AuthenticatorConfig authenticatorConfig) instead
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<AnalysisResults> |
analyze(AnalyzeOptions analyzeOptions)
Analyze text.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DeleteModelResults> |
deleteModel(DeleteModelOptions deleteModelOptions)
Delete model.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> |
listModels()
List models.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> |
listModels(ListModelsOptions listModelsOptions)
List models.
|
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 NaturalLanguageUnderstanding(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 NaturalLanguageUnderstanding(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 NaturalLanguageUnderstanding(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<AnalysisResults> analyze(AnalyzeOptions analyzeOptions)
analyzeOptions
- the AnalyzeOptions
containing the options for the callServiceCall
with a response type of AnalysisResults
public com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> listModels(ListModelsOptions listModelsOptions)
listModelsOptions
- the ListModelsOptions
containing the options for the callServiceCall
with a response type of ListModelsResults
public com.ibm.cloud.sdk.core.http.ServiceCall<ListModelsResults> listModels()
ServiceCall
with a response type of ListModelsResults
public com.ibm.cloud.sdk.core.http.ServiceCall<DeleteModelResults> deleteModel(DeleteModelOptions deleteModelOptions)
deleteModelOptions
- the DeleteModelOptions
containing the options for the callServiceCall
with a response type of DeleteModelResults