Class GetSentimentModelOptions.Builder
java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.GetSentimentModelOptions.Builder
- Enclosing class:
- GetSentimentModelOptions
public static class GetSentimentModelOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetSentimentModelOptions
build()
Builds a GetSentimentModelOptions.GetSentimentModelOptions.Builder
modelId(String modelId)
Set the modelId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
modelId
- the modelId
-
-
Method Details
-
build
Builds a GetSentimentModelOptions.- Returns:
- the new GetSentimentModelOptions instance
-
modelId
Set the modelId.- Parameters:
modelId
- the modelId- Returns:
- the GetSentimentModelOptions builder
-