Class ProfileOptions.Builder

java.lang.Object
com.ibm.watson.personality_insights.v3.model.ProfileOptions.Builder
Enclosing class:
ProfileOptions

public static class ProfileOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public ProfileOptions build()
      Builds a ProfileOptions.
      Returns:
      the new ProfileOptions instance
    • contentLanguage

      public ProfileOptions.Builder contentLanguage​(String contentLanguage)
      Set the contentLanguage.
      Parameters:
      contentLanguage - the contentLanguage
      Returns:
      the ProfileOptions builder
    • acceptLanguage

      public ProfileOptions.Builder acceptLanguage​(String acceptLanguage)
      Set the acceptLanguage.
      Parameters:
      acceptLanguage - the acceptLanguage
      Returns:
      the ProfileOptions builder
    • rawScores

      public ProfileOptions.Builder rawScores​(Boolean rawScores)
      Set the rawScores.
      Parameters:
      rawScores - the rawScores
      Returns:
      the ProfileOptions builder
    • csvHeaders

      public ProfileOptions.Builder csvHeaders​(Boolean csvHeaders)
      Set the csvHeaders.
      Parameters:
      csvHeaders - the csvHeaders
      Returns:
      the ProfileOptions builder
    • consumptionPreferences

      public ProfileOptions.Builder consumptionPreferences​(Boolean consumptionPreferences)
      Set the consumptionPreferences.
      Parameters:
      consumptionPreferences - the consumptionPreferences
      Returns:
      the ProfileOptions builder
    • content

      public ProfileOptions.Builder content​(Content content)
      Set the content.
      Parameters:
      content - the content
      Returns:
      the ProfileOptions builder
    • html

      public ProfileOptions.Builder html​(String html)
      Set the html.
      Parameters:
      html - the html
      Returns:
      the ProfileOptions builder
    • text

      public ProfileOptions.Builder text​(String text)
      Set the text.
      Parameters:
      text - the text
      Returns:
      the ProfileOptions builder