Class Actions

java.lang.Object
co.elastic.clients.elasticsearch.ilm.Actions
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • allocate

      @Nullable public final AllocateAction allocate()
      Phases allowed: warm, cold.

      API name: allocate

    • delete

      @Nullable public final DeleteAction delete()
      Phases allowed: delete.

      API name: delete

    • downsample

      @Nullable public final DownsampleAction downsample()
      Phases allowed: hot, warm, cold.

      API name: downsample

    • freeze

      @Deprecated @Nullable public final EmptyObject freeze()
      Deprecated.
      7.0.0
      The freeze action is a noop in 8.x

      API name: freeze

    • forcemerge

      @Nullable public final ForceMergeAction forcemerge()
      Phases allowed: hot, warm.

      API name: forcemerge

    • migrate

      @Nullable public final MigrateAction migrate()
      Phases allowed: warm, cold.

      API name: migrate

    • readonly

      @Nullable public final EmptyObject readonly()
      Phases allowed: hot, warm, cold.

      API name: readonly

    • rollover

      @Nullable public final RolloverAction rollover()
      Phases allowed: hot.

      API name: rollover

    • setPriority

      @Nullable public final SetPriorityAction setPriority()
      Phases allowed: hot, warm, cold.

      API name: set_priority

    • searchableSnapshot

      @Nullable public final SearchableSnapshotAction searchableSnapshot()
      Phases allowed: hot, cold, frozen.

      API name: searchable_snapshot

    • shrink

      @Nullable public final ShrinkAction shrink()
      Phases allowed: hot, warm.

      API name: shrink

    • unfollow

      @Nullable public final EmptyObject unfollow()
      Phases allowed: hot, warm, cold, frozen.

      API name: unfollow

    • waitForSnapshot

      @Nullable public final WaitForSnapshotAction waitForSnapshot()
      Phases allowed: delete.

      API name: wait_for_snapshot

    • 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
    • setupActionsDeserializer

      protected static void setupActionsDeserializer(ObjectDeserializer<Actions.Builder> op)