Class GetEnrichmentOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v2.model.GetEnrichmentOptions.Builder
- Enclosing class:
- GetEnrichmentOptions
public static class GetEnrichmentOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetEnrichmentOptionsbuild()Builds a GetEnrichmentOptions.GetEnrichmentOptions.BuilderenrichmentId(String enrichmentId)Set the enrichmentId.GetEnrichmentOptions.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 enrichmentId
-
-
Method Details
-
build
Builds a GetEnrichmentOptions.- Returns:
- the new GetEnrichmentOptions instance
-
projectId
Set the projectId.- Parameters:
projectId- the projectId- Returns:
- the GetEnrichmentOptions builder
-
enrichmentId
Set the enrichmentId.- Parameters:
enrichmentId- the enrichmentId- Returns:
- the GetEnrichmentOptions builder
-