public static class ProfileOptions.Builder extends Object
| Constructor and Description | 
|---|
| Builder()Instantiates a new builder. | 
| Modifier and Type | Method and Description | 
|---|---|
| ProfileOptions.Builder | acceptLanguage(AcceptLanguage acceptLanguage)Accept language. | 
| ProfileOptions.Builder | addContentItem(ContentItem contentItem)Adds a content items. | 
| ProfileOptions | build()Builds the profile options. | 
| ProfileOptions.Builder | consumptionPreferences(Boolean consumptionPreferences)Include consumption preference information. | 
| ProfileOptions.Builder | contentItems(List<ContentItem> contentItems)Content items. | 
| ProfileOptions.Builder | html(String html)Html. | 
| ProfileOptions.Builder | language(Language language)Language. | 
| ProfileOptions.Builder | rawScores(boolean includeRaw)Raw scores. | 
| ProfileOptions.Builder | text(String text)Text. | 
public ProfileOptions.Builder consumptionPreferences(Boolean consumptionPreferences)
acceptLanguage - the accept languagepublic ProfileOptions.Builder acceptLanguage(AcceptLanguage acceptLanguage)
acceptLanguage - the accept languagepublic ProfileOptions.Builder addContentItem(ContentItem contentItem)
contentItem - the content itempublic ProfileOptions build()
public ProfileOptions.Builder contentItems(List<ContentItem> contentItems)
contentItems - the content itemspublic ProfileOptions.Builder html(String html)
html - the htmlpublic ProfileOptions.Builder rawScores(boolean includeRaw)
rawScores - the raw scorespublic ProfileOptions.Builder language(Language language)
language - the languagepublic ProfileOptions.Builder text(String text)
text - the textCopyright © 2015–2016 IBM Watson. All rights reserved.