public class ToneAnalyzer
extends com.ibm.cloud.sdk.core.service.BaseService
| Constructor and Description | 
|---|
| ToneAnalyzer(java.lang.String versionDate)Constructs a new `ToneAnalyzer` client. | 
| ToneAnalyzer(java.lang.String versionDate,
            com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs a new `ToneAnalyzer` client with the specified Authenticator. | 
| Modifier and Type | Method and Description | 
|---|---|
| com.ibm.cloud.sdk.core.http.ServiceCall<ToneAnalysis> | tone(ToneOptions toneOptions)Analyze general tone. | 
| com.ibm.cloud.sdk.core.http.ServiceCall<UtteranceAnalyses> | toneChat(ToneChatOptions toneChatOptions)Analyze customer-engagement tone. | 
configureClient, configureHttpClient, configureService, createServiceCall, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, processServiceCall, setAuthentication, setClient, setDefaultHeaders, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic ToneAnalyzer(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.public ToneAnalyzer(java.lang.String versionDate,
                    com.ibm.cloud.sdk.core.security.Authenticator authenticator)
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.authenticator - the Authenticator instance to be configured for this servicepublic com.ibm.cloud.sdk.core.http.ServiceCall<ToneAnalysis> tone(ToneOptions toneOptions)
toneOptions - the ToneOptions containing the options for the callServiceCall with a response type of ToneAnalysispublic com.ibm.cloud.sdk.core.http.ServiceCall<UtteranceAnalyses> toneChat(ToneChatOptions toneChatOptions)
toneChatOptions - the ToneChatOptions containing the options for the callServiceCall with a response type of UtteranceAnalyses