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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String modelId)
      Instantiates a new builder with required properties.
      Parameters:
      modelId - the modelId
  • Method Details

    • build

      public GetSentimentModelOptions build()
      Builds a GetSentimentModelOptions.
      Returns:
      the new GetSentimentModelOptions instance
    • modelId

      public GetSentimentModelOptions.Builder modelId​(String modelId)
      Set the modelId.
      Parameters:
      modelId - the modelId
      Returns:
      the GetSentimentModelOptions builder