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.BuilderacceptLanguage(String acceptLanguage)Set the acceptLanguage.ProfileOptionsbuild()Builds a ProfileOptions.ProfileOptions.BuilderconsumptionPreferences(Boolean consumptionPreferences)Set the consumptionPreferences.ProfileOptions.Buildercontent(Content content)Set the content.ProfileOptions.BuildercontentLanguage(String contentLanguage)Set the contentLanguage.ProfileOptions.BuildercsvHeaders(Boolean csvHeaders)Set the csvHeaders.ProfileOptions.Builderhtml(String html)Set the html.ProfileOptions.BuilderrawScores(Boolean rawScores)Set the rawScores.ProfileOptions.Buildertext(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
-