Class TTestAggregation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<TTestAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.TTestAggregation.Builder
- All Implemented Interfaces:
CopyableBuilder<TTestAggregation.Builder,,TTestAggregation> MutableBuilder<TTestAggregation.Builder,,TTestAggregation> ObjectBuilder<TTestAggregation>
- Enclosing class:
TTestAggregation
public static class TTestAggregation.Builder
extends AggregationBase.AbstractBuilder<TTestAggregation.Builder>
implements CopyableBuilder<TTestAggregation.Builder,TTestAggregation>
Builder for
TTestAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal TTestAggregation.BuilderAPI name:afinal TTestAggregation.Buildera(TestPopulation value) API name:afinal TTestAggregation.BuilderAPI name:bfinal TTestAggregation.Builderb(TestPopulation value) API name:bbuild()Builds aTTestAggregation.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected TTestAggregation.Builderself()final TTestAggregation.BuilderAPI name:typeMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, nameMethods 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<TTestAggregation.Builder,TTestAggregation> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<TTestAggregation.Builder>
-
a
API name:a -
a
@Nonnull public final TTestAggregation.Builder a(Function<TestPopulation.Builder, ObjectBuilder<TestPopulation>> fn) API name:a -
b
API name:b -
b
@Nonnull public final TTestAggregation.Builder b(Function<TestPopulation.Builder, ObjectBuilder<TestPopulation>> fn) API name:b -
type
API name:type -
build
Builds aTTestAggregation.- Specified by:
buildin interfaceObjectBuilder<TTestAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-