Class DeleteEnrichmentOptions.Builder

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

public static class DeleteEnrichmentOptions.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 DeleteEnrichmentOptions build()
      Builds a DeleteEnrichmentOptions.
      Returns:
      the new DeleteEnrichmentOptions instance
    • projectId

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

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