public static class OpenSearchClient.Builder extends Object
| Constructor and Description |
|---|
Builder() |
Builder(org.gcube.rest.opensearch.common.discover.OpenSearchDiscovererAPI<org.gcube.rest.opensearch.common.resources.OpenSearchDataSourceResource> discoverer) |
| Modifier and Type | Method and Description |
|---|---|
OpenSearchClient |
build() |
OpenSearchClient.Builder |
collectionID(String collectionID) |
OpenSearchClient.Builder |
endpoint(String endpoint) |
OpenSearchClient.Builder |
resourceID(String resourceID) |
OpenSearchClient.Builder |
scope(String scope) |
public Builder()
@Inject public Builder(org.gcube.rest.opensearch.common.discover.OpenSearchDiscovererAPI<org.gcube.rest.opensearch.common.resources.OpenSearchDataSourceResource> discoverer)
public OpenSearchClient.Builder endpoint(String endpoint)
public OpenSearchClient.Builder resourceID(String resourceID)
public OpenSearchClient.Builder scope(String scope)
public OpenSearchClient.Builder collectionID(String collectionID)
public OpenSearchClient build() throws OpenSearchClientException
OpenSearchClientExceptionCopyright © 2017. All Rights Reserved.