Class UpdateSentimentModelOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.UpdateSentimentModelOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateSentimentModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateSentimentModel options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateSentimentModelOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description Stringdescription()Gets the description.Stringlanguage()Gets the language.StringmodelId()Gets the modelId.StringmodelVersion()Gets the modelVersion.Stringname()Gets the name.UpdateSentimentModelOptions.BuildernewBuilder()New builder.InputStreamtrainingData()Gets the trainingData.Map<String,Object>userMetadata()Gets the userMetadata.StringversionDescription()Gets the versionDescription.StringworkspaceId()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 UpdateSentimentModelOptions 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 CSV format. For more information, see [Sentiment training data requirements](https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-custom-sentiment#sentiment-training-data-requirements).
- Returns:
- the trainingData
-
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
-