Class RetentionLease
java.lang.Object
co.elastic.clients.elasticsearch.indices.RetentionLease
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RetentionLease>Json deserializer forRetentionLease -
Method Summary
Modifier and TypeMethodDescriptionstatic RetentionLeasefinal Timeperiod()Required - API name:periodvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRetentionLease
-
-
Method Details
-
of
-
period
Required - API name:period -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRetentionLeaseDeserializer
protected static void setupRetentionLeaseDeserializer(ObjectDeserializer<RetentionLease.Builder> op)
-