public static class Bing3NewsDocumentSourceDescriptor.AttributeBuilder extends Bing3DocumentSourceDescriptor.AttributeBuilder
Bing3NewsDocumentSource component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Bing3NewsDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
newsCategory(Class<? extends NewsCategory> clazz)
Specifies news category.
|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
newsCategory(NewsCategory value)
Specifies news category.
|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
sortOrder(Class<? extends SortOrder> clazz)
Specifies the sort order of results.
|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
sortOrder(SortOrder value)
Specifies the sort order of results.
|
adult, adult, appid, latitude, longitude, market, marketsearchMode, searchModecompressed, documents, query, results, resultsTotal, startpublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder sortOrder(SortOrder value)
Bing3NewsDocumentSource.sortOrderpublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder sortOrder(Class<? extends SortOrder> clazz)
Bing3NewsDocumentSource.sortOrderpublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder newsCategory(NewsCategory value)
Bing3NewsDocumentSource.newsCategorypublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder newsCategory(Class<? extends NewsCategory> clazz)
Bing3NewsDocumentSource.newsCategory