Class FrequentItemSetsField.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FrequentItemSetsField.Builder>
co.elastic.clients.elasticsearch._types.aggregations.FrequentItemSetsField.Builder
- All Implemented Interfaces:
WithJson<FrequentItemSetsField.Builder>,ObjectBuilder<FrequentItemSetsField>
- Enclosing class:
- FrequentItemSetsField
public static class FrequentItemSetsField.Builder
extends WithJsonObjectBuilderBase<FrequentItemSetsField.Builder>
implements ObjectBuilder<FrequentItemSetsField>
Builder for
FrequentItemSetsField.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFrequentItemSetsField.exclude(TermsExclude value) Values to exclude.Values to exclude.Required - API name:fieldinclude(TermsInclude value) Values to include.Values to include.protected FrequentItemSetsField.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
Required - API name:field -
exclude
Values to exclude. Can be regular expression strings or arrays of strings of exact terms.API name:
exclude -
exclude
public final FrequentItemSetsField.Builder exclude(Function<TermsExclude.Builder, ObjectBuilder<TermsExclude>> fn) Values to exclude. Can be regular expression strings or arrays of strings of exact terms.API name:
exclude -
include
Values to include. Can be regular expression strings or arrays of strings of exact terms.API name:
include -
include
public final FrequentItemSetsField.Builder include(Function<TermsInclude.Builder, ObjectBuilder<TermsInclude>> fn) Values to include. Can be regular expression strings or arrays of strings of exact terms.API name:
include -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FrequentItemSetsField.Builder>
-
build
Builds aFrequentItemSetsField.- Specified by:
buildin interfaceObjectBuilder<FrequentItemSetsField>- Throws:
NullPointerException- if some of the required fields are null.
-