Class DataStreamStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataStreamStats.Builder>
co.elastic.clients.elasticsearch.indices.get_data_lifecycle_stats.DataStreamStats.Builder
- All Implemented Interfaces:
WithJson<DataStreamStats.Builder>
,ObjectBuilder<DataStreamStats>
- Enclosing class:
- DataStreamStats
public static class DataStreamStats.Builder
extends WithJsonObjectBuilderBase<DataStreamStats.Builder>
implements ObjectBuilder<DataStreamStats>
Builder for
DataStreamStats
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DataStreamStats.Builder
backingIndicesInError
(int value) Required - The count of the backing indices for the data stream.final DataStreamStats.Builder
backingIndicesInTotal
(int value) Required - The count of the backing indices for the data stream that have encountered an error.build()
Builds aDataStreamStats
.final DataStreamStats.Builder
Required - The name of the data stream.protected DataStreamStats.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backingIndicesInError
Required - The count of the backing indices for the data stream.API name:
backing_indices_in_error
-
backingIndicesInTotal
Required - The count of the backing indices for the data stream that have encountered an error.API name:
backing_indices_in_total
-
name
Required - The name of the data stream.API name:
name
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DataStreamStats.Builder>
-
build
Builds aDataStreamStats
.- Specified by:
build
in interfaceObjectBuilder<DataStreamStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-