public static class ProfileOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
ProfileOptions.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
ProfileOptions.Builder |
acceptLanguage(java.lang.String acceptLanguage)
Set the acceptLanguage.
|
ProfileOptions |
build()
Builds a ProfileOptions.
|
ProfileOptions.Builder |
consumptionPreferences(java.lang.Boolean consumptionPreferences)
Set the consumptionPreferences.
|
ProfileOptions.Builder |
content(Content content)
Set the content.
|
ProfileOptions.Builder |
contentLanguage(java.lang.String contentLanguage)
Set the contentLanguage.
|
ProfileOptions.Builder |
html(java.lang.String html)
Set the html.
|
ProfileOptions.Builder |
rawScores(java.lang.Boolean rawScores)
Set the rawScores.
|
ProfileOptions.Builder |
text(java.lang.String text)
Set the text.
|
public ProfileOptions.Builder()
public ProfileOptions build()
public ProfileOptions.Builder contentLanguage(java.lang.String contentLanguage)
contentLanguage
- the contentLanguagepublic ProfileOptions.Builder acceptLanguage(java.lang.String acceptLanguage)
acceptLanguage
- the acceptLanguagepublic ProfileOptions.Builder rawScores(java.lang.Boolean rawScores)
rawScores
- the rawScorespublic ProfileOptions.Builder consumptionPreferences(java.lang.Boolean consumptionPreferences)
consumptionPreferences
- the consumptionPreferencespublic ProfileOptions.Builder content(Content content)
content
- the contentpublic ProfileOptions.Builder html(java.lang.String html)
html
- the htmlpublic ProfileOptions.Builder text(java.lang.String text)
text
- the text