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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFetchProfileDebug.API name:fast_pathprotected FetchProfileDebug.Builderself()storedFields(String value, String... values) API name:stored_fieldsstoredFields(List<String> list) API name:stored_fieldsMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storedFields
API name:stored_fieldsAdds all elements of
listtostoredFields. -
storedFields
API name:stored_fieldsAdds one or more values to
storedFields. -
fastPath
API name:fast_path -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FetchProfileDebug.Builder>
-
build
Builds aFetchProfileDebug.- Specified by:
buildin interfaceObjectBuilder<FetchProfileDebug>- Throws:
NullPointerException- if some of the required fields are null.
-