Class FetchProfileDebug.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.core.search.FetchProfileDebug.Builder
-
- All Implemented Interfaces:
ObjectBuilder<FetchProfileDebug>
- Enclosing class:
- FetchProfileDebug
public static class FetchProfileDebug.Builder extends ObjectBuilderBase implements ObjectBuilder<FetchProfileDebug>
Builder forFetchProfileDebug.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods 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_fields-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
storedFields
public final FetchProfileDebug.Builder storedFields(java.util.List<java.lang.String> list)
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
public final FetchProfileDebug.Builder fastPath(@Nullable java.lang.Integer value)
API name:fast_path
-
build
public FetchProfileDebug build()
Builds aFetchProfileDebug.- Specified by:
buildin interfaceObjectBuilder<FetchProfileDebug>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-