Class FetchProfileDebug.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.search.FetchProfileDebug.Builder
- All Implemented Interfaces:
CopyableBuilder<FetchProfileDebug.Builder,,FetchProfileDebug> MutableBuilder<FetchProfileDebug.Builder,,FetchProfileDebug> ObjectBuilder<FetchProfileDebug>
- Enclosing class:
FetchProfileDebug
public static class FetchProfileDebug.Builder
extends ObjectBuilderBase
implements CopyableBuilder<FetchProfileDebug.Builder,FetchProfileDebug>
Builder for
FetchProfileDebug.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFetchProfileDebug.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:fast_pathstoredFields(String value, String... values) API name:stored_fieldsstoredFields(List<String> list) API name:stored_fieldsMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<FetchProfileDebug.Builder,FetchProfileDebug> - Returns:
- a new builder instance.
-
fastPath
API name:fast_path -
storedFields
API name:stored_fieldsAdds all elements of
listtostoredFields. -
storedFields
API name:stored_fieldsAdds one or more values to
storedFields. -
build
Builds aFetchProfileDebug.- Specified by:
buildin interfaceObjectBuilder<FetchProfileDebug>- Throws:
NullPointerException- if some of the required fields are null.
-