Class PhaseTook.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.PhaseTook.Builder
-
- All Implemented Interfaces:
CopyableBuilder<PhaseTook.Builder,PhaseTook>,MutableBuilder<PhaseTook.Builder,PhaseTook>,ObjectBuilder<PhaseTook>
- Enclosing class:
- PhaseTook
public static class PhaseTook.Builder extends ObjectBuilderBase implements CopyableBuilder<PhaseTook.Builder,PhaseTook>
Builder forPhaseTook.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PhaseTookbuild()Builds aPhaseTook.PhaseTook.BuildercanMatch(int value)Required - The time taken for thecan_matchphase.PhaseTook.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.PhaseTook.BuilderdfsPreQuery(int value)Required - The time taken for the distributed frequency searchpre-queryphase.PhaseTook.BuilderdfsQuery(int value)Required - The time taken for the distributed frequency search query phase.PhaseTook.Builderexpand(int value)Required - The time taken for theexpandphase.PhaseTook.Builderfetch(int value)Required - The time taken for thefetchphase.PhaseTook.Builderquery(int value)Required - The time taken for thequeryphase.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public PhaseTook.Builder copy()
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<PhaseTook.Builder,PhaseTook>- Returns:
- a new builder instance.
-
canMatch
@Nonnull public final PhaseTook.Builder canMatch(int value)
Required - The time taken for thecan_matchphase.API name:
can_match
-
dfsPreQuery
@Nonnull public final PhaseTook.Builder dfsPreQuery(int value)
Required - The time taken for the distributed frequency searchpre-queryphase.API name:
dfs_pre_query
-
dfsQuery
@Nonnull public final PhaseTook.Builder dfsQuery(int value)
Required - The time taken for the distributed frequency search query phase.API name:
dfs_query
-
expand
@Nonnull public final PhaseTook.Builder expand(int value)
Required - The time taken for theexpandphase.API name:
expand
-
fetch
@Nonnull public final PhaseTook.Builder fetch(int value)
Required - The time taken for thefetchphase.API name:
fetch
-
query
@Nonnull public final PhaseTook.Builder query(int value)
Required - The time taken for thequeryphase.API name:
query
-
build
@Nonnull public PhaseTook build()
Builds aPhaseTook.- Specified by:
buildin interfaceObjectBuilder<PhaseTook>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-