Class DeleteIntentOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public DeleteIntentOptions.Builder intent​(String intent)
      Set the intent.
      Parameters:
      intent - the intent
      Returns:
      the DeleteIntentOptions builder