Class SoftDeletes
java.lang.Object
co.elastic.clients.elasticsearch.indices.SoftDeletes
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SoftDeletes extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoftDeletes.BuilderBuilder forSoftDeletes. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SoftDeletes>_DESERIALIZERJson deserializer forSoftDeletes -
Method Summary
Modifier and Type Method Description booleanenabled()Required - API name:enabledstatic SoftDeletesof(java.util.function.Function<SoftDeletes.Builder,ObjectBuilder<SoftDeletes>> fn)TimeretentionLeasePeriod()API name:retention_lease.periodvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSoftDeletesDeserializer(ObjectDeserializer<SoftDeletes.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSoftDeletes
-
-
Method Details
-
of
public static SoftDeletes of(java.util.function.Function<SoftDeletes.Builder,ObjectBuilder<SoftDeletes>> fn) -
enabled
public final boolean enabled()Required - API name:enabled -
retentionLeasePeriod
API name:retention_lease.period -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSoftDeletesDeserializer
-