Class NullRetentionPolicyConfig

java.lang.Object
org.elasticsearch.xpack.core.transform.transforms.NullRetentionPolicyConfig
All Implemented Interfaces:
NamedWriteable, Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject, RetentionPolicyConfig

public class NullRetentionPolicyConfig extends Object implements RetentionPolicyConfig
NullRetentionPolicyConfig is the implementation of RetentionPolicyConfig used when the user explicitly sets the retention_policy to null in the _update request: POST _transform/some-transform/_update { "retention_policy": null } This is treated *differently* than simply omitting retention_policy from the request as it instructs the API to clear existing retention_policy from some-transform.