Class TimeRetentionPolicyConfig
java.lang.Object
org.elasticsearch.client.transform.transforms.TimeRetentionPolicyConfig
- All Implemented Interfaces:
RetentionPolicyConfig
,org.elasticsearch.common.xcontent.ToXContent
,org.elasticsearch.common.xcontent.ToXContentObject
public class TimeRetentionPolicyConfig extends java.lang.Object implements RetentionPolicyConfig
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimeRetentionPolicyConfig.Builder
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAME
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and Type Method Description static TimeRetentionPolicyConfig.Builder
builder()
boolean
equals(java.lang.Object other)
static TimeRetentionPolicyConfig
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
java.lang.String
getField()
org.elasticsearch.common.unit.TimeValue
getMaxAge()
java.lang.String
getName()
Returns the name of the writeable objectint
hashCode()
org.elasticsearch.common.xcontent.XContentBuilder
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
public static final java.lang.String NAME- See Also:
- Constant Field Values
-
-
Method Details
-
fromXContent
public static TimeRetentionPolicyConfig fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) -
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.elasticsearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
getField
public java.lang.String getField() -
getMaxAge
public org.elasticsearch.common.unit.TimeValue getMaxAge() -
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
getName
public java.lang.String getName()Description copied from interface:RetentionPolicyConfig
Returns the name of the writeable object- Specified by:
getName
in interfaceRetentionPolicyConfig
-
builder
-