Class CreateCollectionOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.CreateCollectionOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createCollection options.
  • Method Details

    • newBuilder

      public CreateCollectionOptions.Builder newBuilder()
      New builder.
      Returns:
      a CreateCollectionOptions builder
    • name

      public String name()
      Gets the name.

      The name of the collection. The name can contain alphanumeric, underscore, hyphen, and dot characters. It cannot begin with the reserved prefix `sys-`.

      Returns:
      the name
    • description

      public String description()
      Gets the description.

      The description of the collection.

      Returns:
      the description
    • trainingStatus

      public TrainingStatus trainingStatus()
      Gets the trainingStatus.

      Training status information for the collection.

      Returns:
      the trainingStatus