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 UpdateEnrichmentOptionsbuild()Builds a UpdateEnrichmentOptions.UpdateEnrichmentOptions.Builderdescription(String description)Set the description.UpdateEnrichmentOptions.BuilderenrichmentId(String enrichmentId)Set the enrichmentId.UpdateEnrichmentOptions.Buildername(String name)Set the name.UpdateEnrichmentOptions.BuilderprojectId(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
-