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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

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

      public UpdateEnrichmentOptions.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the UpdateEnrichmentOptions builder
    • description

      public UpdateEnrichmentOptions.Builder description​(String description)
      Set the description.
      Parameters:
      description - the description
      Returns:
      the UpdateEnrichmentOptions builder