public static class Bing3DocumentSourceDescriptor.AttributeBuilder extends MultipageSearchEngineDescriptor.AttributeBuilder
Bing3DocumentSource 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 |
Bing3DocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
Bing3DocumentSourceDescriptor.AttributeBuilder |
adult(AdultOption value)
Adult search restriction (porn filter).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
adult(Class<? extends AdultOption> clazz)
Adult search restriction (porn filter).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
appid(String value)
Microsoft-assigned application ID for querying the API.
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
latitude(Double value)
Latitude (north/south coordinate).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
longitude(Double value)
Longitude (east/west coordinate).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
market(Class<? extends MarketOption> clazz)
Language and country/region information for the request.
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
market(MarketOption value)
Language and country/region information for the request.
|
searchMode, searchModecompressed, documents, query, results, resultsTotal, startpublic Bing3DocumentSourceDescriptor.AttributeBuilder appid(String value)
By default takes the system property's value under key: bing3.key.
Bing3DocumentSource.appidpublic Bing3DocumentSourceDescriptor.AttributeBuilder market(MarketOption value)
Bing3DocumentSource.marketpublic Bing3DocumentSourceDescriptor.AttributeBuilder market(Class<? extends MarketOption> clazz)
Bing3DocumentSource.marketpublic Bing3DocumentSourceDescriptor.AttributeBuilder adult(AdultOption value)
Bing3DocumentSource.adultpublic Bing3DocumentSourceDescriptor.AttributeBuilder adult(Class<? extends AdultOption> clazz)
Bing3DocumentSource.adultpublic Bing3DocumentSourceDescriptor.AttributeBuilder latitude(Double value)
Bing3DocumentSource.latitudepublic Bing3DocumentSourceDescriptor.AttributeBuilder longitude(Double value)
Bing3DocumentSource.longitude