Class IntervalsAllOf.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.IntervalsAllOf.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IntervalsAllOf>
- Enclosing class:
- IntervalsAllOf
public static class IntervalsAllOf.Builder extends ObjectBuilderBase implements ObjectBuilder<IntervalsAllOf>
Builder forIntervalsAllOf.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntervalsAllOfbuild()Builds aIntervalsAllOf.IntervalsAllOf.Builderfilter(java.util.function.Function<IntervalsFilter.Builder,ObjectBuilder<IntervalsFilter>> fn)API name:filterIntervalsAllOf.Builderfilter(IntervalsFilter value)API name:filterIntervalsAllOf.Builderintervals(java.util.function.Function<Intervals.Builder,ObjectBuilder<Intervals>> fn)Required - API name:intervalsIntervalsAllOf.Builderintervals(java.util.List<Intervals> list)Required - API name:intervalsIntervalsAllOf.Builderintervals(Intervals value, Intervals... values)Required - API name:intervalsIntervalsAllOf.BuildermaxGaps(java.lang.Integer value)API name:max_gapsIntervalsAllOf.Builderordered(java.lang.Boolean value)API name:ordered-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
intervals
public final IntervalsAllOf.Builder intervals(java.util.List<Intervals> list)
Required - API name:intervalsAdds all elements of
listtointervals.
-
intervals
public final IntervalsAllOf.Builder intervals(Intervals value, Intervals... values)
Required - API name:intervalsAdds one or more values to
intervals.
-
intervals
public final IntervalsAllOf.Builder intervals(java.util.function.Function<Intervals.Builder,ObjectBuilder<Intervals>> fn)
Required - API name:intervalsAdds a value to
intervalsusing a builder lambda.
-
maxGaps
public final IntervalsAllOf.Builder maxGaps(@Nullable java.lang.Integer value)
API name:max_gaps
-
ordered
public final IntervalsAllOf.Builder ordered(@Nullable java.lang.Boolean value)
API name:ordered
-
filter
public final IntervalsAllOf.Builder filter(@Nullable IntervalsFilter value)
API name:filter
-
filter
public final IntervalsAllOf.Builder filter(java.util.function.Function<IntervalsFilter.Builder,ObjectBuilder<IntervalsFilter>> fn)
API name:filter
-
build
public IntervalsAllOf build()
Builds aIntervalsAllOf.- Specified by:
buildin interfaceObjectBuilder<IntervalsAllOf>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-