public static class ProfileOptions.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and 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.
|
public ProfileOptions build()
public ProfileOptions.Builder contentLanguage(String contentLanguage)
contentLanguage - the contentLanguagepublic ProfileOptions.Builder acceptLanguage(String acceptLanguage)
acceptLanguage - the acceptLanguagepublic ProfileOptions.Builder rawScores(Boolean rawScores)
rawScores - the rawScorespublic ProfileOptions.Builder csvHeaders(Boolean csvHeaders)
csvHeaders - the csvHeaderspublic ProfileOptions.Builder consumptionPreferences(Boolean consumptionPreferences)
consumptionPreferences - the consumptionPreferencespublic ProfileOptions.Builder content(Content content)
content - the contentpublic ProfileOptions.Builder html(String html)
html - the htmlpublic ProfileOptions.Builder text(String text)
text - the textCopyright © 2021 IBM Cloud. All rights reserved.