Class IntervalsPrefix.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.IntervalsPrefix.Builder
- All Implemented Interfaces:
CopyableBuilder<IntervalsPrefix.Builder,,IntervalsPrefix> MutableBuilder<IntervalsPrefix.Builder,,IntervalsPrefix> ObjectBuilder<IntervalsPrefix>
- Enclosing class:
IntervalsPrefix
public static class IntervalsPrefix.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IntervalsPrefix.Builder,IntervalsPrefix>
Builder for
IntervalsPrefix.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal IntervalsPrefix.BuilderAnalyzer used to analyze theprefix.build()Builds aIntervalsPrefix.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IntervalsPrefix.BuilderRequired - Beginning characters of terms you wish to find in the top-level field.final IntervalsPrefix.BuilderAPI name:use_fieldMethods 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<IntervalsPrefix.Builder,IntervalsPrefix> - Returns:
- a new builder instance.
-
analyzer
Analyzer used to analyze theprefix.API name:
analyzer -
prefix
Required - Beginning characters of terms you wish to find in the top-level field.API name:
prefix -
useField
API name:use_field -
build
Builds aIntervalsPrefix.- Specified by:
buildin interfaceObjectBuilder<IntervalsPrefix>- Throws:
NullPointerException- if some of the required fields are null.
-