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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FetchProfileDebugbuild()Builds aFetchProfileDebug.FetchProfileDebug.BuilderfastPath(java.lang.Integer value)API name:fast_pathprotected FetchProfileDebug.Builderself()FetchProfileDebug.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.WithJsonObjectBuilderBase
withJsonMethods 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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FetchProfileDebug.Builder>
-
build
Builds aFetchProfileDebug.- Specified by:
buildin interfaceObjectBuilder<FetchProfileDebug>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-