Class CreateEnrichment.Builder

java.lang.Object
com.ibm.watson.discovery.v2.model.CreateEnrichment.Builder
Enclosing class:
CreateEnrichment

public static class CreateEnrichment.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public CreateEnrichment build()
      Builds a CreateEnrichment.
      Returns:
      the new CreateEnrichment instance
    • name

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

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

      public CreateEnrichment.Builder type​(String type)
      Set the type.
      Parameters:
      type - the type
      Returns:
      the CreateEnrichment builder
    • options

      public CreateEnrichment.Builder options​(EnrichmentOptions options)
      Set the options.
      Parameters:
      options - the options
      Returns:
      the CreateEnrichment builder