Class GetEntityOptions.Builder

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

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

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

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

      public GetEntityOptions.Builder export​(Boolean export)
      Set the export.
      Parameters:
      export - the export
      Returns:
      the GetEntityOptions builder
    • includeAudit

      public GetEntityOptions.Builder includeAudit​(Boolean includeAudit)
      Set the includeAudit.
      Parameters:
      includeAudit - the includeAudit
      Returns:
      the GetEntityOptions builder