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.BuilderbackingIndicesInError(int value) Required - The count of the backing indices for the data stream.final DataStreamStats.BuilderbackingIndicesInTotal(int value) Required - The count of the backing indices for the data stream that have encountered an error.build()Builds aDataStreamStats.final DataStreamStats.BuilderRequired - The name of the data stream.protected DataStreamStats.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
-
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:
selfin classWithJsonObjectBuilderBase<DataStreamStats.Builder>
-
build
Builds aDataStreamStats.- Specified by:
buildin interfaceObjectBuilder<DataStreamStats>- Throws:
NullPointerException- if some of the required fields are null.
-