Class GetSynonymsSetsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetSynonymsSetsRequest.Builder>
co.elastic.clients.elasticsearch.synonyms.GetSynonymsSetsRequest.Builder
- All Implemented Interfaces:
WithJson<GetSynonymsSetsRequest.Builder>
,ObjectBuilder<GetSynonymsSetsRequest>
- Enclosing class:
- GetSynonymsSetsRequest
public static class GetSynonymsSetsRequest.Builder
extends RequestBase.AbstractBuilder<GetSynonymsSetsRequest.Builder>
implements ObjectBuilder<GetSynonymsSetsRequest>
Builder for
GetSynonymsSetsRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aGetSynonymsSetsRequest
.The starting offset for synonyms sets to retrieve.protected GetSynonymsSetsRequest.Builder
self()
The maximum number of synonyms sets to retrieve.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
-
from
The starting offset for synonyms sets to retrieve.API name:
from
-
size
The maximum number of synonyms sets to retrieve.API name:
size
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<GetSynonymsSetsRequest.Builder>
-
build
Builds aGetSynonymsSetsRequest
.- Specified by:
build
in interfaceObjectBuilder<GetSynonymsSetsRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-