Class SearchServiceConfig.Builder (2.0.0)

public static final class SearchServiceConfig.Builder

Builder for SearchServiceConfig.

Inheritance

java.lang.Object > SearchServiceConfig.Builder

Methods

build()

public SearchServiceConfig build()

Builds a configuration.

Returns
Type Description
SearchServiceConfig

the configuration built by this builder

setDeadline(Double deadlineInSeconds)

public SearchServiceConfig.Builder setDeadline(Double deadlineInSeconds)
Parameter
Name Description
deadlineInSeconds Double
Returns
Type Description
SearchServiceConfig.Builder
Exceptions
Type Description
SearchServiceException

setNamespace(String namespace)

public SearchServiceConfig.Builder setNamespace(String namespace)
Parameter
Name Description
namespace String
Returns
Type Description
SearchServiceConfig.Builder