Class NluEnrichmentKeywords.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.NluEnrichmentKeywords.Builder
- Enclosing class:
- NluEnrichmentKeywords
public static class NluEnrichmentKeywords.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description NluEnrichmentKeywords
build()
Builds a NluEnrichmentKeywords.NluEnrichmentKeywords.Builder
emotion(Boolean emotion)
Set the emotion.NluEnrichmentKeywords.Builder
limit(long limit)
Set the limit.NluEnrichmentKeywords.Builder
sentiment(Boolean sentiment)
Set the sentiment.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a NluEnrichmentKeywords.- Returns:
- the new NluEnrichmentKeywords instance
-
sentiment
Set the sentiment.- Parameters:
sentiment
- the sentiment- Returns:
- the NluEnrichmentKeywords builder
-
emotion
Set the emotion.- Parameters:
emotion
- the emotion- Returns:
- the NluEnrichmentKeywords builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the NluEnrichmentKeywords builder
-