Class GetDataLifecycleStatsResponse

java.lang.Object
co.elastic.clients.elasticsearch.indices.GetDataLifecycleStatsResponse
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class GetDataLifecycleStatsResponse extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • dataStreamCount

      public final int dataStreamCount()
      Required - The count of data streams currently being managed by the data stream lifecycle.

      API name: data_stream_count

    • dataStreams

      public final List<DataStreamStats> dataStreams()
      Required - Information about the data streams that are managed by the data stream lifecycle.

      API name: data_streams

    • lastRunDurationInMillis

      @Nullable public final Long lastRunDurationInMillis()
      The duration of the last data stream lifecycle execution.

      API name: last_run_duration_in_millis

    • timeBetweenStartsInMillis

      @Nullable public final Long timeBetweenStartsInMillis()
      The time that passed between the start of the last two data stream lifecycle executions. This value should amount approximately to data_streams.lifecycle.poll_interval.

      API name: time_between_starts_in_millis

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupGetDataLifecycleStatsResponseDeserializer

      protected static void setupGetDataLifecycleStatsResponseDeserializer(ObjectDeserializer<GetDataLifecycleStatsResponse.Builder> op)