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 - API name:can_matchPhaseTook.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.PhaseTook.BuilderdfsPreQuery(int value)Required - API name:dfs_pre_queryPhaseTook.BuilderdfsQuery(int value)Required - API name:dfs_queryPhaseTook.Builderexpand(int value)Required - API name:expandPhaseTook.Builderfetch(int value)Required - API name:fetchPhaseTook.Builderquery(int value)Required - API name:query-
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 - API name:can_match
-
dfsPreQuery
@Nonnull public final PhaseTook.Builder dfsPreQuery(int value)
Required - API name:dfs_pre_query
-
dfsQuery
@Nonnull public final PhaseTook.Builder dfsQuery(int value)
Required - API name:dfs_query
-
expand
@Nonnull public final PhaseTook.Builder expand(int value)
Required - API name:expand
-
fetch
@Nonnull public final PhaseTook.Builder fetch(int value)
Required - API name:fetch
-
query
@Nonnull public final PhaseTook.Builder query(int value)
Required - 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.
-
-