Class ToneInput
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.tone_analyzer.v3.model.ToneInput
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ToneInput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Input for the general-purpose endpoint.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ToneInput.Builder
Builder. -
Method Summary
Modifier and Type Method Description ToneInput.Builder
newBuilder()
New builder.String
text()
Gets the text.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a ToneInput builder
-
text
Gets the text.The input content that the service is to analyze.
- Returns:
- the text
-