Class RateAggregation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder<RateAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase.AbstractBuilder<RateAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.RateAggregation.Builder
- All Implemented Interfaces:
CopyableBuilder<RateAggregation.Builder,,RateAggregation> MutableBuilder<RateAggregation.Builder,,RateAggregation> ObjectBuilder<RateAggregation>
- Enclosing class:
RateAggregation
public static class RateAggregation.Builder
extends FormatMetricAggregationBase.AbstractBuilder<RateAggregation.Builder>
implements CopyableBuilder<RateAggregation.Builder,RateAggregation>
Builder for
RateAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRateAggregation.copy()Create a new builderCopyableBuilderthat is a copy of this one.final RateAggregation.BuilderAPI name:modeprotected RateAggregation.Builderself()final RateAggregation.Builderunit(CalendarInterval value) API name:unitMethods inherited from class org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase.AbstractBuilder
formatMethods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, script, scriptMethods 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<RateAggregation.Builder,RateAggregation> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classMetricAggregationBase.AbstractBuilder<RateAggregation.Builder>
-
mode
API name:mode -
unit
API name:unit -
build
Builds aRateAggregation.- Specified by:
buildin interfaceObjectBuilder<RateAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-