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 EnrichmentOptionsbuild()Builds a EnrichmentOptions.EnrichmentOptions.Builderfeatures(NluEnrichmentFeatures features)Set the features.EnrichmentOptions.Builderlanguage(String language)Set the language.EnrichmentOptions.Buildermodel(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
-