public class KeywordsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Supported languages: English, French, German, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Swedish.
Modifier and Type | Class and Description |
---|---|
static class |
KeywordsOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
emotion |
protected java.lang.Long |
limit |
protected java.lang.Boolean |
sentiment |
Modifier | Constructor and Description |
---|---|
protected |
KeywordsOptions(KeywordsOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
emotion()
Gets the emotion.
|
java.lang.Long |
limit()
Gets the limit.
|
KeywordsOptions.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
sentiment()
Gets the sentiment.
|
protected java.lang.Long limit
protected java.lang.Boolean sentiment
protected java.lang.Boolean emotion
protected KeywordsOptions(KeywordsOptions.Builder builder)
public KeywordsOptions.Builder newBuilder()
public java.lang.Long limit()
Maximum number of keywords to return.
public java.lang.Boolean sentiment()
Set this to `true` to return sentiment information for detected keywords.
public java.lang.Boolean emotion()
Set this to `true` to analyze emotion for detected keywords.