Class SimpleValueAggregate.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<SimpleValueAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase.AbstractBuilder<SimpleValueAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.SimpleValueAggregate.Builder
- All Implemented Interfaces:
CopyableBuilder<SimpleValueAggregate.Builder,,SimpleValueAggregate> MutableBuilder<SimpleValueAggregate.Builder,,SimpleValueAggregate> ObjectBuilder<SimpleValueAggregate>
- Enclosing class:
SimpleValueAggregate
public static class SimpleValueAggregate.Builder
extends SingleMetricAggregateBase.AbstractBuilder<SimpleValueAggregate.Builder>
implements CopyableBuilder<SimpleValueAggregate.Builder,SimpleValueAggregate>
Builder for
SimpleValueAggregate.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSimpleValueAggregate.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected SimpleValueAggregate.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase.AbstractBuilder
value, valueAsStringMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, metaMethods 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<SimpleValueAggregate.Builder,SimpleValueAggregate> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregateBase.AbstractBuilder<SimpleValueAggregate.Builder>
-
build
Builds aSimpleValueAggregate.- Specified by:
buildin interfaceObjectBuilder<SimpleValueAggregate>- Throws:
NullPointerException- if some of the required fields are null.
-