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 FetchProfileDebugbuild()Builds aFetchProfileDebug.FetchProfileDebug.BuilderfastPath(java.lang.Integer value)API name:fast_pathFetchProfileDebug.BuilderstoredFields(java.lang.String value, java.lang.String... values)API name:stored_fieldsFetchProfileDebug.BuilderstoredFields(java.util.List<java.lang.String> list)API name:stored_fieldsMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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_fieldsAdds all elements of
listtostoredFields. -
storedFields
public final FetchProfileDebug.Builder storedFields(java.lang.String value, java.lang.String... values)API name:stored_fieldsAdds one or more values to
storedFields. -
fastPath
API name:fast_path -
build
Builds aFetchProfileDebug.- Specified by:
buildin interfaceObjectBuilder<FetchProfileDebug>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-