Class SearchApplicationSearchRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<SearchApplicationSearchRequest.Builder>
co.elastic.clients.elasticsearch.search_application.SearchApplicationSearchRequest.Builder
- All Implemented Interfaces:
WithJson<SearchApplicationSearchRequest.Builder>
,ObjectBuilder<SearchApplicationSearchRequest>
- Enclosing class:
- SearchApplicationSearchRequest
public static class SearchApplicationSearchRequest.Builder
extends RequestBase.AbstractBuilder<SearchApplicationSearchRequest.Builder>
implements ObjectBuilder<SearchApplicationSearchRequest>
Builder for
SearchApplicationSearchRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSearchApplicationSearchRequest
.Required - The name of the search application to be searched.Query parameters specific to this request, which will override any defaults specified in the template.Query parameters specific to this request, which will override any defaults specified in the template.protected SearchApplicationSearchRequest.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Required - The name of the search application to be searched.API name:
name
-
params
Query parameters specific to this request, which will override any defaults specified in the template.API name:
params
Adds all entries of
map
toparams
. -
params
Query parameters specific to this request, which will override any defaults specified in the template.API name:
params
Adds an entry to
params
. -
self
- Specified by:
self
in classRequestBase.AbstractBuilder<SearchApplicationSearchRequest.Builder>
-
build
Builds aSearchApplicationSearchRequest
.- Specified by:
build
in interfaceObjectBuilder<SearchApplicationSearchRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-