Class RolloverResponse

java.lang.Object
co.elastic.clients.elasticsearch.indices.RolloverResponse
All Implemented Interfaces:
AcknowledgedResponse, JsonpSerializable

@JsonpDeserializable
public class RolloverResponse
extends java.lang.Object
implements AcknowledgedResponse, JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static RolloverResponse of​(java.util.function.Function<RolloverResponse.Builder,​ObjectBuilder<RolloverResponse>> fn)
    • acknowledged

      public final boolean acknowledged()
      Required - API name: acknowledged
      Specified by:
      acknowledged in interface AcknowledgedResponse
    • conditions

      public final java.util.Map<java.lang.String,​java.lang.Boolean> conditions()
      Required - API name: conditions
    • dryRun

      public final boolean dryRun()
      Required - API name: dry_run
    • newIndex

      public final java.lang.String newIndex()
      Required - API name: new_index
    • oldIndex

      public final java.lang.String oldIndex()
      Required - API name: old_index
    • rolledOver

      public final boolean rolledOver()
      Required - API name: rolled_over
    • shardsAcknowledged

      public final boolean shardsAcknowledged()
      Required - API name: shards_acknowledged
    • 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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupRolloverResponseDeserializer

      protected static void setupRolloverResponseDeserializer​(ObjectDeserializer<RolloverResponse.Builder> op)