Class Features.Builder
java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.Features.Builder
- Enclosing class:
- Features
public static class Features.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a Features.- Returns:
- the new Features instance
-
classifications
Set the classifications.- Parameters:
classifications
- the classifications- Returns:
- the Features builder
-
concepts
Set the concepts.- Parameters:
concepts
- the concepts- Returns:
- the Features builder
-
emotion
Set the emotion.- Parameters:
emotion
- the emotion- Returns:
- the Features builder
-
entities
Set the entities.- Parameters:
entities
- the entities- Returns:
- the Features builder
-
keywords
Set the keywords.- Parameters:
keywords
- the keywords- Returns:
- the Features builder
-
metadata
Set the metadata.- Parameters:
metadata
- the metadata- Returns:
- the Features builder
-
relations
Set the relations.- Parameters:
relations
- the relations- Returns:
- the Features builder
-
semanticRoles
Set the semanticRoles.- Parameters:
semanticRoles
- the semanticRoles- Returns:
- the Features builder
-
sentiment
Set the sentiment.- Parameters:
sentiment
- the sentiment- Returns:
- the Features builder
-
summarization
Set the summarization.- Parameters:
summarization
- the summarization- Returns:
- the Features builder
-
categories
Set the categories.- Parameters:
categories
- the categories- Returns:
- the Features builder
-
syntax
Set the syntax.- Parameters:
syntax
- the syntax- Returns:
- the Features builder
-