Class RemoveIndexAction
java.lang.Object
co.elastic.clients.elasticsearch.indices.update_aliases.RemoveIndexAction
- All Implemented Interfaces:
ActionVariant,JsonpSerializable
@JsonpDeserializable public class RemoveIndexAction extends java.lang.Object implements ActionVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRemoveIndexAction.BuilderBuilder forRemoveIndexAction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RemoveIndexAction>_DESERIALIZERJson deserializer forRemoveIndexAction -
Method Summary
Modifier and Type Method Description Action.Kind_actionKind()Action variant kind.java.lang.Stringindex()API name:indexjava.util.List<java.lang.String>indices()API name:indicesjava.lang.BooleanmustExist()API name:must_existstatic RemoveIndexActionof(java.util.function.Function<RemoveIndexAction.Builder,ObjectBuilder<RemoveIndexAction>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupRemoveIndexActionDeserializer(ObjectDeserializer<RemoveIndexAction.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.indices.update_aliases.ActionVariant
_toAction
-
Field Details
-
_DESERIALIZER
Json deserializer forRemoveIndexAction
-
-
Method Details
-
of
public static RemoveIndexAction of(java.util.function.Function<RemoveIndexAction.Builder,ObjectBuilder<RemoveIndexAction>> fn) -
_actionKind
Action variant kind.- Specified by:
_actionKindin interfaceActionVariant
-
index
@Nullable public final java.lang.String index()API name:index -
indices
public final java.util.List<java.lang.String> indices()API name:indices -
mustExist
@Nullable public final java.lang.Boolean mustExist()API name:must_exist -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupRemoveIndexActionDeserializer
protected static void setupRemoveIndexActionDeserializer(ObjectDeserializer<RemoveIndexAction.Builder> op)
-