Class UpdateCategoriesModelOptions

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

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

    • newBuilder

      New builder.
      Returns:
      a UpdateCategoriesModelOptions builder
    • modelId

      public String modelId()
      Gets the modelId.

      ID of the model.

      Returns:
      the modelId
    • language

      public String language()
      Gets the language.

      The 2-letter language code of this model.

      Returns:
      the language
    • trainingData

      public InputStream trainingData()
      Gets the trainingData.

      Training data in JSON format. For more information, see [Categories training data requirements](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-categories##categories-training-data-requirements).

      Returns:
      the trainingData
    • trainingDataContentType

      public String trainingDataContentType()
      Gets the trainingDataContentType.

      The content type of trainingData. Values for this parameter can be obtained from the HttpMediaType class.

      Returns:
      the trainingDataContentType
    • name

      public String name()
      Gets the name.

      An optional name for the model.

      Returns:
      the name
    • userMetadata

      public Map<String,​Object> userMetadata()
      Gets the userMetadata.

      An optional map of metadata key-value pairs to store with this model.

      Returns:
      the userMetadata
    • description

      public String description()
      Gets the description.

      An optional description of the model.

      Returns:
      the description
    • modelVersion

      public String modelVersion()
      Gets the modelVersion.

      An optional version string.

      Returns:
      the modelVersion
    • workspaceId

      public String workspaceId()
      Gets the workspaceId.

      ID of the Watson Knowledge Studio workspace that deployed this model to Natural Language Understanding.

      Returns:
      the workspaceId
    • versionDescription

      public String versionDescription()
      Gets the versionDescription.

      The description of the version.

      Returns:
      the versionDescription