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