Class CreateIntent

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.model.CreateIntent
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateIntent
extends com.ibm.cloud.sdk.core.service.model.GenericModel
CreateIntent.
  • Method Details

    • newBuilder

      public CreateIntent.Builder newBuilder()
      New builder.
      Returns:
      a CreateIntent builder
    • intent

      public String intent()
      Gets the intent.

      The name of the intent. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, underscore, hyphen, and dot characters. - It cannot begin with the reserved prefix `sys-`.

      Returns:
      the intent
    • description

      public String description()
      Gets the description.

      The description of the intent. This string cannot contain carriage return, newline, or tab characters.

      Returns:
      the description
    • created

      public Date created()
      Gets the created.

      The timestamp for creation of the object.

      Returns:
      the created
    • updated

      public Date updated()
      Gets the updated.

      The timestamp for the most recent update to the object.

      Returns:
      the updated
    • examples

      public List<Example> examples()
      Gets the examples.

      An array of user input examples for the intent.

      Returns:
      the examples