Class DeleteSynonymOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

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

      public DeleteSynonymOptions.Builder value​(String value)
      Set the value.
      Parameters:
      value - the value
      Returns:
      the DeleteSynonymOptions builder
    • synonym

      public DeleteSynonymOptions.Builder synonym​(String synonym)
      Set the synonym.
      Parameters:
      synonym - the synonym
      Returns:
      the DeleteSynonymOptions builder