Class DataStreamsStatsItem.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataStreamsStatsItem.Builder>
co.elastic.clients.elasticsearch.indices.data_streams_stats.DataStreamsStatsItem.Builder
- All Implemented Interfaces:
- WithJson<DataStreamsStatsItem.Builder>,- ObjectBuilder<DataStreamsStatsItem>
- Enclosing class:
- DataStreamsStatsItem
public static class DataStreamsStatsItem.Builder
extends WithJsonObjectBuilderBase<DataStreamsStatsItem.Builder>
implements ObjectBuilder<DataStreamsStatsItem>
Builder for 
DataStreamsStatsItem.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbackingIndices(int value) Required - Current number of backing indices for the data stream.build()Builds aDataStreamsStatsItem.dataStream(String value) Required - Name of the data stream.maximumTimestamp(long value) Required - The data stream’s highest@timestampvalue, converted to milliseconds since the Unix epoch.protected DataStreamsStatsItem.Builderself()Total size of all shards for the data stream’s backing indices.storeSizeBytes(long value) Required - Total size, in bytes, of all shards for the data stream’s backing indices.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
backingIndicesRequired - Current number of backing indices for the data stream.API name: backing_indices
- 
dataStreamRequired - Name of the data stream.API name: data_stream
- 
maximumTimestampRequired - The data stream’s highest@timestampvalue, converted to milliseconds since the Unix epoch. NOTE: This timestamp is provided as a best effort. The data stream may contain@timestampvalues higher than this if one or more of the following conditions are met: The stream contains closed backing indices; Backing indices with a lower generation contain higher@timestampvalues.API name: maximum_timestamp
- 
storeSizeTotal size of all shards for the data stream’s backing indices. This parameter is only returned if thehumanquery parameter istrue.API name: store_size
- 
storeSizeBytesRequired - Total size, in bytes, of all shards for the data stream’s backing indices.API name: store_size_bytes
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<DataStreamsStatsItem.Builder>
 
- 
buildBuilds aDataStreamsStatsItem.- Specified by:
- buildin interface- ObjectBuilder<DataStreamsStatsItem>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-