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 Summary
Constructors -
Method Summary
Modifier 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.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backingIndices
Required - Current number of backing indices for the data stream.API name:
backing_indices -
dataStream
Required - Name of the data stream.API name:
data_stream -
maximumTimestamp
Required - 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 -
storeSize
Total size of all shards for the data stream’s backing indices. This parameter is only returned if thehumanquery parameter istrue.API name:
store_size -
storeSizeBytes
Required - Total size, in bytes, of all shards for the data stream’s backing indices.API name:
store_size_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DataStreamsStatsItem.Builder>
-
build
Builds aDataStreamsStatsItem.- Specified by:
buildin interfaceObjectBuilder<DataStreamsStatsItem>- Throws:
NullPointerException- if some of the required fields are null.
-