Class IntervalsAllOf.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IntervalsAllOf.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsAllOf.Builder
- All Implemented Interfaces:
WithJson<IntervalsAllOf.Builder>,ObjectBuilder<IntervalsAllOf>
- Enclosing class:
- IntervalsAllOf
public static class IntervalsAllOf.Builder
extends WithJsonObjectBuilderBase<IntervalsAllOf.Builder>
implements ObjectBuilder<IntervalsAllOf>
Builder for
IntervalsAllOf.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIntervalsAllOf.final IntervalsAllOf.Builderfilter(IntervalsFilter value) API name:filterfinal IntervalsAllOf.BuilderAPI name:filterfinal IntervalsAllOf.BuilderRequired - API name:intervalsfinal IntervalsAllOf.BuilderRequired - API name:intervalsfinal IntervalsAllOf.BuilderRequired - API name:intervalsfinal IntervalsAllOf.BuilderAPI name:max_gapsfinal IntervalsAllOf.BuilderAPI name:orderedprotected IntervalsAllOf.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
intervals
Required - API name:intervalsAdds all elements of
listtointervals. -
intervals
Required - API name:intervalsAdds one or more values to
intervals. -
intervals
public final IntervalsAllOf.Builder intervals(Function<Intervals.Builder, ObjectBuilder<Intervals>> fn) Required - API name:intervalsAdds a value to
intervalsusing a builder lambda. -
maxGaps
API name:max_gaps -
ordered
API name:ordered -
filter
API name:filter -
filter
public final IntervalsAllOf.Builder filter(Function<IntervalsFilter.Builder, ObjectBuilder<IntervalsFilter>> fn) API name:filter -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IntervalsAllOf.Builder>
-
build
Builds aIntervalsAllOf.- Specified by:
buildin interfaceObjectBuilder<IntervalsAllOf>- Throws:
NullPointerException- if some of the required fields are null.
-