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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String projectId, String enrichmentId)
      Instantiates a new builder with required properties.
      Parameters:
      projectId - the projectId
      enrichmentId - the enrichmentId
  • Method Details

    • build

      public GetEnrichmentOptions build()
      Builds a GetEnrichmentOptions.
      Returns:
      the new GetEnrichmentOptions instance
    • projectId

      public GetEnrichmentOptions.Builder projectId​(String projectId)
      Set the projectId.
      Parameters:
      projectId - the projectId
      Returns:
      the GetEnrichmentOptions builder
    • enrichmentId

      public GetEnrichmentOptions.Builder enrichmentId​(String enrichmentId)
      Set the enrichmentId.
      Parameters:
      enrichmentId - the enrichmentId
      Returns:
      the GetEnrichmentOptions builder