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 Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description ProfileOptions.Builder
acceptLanguage(String acceptLanguage)
Set the acceptLanguage.ProfileOptions
build()
Builds a ProfileOptions.ProfileOptions.Builder
consumptionPreferences(Boolean consumptionPreferences)
Set the consumptionPreferences.ProfileOptions.Builder
content(Content content)
Set the content.ProfileOptions.Builder
contentLanguage(String contentLanguage)
Set the contentLanguage.ProfileOptions.Builder
csvHeaders(Boolean csvHeaders)
Set the csvHeaders.ProfileOptions.Builder
html(String html)
Set the html.ProfileOptions.Builder
rawScores(Boolean rawScores)
Set the rawScores.ProfileOptions.Builder
text(String text)
Set the text.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a ProfileOptions.- Returns:
- the new ProfileOptions instance
-
contentLanguage
Set the contentLanguage.- Parameters:
contentLanguage
- the contentLanguage- Returns:
- the ProfileOptions builder
-
acceptLanguage
Set the acceptLanguage.- Parameters:
acceptLanguage
- the acceptLanguage- Returns:
- the ProfileOptions builder
-
rawScores
Set the rawScores.- Parameters:
rawScores
- the rawScores- Returns:
- the ProfileOptions builder
-
csvHeaders
Set the csvHeaders.- Parameters:
csvHeaders
- the csvHeaders- Returns:
- the ProfileOptions builder
-
consumptionPreferences
Set the consumptionPreferences.- Parameters:
consumptionPreferences
- the consumptionPreferences- Returns:
- the ProfileOptions builder
-
content
Set the content.- Parameters:
content
- the content- Returns:
- the ProfileOptions builder
-
html
Set the html.- Parameters:
html
- the html- Returns:
- the ProfileOptions builder
-
text
Set the text.- Parameters:
text
- the text- Returns:
- the ProfileOptions builder
-