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