Class AggregationProfileDelegateDebug.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.search.AggregationProfileDelegateDebug.Builder
- All Implemented Interfaces:
CopyableBuilder<AggregationProfileDelegateDebug.Builder,,AggregationProfileDelegateDebug> MutableBuilder<AggregationProfileDelegateDebug.Builder,,AggregationProfileDelegateDebug> ObjectBuilder<AggregationProfileDelegateDebug>
- Enclosing class:
AggregationProfileDelegateDebug
public static class AggregationProfileDelegateDebug.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AggregationProfileDelegateDebug.Builder,AggregationProfileDelegateDebug>
Builder for
AggregationProfileDelegateDebug.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAggregationProfileDelegateDebug.copy()Create a new builderCopyableBuilderthat is a copy of this one.filters(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filtersAPI name:filtersfilters(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filterssegmentsCollected(Integer value) API name:segments_collectedsegmentsCounted(Integer value) API name:segments_countedsegmentsWithDeletedDocs(Integer value) API name:segments_with_deleted_docssegmentsWithDocCountField(Integer value) API name:segments_with_doc_count_fieldMethods 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<AggregationProfileDelegateDebug.Builder,AggregationProfileDelegateDebug> - Returns:
- a new builder instance.
-
filters
@Nonnull public final AggregationProfileDelegateDebug.Builder filters(List<AggregationProfileDelegateDebugFilter> list) API name:filtersAdds all elements of
listtofilters. -
filters
@Nonnull public final AggregationProfileDelegateDebug.Builder filters(AggregationProfileDelegateDebugFilter value, AggregationProfileDelegateDebugFilter... values) API name:filtersAdds one or more values to
filters. -
filters
@Nonnull public final AggregationProfileDelegateDebug.Builder filters(Function<AggregationProfileDelegateDebugFilter.Builder, ObjectBuilder<AggregationProfileDelegateDebugFilter>> fn) API name:filtersAdds a value to
filtersusing a builder lambda. -
segmentsCollected
@Nonnull public final AggregationProfileDelegateDebug.Builder segmentsCollected(@Nullable Integer value) API name:segments_collected -
segmentsCounted
@Nonnull public final AggregationProfileDelegateDebug.Builder segmentsCounted(@Nullable Integer value) API name:segments_counted -
segmentsWithDeletedDocs
@Nonnull public final AggregationProfileDelegateDebug.Builder segmentsWithDeletedDocs(@Nullable Integer value) API name:segments_with_deleted_docs -
segmentsWithDocCountField
@Nonnull public final AggregationProfileDelegateDebug.Builder segmentsWithDocCountField(@Nullable Integer value) API name:segments_with_doc_count_field -
build
Builds aAggregationProfileDelegateDebug.- Specified by:
buildin interfaceObjectBuilder<AggregationProfileDelegateDebug>- Throws:
NullPointerException- if some of the required fields are null.
-