Class DataStreamLifecycleEffectiveRetentionStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.xpack.usage.DataStreamLifecycleThresholdStats.AbstractBuilder<DataStreamLifecycleEffectiveRetentionStats.Builder>
co.elastic.clients.elasticsearch.xpack.usage.DataStreamLifecycleEffectiveRetentionStats.Builder
- All Implemented Interfaces:
WithJson<DataStreamLifecycleEffectiveRetentionStats.Builder>,ObjectBuilder<DataStreamLifecycleEffectiveRetentionStats>
- Enclosing class:
- DataStreamLifecycleEffectiveRetentionStats
public static class DataStreamLifecycleEffectiveRetentionStats.Builder
extends DataStreamLifecycleThresholdStats.AbstractBuilder<DataStreamLifecycleEffectiveRetentionStats.Builder>
implements ObjectBuilder<DataStreamLifecycleEffectiveRetentionStats>
Builder for
DataStreamLifecycleEffectiveRetentionStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()retainedDataStreams(long value) Required - The number of data streams for which an effective retention applies.self()Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.DataStreamLifecycleThresholdStats.AbstractBuilder
averageMillis, maximumMillis, minimumMillisMethods 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
-
retainedDataStreams
Required - The number of data streams for which an effective retention applies.API name:
retained_data_streams -
self
- Specified by:
selfin classDataStreamLifecycleThresholdStats.AbstractBuilder<DataStreamLifecycleEffectiveRetentionStats.Builder>
-
build
- Specified by:
buildin interfaceObjectBuilder<DataStreamLifecycleEffectiveRetentionStats>- Throws:
NullPointerException- if some of the required fields are null.
-