Class PutLifecycleRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ilm.PutLifecycleRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class PutLifecycleRequest extends RequestBase implements JsonpSerializable
Create or update a lifecycle policy. If the specified policy exists, it is replaced and the policy version is incremented.

NOTE: Only the latest version of the policy is stored, you cannot revert to previous versions.

See Also: