Package org.opensearch.cluster.metadata
Class AliasAction
java.lang.Object
org.opensearch.cluster.metadata.AliasAction
- Direct Known Subclasses:
AliasAction.Add
,AliasAction.Remove
,AliasAction.RemoveIndex
public abstract class AliasAction
extends java.lang.Object
Individual operation to perform on the cluster state as part of an
IndicesAliasesRequest
.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AliasAction.Add
Operation to add an alias to an index.static interface
AliasAction.NewAliasValidator
Validate a new alias.static class
AliasAction.Remove
Operation to remove an alias from an index.static class
AliasAction.RemoveIndex
Operation to remove an index. -
Method Summary
Modifier and Type Method Description java.lang.String
getIndex()
Get the index on which the operation should act.
-
Method Details
-
getIndex
public java.lang.String getIndex()Get the index on which the operation should act.
-