Class IntervalsAnyOf.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.query_dsl.IntervalsAnyOf.Builder
- All Implemented Interfaces:
CopyableBuilder<IntervalsAnyOf.Builder,,IntervalsAnyOf> MutableBuilder<IntervalsAnyOf.Builder,,IntervalsAnyOf> ObjectBuilder<IntervalsAnyOf>
- Enclosing class:
IntervalsAnyOf
public static class IntervalsAnyOf.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IntervalsAnyOf.Builder,IntervalsAnyOf>
Builder for
IntervalsAnyOf.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIntervalsAnyOf.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IntervalsAnyOf.BuilderAPI name:filterfinal IntervalsAnyOf.Builderfilter(IntervalsFilter value) API name:filterfinal IntervalsAnyOf.BuilderRequired - An array of rules to match.final IntervalsAnyOf.BuilderRequired - An array of rules to match.final IntervalsAnyOf.BuilderRequired - An array of rules to match.Methods 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<IntervalsAnyOf.Builder,IntervalsAnyOf> - Returns:
- a new builder instance.
-
filter
API name:filter -
filter
@Nonnull public final IntervalsAnyOf.Builder filter(Function<IntervalsFilter.Builder, ObjectBuilder<IntervalsFilter>> fn) API name:filter -
intervals
Required - An array of rules to match.API name:
intervalsAdds all elements of
listtointervals. -
intervals
Required - An array of rules to match.API name:
intervalsAdds one or more values to
intervals. -
intervals
@Nonnull public final IntervalsAnyOf.Builder intervals(Function<Intervals.Builder, ObjectBuilder<Intervals>> fn) Required - An array of rules to match.API name:
intervalsAdds a value to
intervalsusing a builder lambda. -
build
Builds aIntervalsAnyOf.- Specified by:
buildin interfaceObjectBuilder<IntervalsAnyOf>- Throws:
NullPointerException- if some of the required fields are null.
-