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