Class IntervalsAllOf.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsAllOf.Builder
- All Implemented Interfaces:
ObjectBuilder<IntervalsAllOf>
- Enclosing class:
- IntervalsAllOf
public static class IntervalsAllOf.Builder extends java.lang.Object implements ObjectBuilder<IntervalsAllOf>
Builder for
IntervalsAllOf.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IntervalsAllOf.BuilderaddIntervals(Intervals value)Add a value tointervals(List), creating the list if needed.IntervalsAllOf.BuilderaddIntervals(java.util.function.Function<Intervals.Builder,ObjectBuilder<Intervals>> fn)Add a value tointervals(List), creating the list if needed.IntervalsAllOfbuild()Builds aIntervalsAllOf.IntervalsAllOf.Builderfilter(IntervalsFilter value)API name:filterIntervalsAllOf.Builderfilter(java.util.function.Function<IntervalsFilter.Builder,ObjectBuilder<IntervalsFilter>> fn)API name:filterIntervalsAllOf.Builderintervals(Intervals... value)Required - API name:intervalsIntervalsAllOf.Builderintervals(java.util.function.Function<Intervals.Builder,ObjectBuilder<Intervals>> fn)Setintervals(List)to a singleton list.IntervalsAllOf.Builderintervals(java.util.List<Intervals> value)Required - API name:intervalsIntervalsAllOf.BuildermaxGaps(java.lang.Integer value)API name:max_gapsIntervalsAllOf.Builderordered(java.lang.Boolean value)API name:orderedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
intervals
Required - API name:intervals -
intervals
Required - API name:intervals -
addIntervals
Add a value tointervals(List), creating the list if needed. -
intervals
public IntervalsAllOf.Builder intervals(java.util.function.Function<Intervals.Builder,ObjectBuilder<Intervals>> fn)Setintervals(List)to a singleton list. -
addIntervals
public IntervalsAllOf.Builder addIntervals(java.util.function.Function<Intervals.Builder,ObjectBuilder<Intervals>> fn)Add a value tointervals(List), creating the list if needed. -
maxGaps
API name:max_gaps -
ordered
API name:ordered -
filter
API name:filter -
filter
public IntervalsAllOf.Builder filter(java.util.function.Function<IntervalsFilter.Builder,ObjectBuilder<IntervalsFilter>> fn)API name:filter -
build
Builds aIntervalsAllOf.- Specified by:
buildin interfaceObjectBuilder<IntervalsAllOf>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-