Class DataLifecycleWithRollover
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataLifecycleWithRollover
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class DataLifecycleWithRollover
extends Object
implements JsonpSerializable
Data lifecycle with rollover can be used to display the configuration
including the default rollover conditions, if asked.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataLifecycleWithRollover>
Json deserializer forDataLifecycleWithRollover
-
Method Summary
Modifier and TypeMethodDescriptionfinal Time
API name:data_retention
static DataLifecycleWithRollover
final DlmRolloverConditions
rollover()
API name:rollover
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupDataLifecycleWithRolloverDeserializer
(ObjectDeserializer<DataLifecycleWithRollover.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataLifecycleWithRollover
-
-
Method Details
-
of
public static DataLifecycleWithRollover of(Function<DataLifecycleWithRollover.Builder, ObjectBuilder<DataLifecycleWithRollover>> fn) -
dataRetention
API name:data_retention
-
rollover
API name:rollover
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataLifecycleWithRolloverDeserializer
protected static void setupDataLifecycleWithRolloverDeserializer(ObjectDeserializer<DataLifecycleWithRollover.Builder> op)
-