Class AddAction
- java.lang.Object
-
- org.opensearch.client.opensearch.indices.update_aliases.AddAction
-
- All Implemented Interfaces:
JsonpSerializable
,ActionVariant
@JsonpDeserializable public class AddAction extends java.lang.Object implements ActionVariant, JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddAction.Builder
Builder forAddAction
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AddAction>
_DESERIALIZER
Json deserializer forAddAction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Action.Kind
_actionKind()
Action variant kind.java.lang.String
alias()
API name:alias
java.util.List<java.lang.String>
aliases()
API name:aliases
Query
filter()
API name:filter
java.lang.String
index()
API name:index
java.lang.String
indexRouting()
API name:index_routing
java.util.List<java.lang.String>
indices()
API name:indices
java.lang.Boolean
isHidden()
API name:is_hidden
java.lang.Boolean
isWriteIndex()
API name:is_write_index
static AddAction
of(java.util.function.Function<AddAction.Builder,ObjectBuilder<AddAction>> fn)
java.lang.String
routing()
API name:routing
java.lang.String
searchRouting()
API name:search_routing
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
setupAddActionDeserializer(ObjectDeserializer<AddAction.Builder> op)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch.indices.update_aliases.ActionVariant
_toAction
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<AddAction> _DESERIALIZER
Json deserializer forAddAction
-
-
Method Detail
-
of
public static AddAction of(java.util.function.Function<AddAction.Builder,ObjectBuilder<AddAction>> fn)
-
_actionKind
public Action.Kind _actionKind()
Action variant kind.- Specified by:
_actionKind
in interfaceActionVariant
-
alias
@Nullable public final java.lang.String alias()
API name:alias
-
aliases
public final java.util.List<java.lang.String> aliases()
API name:aliases
-
filter
@Nullable public final Query filter()
API name:filter
-
index
@Nullable public final java.lang.String index()
API name:index
-
indices
public final java.util.List<java.lang.String> indices()
API name:indices
-
indexRouting
@Nullable public final java.lang.String indexRouting()
API name:index_routing
-
isHidden
@Nullable public final java.lang.Boolean isHidden()
API name:is_hidden
-
isWriteIndex
@Nullable public final java.lang.Boolean isWriteIndex()
API name:is_write_index
-
routing
@Nullable public final java.lang.String routing()
API name:routing
-
searchRouting
@Nullable public final java.lang.String searchRouting()
API name:search_routing
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupAddActionDeserializer
protected static void setupAddActionDeserializer(ObjectDeserializer<AddAction.Builder> op)
-
-