Class FieldsUsageBody.AbstractBuilder<BuilderT extends FieldsUsageBody.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.indices.field_usage_stats.FieldsUsageBody.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
FieldUsageStatsResponse.Builder
- Enclosing class:
- FieldsUsageBody
public abstract static class FieldsUsageBody.AbstractBuilder<BuilderT extends FieldsUsageBody.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BuilderTself()final BuilderTshards(ShardStatistics value) Required - API name:_shardsfinal BuilderTRequired - API name:_shardsfinal BuilderTstats(String key, UsageStatsIndex value) Per index statisticsfinal BuilderTPer index statisticsfinal BuilderTstats(Map<String, UsageStatsIndex> map) Per index statisticsMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
stats
Per index statisticsAdds all entries of
maptostats. -
stats
Per index statisticsAdds an entry to
stats. -
stats
public final BuilderT stats(String key, Function<UsageStatsIndex.Builder, ObjectBuilder<UsageStatsIndex>> fn) Per index statisticsAdds an entry to
statsusing a builder lambda. -
shards
Required - API name:_shards -
shards
Required - API name:_shards -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends FieldsUsageBody.AbstractBuilder<BuilderT>>
-