Class IlmPolicy
java.lang.Object
co.elastic.clients.elasticsearch.ilm.IlmPolicy
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IlmPolicy extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IlmPolicy.Builder
Builder forIlmPolicy
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IlmPolicy>
_DESERIALIZER
Json deserializer forIlmPolicy
-
Method Summary
Modifier and Type Method Description java.lang.String
name()
API name:name
static IlmPolicy
of(java.util.function.Function<IlmPolicy.Builder,ObjectBuilder<IlmPolicy>> fn)
Phases
phases()
Required - API name:phases
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupIlmPolicyDeserializer(ObjectDeserializer<IlmPolicy.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 forIlmPolicy
-
-
Method Details
-
of
public static IlmPolicy of(java.util.function.Function<IlmPolicy.Builder,ObjectBuilder<IlmPolicy>> fn) -
phases
Required - API name:phases
-
name
@Nullable public final java.lang.String name()API name:name
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupIlmPolicyDeserializer
-