Class IntervalsWildcard.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.IntervalsWildcard.Builder
- All Implemented Interfaces:
CopyableBuilder<IntervalsWildcard.Builder,,IntervalsWildcard> MutableBuilder<IntervalsWildcard.Builder,,IntervalsWildcard> ObjectBuilder<IntervalsWildcard>
- Enclosing class:
IntervalsWildcard
public static class IntervalsWildcard.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IntervalsWildcard.Builder,IntervalsWildcard>
Builder for
IntervalsWildcard.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAnalyzer used to analyze thepattern.build()Builds aIntervalsWildcard.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - Wildcard pattern used to find matching terms.API 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<IntervalsWildcard.Builder,IntervalsWildcard> - Returns:
- a new builder instance.
-
analyzer
Analyzer used to analyze thepattern. Defaults to the top-level field's analyzer.API name:
analyzer -
pattern
Required - Wildcard pattern used to find matching terms.API name:
pattern -
useField
API name:use_field -
build
Builds aIntervalsWildcard.- Specified by:
buildin interfaceObjectBuilder<IntervalsWildcard>- Throws:
NullPointerException- if some of the required fields are null.
-