Class GlobalRetention
java.lang.Object
co.elastic.clients.elasticsearch.indices.get_data_lifecycle.GlobalRetention
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GlobalRetention>Json deserializer forGlobalRetention -
Method Summary
Modifier and TypeMethodDescriptionfinal TimeAPI name:default_retentionfinal TimeAPI name:max_retentionstatic GlobalRetentionrebuild()voidserialize(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 forGlobalRetention
-
-
Method Details
-
of
public static GlobalRetention of(Function<GlobalRetention.Builder, ObjectBuilder<GlobalRetention>> fn) -
maxRetention
API name:max_retention -
defaultRetention
API name:default_retention -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
GlobalRetention.Builderinitialized with field values of this instance
-
setupGlobalRetentionDeserializer
protected static void setupGlobalRetentionDeserializer(ObjectDeserializer<GlobalRetention.Builder> op)
-