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 class
UpdateSentimentModelOptions.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.UpdateSentimentModelOptions.Builder
newBuilder()
New builder.InputStream
trainingData()
Gets the trainingData.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 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
-