Class DeleteEntityOptions.Builder

java.lang.Object
com.ibm.watson.assistant.v1.model.DeleteEntityOptions.Builder
Enclosing class:
DeleteEntityOptions

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public DeleteEntityOptions build()
      Builds a DeleteEntityOptions.
      Returns:
      the new DeleteEntityOptions instance
    • workspaceId

      public DeleteEntityOptions.Builder workspaceId​(String workspaceId)
      Set the workspaceId.
      Parameters:
      workspaceId - the workspaceId
      Returns:
      the DeleteEntityOptions builder
    • entity

      public DeleteEntityOptions.Builder entity​(String entity)
      Set the entity.
      Parameters:
      entity - the entity
      Returns:
      the DeleteEntityOptions builder