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 SummaryConstructors Constructor Description Builder()Instantiates a new builder.
- 
Method SummaryModifier and Type Method Description NluEnrichmentKeywordsbuild()Builds a NluEnrichmentKeywords.NluEnrichmentKeywords.Builderemotion(Boolean emotion)Set the emotion.NluEnrichmentKeywords.Builderlimit(long limit)Set the limit.NluEnrichmentKeywords.Buildersentiment(Boolean sentiment)Set the sentiment.
- 
Constructor Details- 
Builderpublic Builder()Instantiates a new builder.
 
- 
- 
Method Details- 
buildBuilds a NluEnrichmentKeywords.- Returns:
- the new NluEnrichmentKeywords instance
 
- 
sentimentSet the sentiment.- Parameters:
- sentiment- the sentiment
- Returns:
- the NluEnrichmentKeywords builder
 
- 
emotionSet the emotion.- Parameters:
- emotion- the emotion
- Returns:
- the NluEnrichmentKeywords builder
 
- 
limitSet the limit.- Parameters:
- limit- the limit
- Returns:
- the NluEnrichmentKeywords builder
 
 
-