Class CreateConfigurationOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.CreateConfigurationOptions.Builder
- Enclosing class:
- CreateConfigurationOptions
public static class CreateConfigurationOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdname
- the name
-
-
Method Details
-
build
Builds a CreateConfigurationOptions.- Returns:
- the new CreateConfigurationOptions instance
-
addEnrichment
Adds an enrichment to enrichments.- Parameters:
enrichment
- the new enrichment- Returns:
- the CreateConfigurationOptions builder
-
addNormalization
Adds an normalization to normalizations.- Parameters:
normalization
- the new normalization- Returns:
- the CreateConfigurationOptions builder
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the CreateConfigurationOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateConfigurationOptions builder
-
description
Set the description.- Parameters:
description
- the description- Returns:
- the CreateConfigurationOptions builder
-
conversions
Set the conversions.- Parameters:
conversions
- the conversions- Returns:
- the CreateConfigurationOptions builder
-
enrichments
Set the enrichments. Existing enrichments will be replaced.- Parameters:
enrichments
- the enrichments- Returns:
- the CreateConfigurationOptions builder
-
normalizations
public CreateConfigurationOptions.Builder normalizations(List<NormalizationOperation> normalizations)Set the normalizations. Existing normalizations will be replaced.- Parameters:
normalizations
- the normalizations- Returns:
- the CreateConfigurationOptions builder
-
source
Set the source.- Parameters:
source
- the source- Returns:
- the CreateConfigurationOptions builder
-
configuration
Set the configuration.- Parameters:
configuration
- the configuration- Returns:
- the CreateConfigurationOptions builder
-