Class UpdateEnrichmentOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v2.model.UpdateEnrichmentOptions.Builder
- Enclosing class:
- UpdateEnrichmentOptions
public static class UpdateEnrichmentOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description UpdateEnrichmentOptions
build()
Builds a UpdateEnrichmentOptions.UpdateEnrichmentOptions.Builder
description(String description)
Set the description.UpdateEnrichmentOptions.Builder
enrichmentId(String enrichmentId)
Set the enrichmentId.UpdateEnrichmentOptions.Builder
name(String name)
Set the name.UpdateEnrichmentOptions.Builder
projectId(String projectId)
Set the projectId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
projectId
- the projectIdenrichmentId
- the enrichmentIdname
- the name
-
-
Method Details
-
build
Builds a UpdateEnrichmentOptions.- Returns:
- the new UpdateEnrichmentOptions instance
-
projectId
Set the projectId.- Parameters:
projectId
- the projectId- Returns:
- the UpdateEnrichmentOptions builder
-
enrichmentId
Set the enrichmentId.- Parameters:
enrichmentId
- the enrichmentId- Returns:
- the UpdateEnrichmentOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the UpdateEnrichmentOptions builder
-
description
Set the description.- Parameters:
description
- the description- Returns:
- the UpdateEnrichmentOptions builder
-