Class FetchProfileDebug.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.search.FetchProfileDebug.Builder
- All Implemented Interfaces:
ObjectBuilder<FetchProfileDebug>
- Enclosing class:
- FetchProfileDebug
public static class FetchProfileDebug.Builder extends ObjectBuilderBase implements ObjectBuilder<FetchProfileDebug>
Builder for
FetchProfileDebug
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FetchProfileDebug
build()
Builds aFetchProfileDebug
.FetchProfileDebug.Builder
fastPath(java.lang.Integer value)
API name:fast_path
FetchProfileDebug.Builder
storedFields(java.lang.String value, java.lang.String... values)
API name:stored_fields
FetchProfileDebug.Builder
storedFields(java.util.List<java.lang.String> list)
API name:stored_fields
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
storedFields
API name:stored_fields
Adds all elements of
list
tostoredFields
. -
storedFields
public final FetchProfileDebug.Builder storedFields(java.lang.String value, java.lang.String... values)API name:stored_fields
Adds one or more values to
storedFields
. -
fastPath
API name:fast_path
-
build
Builds aFetchProfileDebug
.- Specified by:
build
in interfaceObjectBuilder<FetchProfileDebug>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-