Class FetchProfileDebug.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FetchProfileDebug.Builder>
co.elastic.clients.elasticsearch.core.search.FetchProfileDebug.Builder
- All Implemented Interfaces:
WithJson<FetchProfileDebug.Builder>
,ObjectBuilder<FetchProfileDebug>
- Enclosing class:
- FetchProfileDebug
public static class FetchProfileDebug.Builder
extends WithJsonObjectBuilderBase<FetchProfileDebug.Builder>
implements ObjectBuilder<FetchProfileDebug>
Builder for
FetchProfileDebug
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aFetchProfileDebug
.API name:fast_path
protected FetchProfileDebug.Builder
self()
storedFields
(String value, String... values) API name:stored_fields
storedFields
(List<String> list) API name:stored_fields
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
-
storedFields
API name:stored_fields
Adds all elements of
list
tostoredFields
. -
storedFields
API name:stored_fields
Adds one or more values to
storedFields
. -
fastPath
API name:fast_path
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FetchProfileDebug.Builder>
-
build
Builds aFetchProfileDebug
.- Specified by:
build
in interfaceObjectBuilder<FetchProfileDebug>
- Throws:
NullPointerException
- if some of the required fields are null.
-