Class CreateEnrichment.Builder
java.lang.Object
com.ibm.watson.discovery.v2.model.CreateEnrichment.Builder
- Enclosing class:
- CreateEnrichment
public static class CreateEnrichment.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. -
Method Summary
Modifier and Type Method Description CreateEnrichmentbuild()Builds a CreateEnrichment.CreateEnrichment.Builderdescription(String description)Set the description.CreateEnrichment.Buildername(String name)Set the name.CreateEnrichment.Builderoptions(EnrichmentOptions options)Set the options.CreateEnrichment.Buildertype(String type)Set the type.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a CreateEnrichment.- Returns:
- the new CreateEnrichment instance
-
name
Set the name.- Parameters:
name- the name- Returns:
- the CreateEnrichment builder
-
description
Set the description.- Parameters:
description- the description- Returns:
- the CreateEnrichment builder
-
type
Set the type.- Parameters:
type- the type- Returns:
- the CreateEnrichment builder
-
options
Set the options.- Parameters:
options- the options- Returns:
- the CreateEnrichment builder
-