Class UpdateClassificationsModelOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.UpdateClassificationsModelOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateClassificationsModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateClassificationsModel options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateClassificationsModelOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
description()
Gets the description.String
language()
Gets the language.String
modelId()
Gets the modelId.String
modelVersion()
Gets the modelVersion.String
name()
Gets the name.UpdateClassificationsModelOptions.Builder
newBuilder()
New builder.InputStream
trainingData()
Gets the trainingData.String
trainingDataContentType()
Gets the trainingDataContentType.Map<String,Object>
userMetadata()
Gets the userMetadata.String
versionDescription()
Gets the versionDescription.String
workspaceId()
Gets the workspaceId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a UpdateClassificationsModelOptions builder
-
modelId
Gets the modelId.ID of the model.
- Returns:
- the modelId
-
language
Gets the language.The 2-letter language code of this model.
- Returns:
- the language
-
trainingData
Gets the trainingData.Training data in JSON format. For more information, see [Classifications training data requirements](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-classifications#classification-training-data-requirements).
- Returns:
- the trainingData
-
trainingDataContentType
Gets the trainingDataContentType.The content type of trainingData. Values for this parameter can be obtained from the HttpMediaType class.
- Returns:
- the trainingDataContentType
-
name
Gets the name.An optional name for the model.
- Returns:
- the name
-
userMetadata
Gets the userMetadata.An optional map of metadata key-value pairs to store with this model.
- Returns:
- the userMetadata
-
description
Gets the description.An optional description of the model.
- Returns:
- the description
-
modelVersion
Gets the modelVersion.An optional version string.
- Returns:
- the modelVersion
-
workspaceId
Gets the workspaceId.ID of the Watson Knowledge Studio workspace that deployed this model to Natural Language Understanding.
- Returns:
- the workspaceId
-
versionDescription
Gets the versionDescription.The description of the version.
- Returns:
- the versionDescription
-