Class EnrichmentOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.EnrichmentOptions.Builder
- Enclosing class:
- EnrichmentOptions
public static class EnrichmentOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description EnrichmentOptions
build()
Builds a EnrichmentOptions.EnrichmentOptions.Builder
features(NluEnrichmentFeatures features)
Set the features.EnrichmentOptions.Builder
language(String language)
Set the language.EnrichmentOptions.Builder
model(String model)
Set the model.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a EnrichmentOptions.- Returns:
- the new EnrichmentOptions instance
-
features
Set the features.- Parameters:
features
- the features- Returns:
- the EnrichmentOptions builder
-
language
Set the language.- Parameters:
language
- the language- Returns:
- the EnrichmentOptions builder
-
model
Set the model.- Parameters:
model
- the model- Returns:
- the EnrichmentOptions builder
-