Class LifecycleExplain
java.lang.Object
co.elastic.clients.elasticsearch.ilm.explain_lifecycle.LifecycleExplain
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<JsonpSerializable>
@JsonpDeserializable public class LifecycleExplain extends java.lang.Object implements TaggedUnion<JsonpSerializable>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLifecycleExplain.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<LifecycleExplain>_DESERIALIZERstatic java.lang.StringFALSEstatic java.lang.StringTRUE -
Constructor Summary
Constructors Constructor Description LifecycleExplain(LifecycleExplainVariant value)LifecycleExplain(java.util.function.Function<LifecycleExplain.Builder,LifecycleExplain.Builder> fn) -
Method Summary
Modifier and Type Method Description JsonpSerializable_get()java.lang.String_type()Get the of the type of the variant held by this union object.LifecycleExplainUnmanagedfalse_()Get thefalsevariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupLifecycleExplainDeserializer(DelegatingDeserializer<LifecycleExplain.Builder> op)LifecycleExplainManagedtrue_()Get thetruevariant value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.util.TaggedUnion
_is
-
Field Details
-
TRUE
public static final java.lang.String TRUE- See Also:
- Constant Field Values
-
FALSE
public static final java.lang.String FALSE- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
LifecycleExplain
-
LifecycleExplain
public LifecycleExplain(java.util.function.Function<LifecycleExplain.Builder,LifecycleExplain.Builder> fn)
-
-
Method Details
-
_type
public java.lang.String _type()Description copied from interface:TaggedUnionGet the of the type of the variant held by this union object.- Specified by:
_typein interfaceTaggedUnion<JsonpSerializable>- Returns:
- the variant type
-
_get
- Specified by:
_getin interfaceTaggedUnion<JsonpSerializable>
-
true_
Get thetruevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetruekind.
-
false_
Get thefalsevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefalsekind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupLifecycleExplainDeserializer
protected static void setupLifecycleExplainDeserializer(DelegatingDeserializer<LifecycleExplain.Builder> op)
-