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 CreateEnrichment
build()
Builds a CreateEnrichment.CreateEnrichment.Builder
description(String description)
Set the description.CreateEnrichment.Builder
name(String name)
Set the name.CreateEnrichment.Builder
options(EnrichmentOptions options)
Set the options.CreateEnrichment.Builder
type(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
-