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 GetEnrichmentOptions
build()
Builds a GetEnrichmentOptions.GetEnrichmentOptions.Builder
enrichmentId(String enrichmentId)
Set the enrichmentId.GetEnrichmentOptions.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 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
-