public static class SearchSettings.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(SearchSettingsDiscovery discovery,
SearchSettingsMessages messages,
SearchSettingsSchemaMapping schemaMapping)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
SearchSettings |
build()
Builds a SearchSettings.
|
SearchSettings.Builder |
discovery(SearchSettingsDiscovery discovery)
Set the discovery.
|
SearchSettings.Builder |
messages(SearchSettingsMessages messages)
Set the messages.
|
SearchSettings.Builder |
schemaMapping(SearchSettingsSchemaMapping schemaMapping)
Set the schemaMapping.
|
public Builder()
public Builder(SearchSettingsDiscovery discovery, SearchSettingsMessages messages, SearchSettingsSchemaMapping schemaMapping)
discovery
- the discoverymessages
- the messagesschemaMapping
- the schemaMappingpublic SearchSettings build()
public SearchSettings.Builder discovery(SearchSettingsDiscovery discovery)
discovery
- the discoverypublic SearchSettings.Builder messages(SearchSettingsMessages messages)
messages
- the messagespublic SearchSettings.Builder schemaMapping(SearchSettingsSchemaMapping schemaMapping)
schemaMapping
- the schemaMappingCopyright © 2024 IBM Cloud. All rights reserved.