Class AliasAction.Remove
java.lang.Object
org.elasticsearch.cluster.metadata.AliasAction
org.elasticsearch.cluster.metadata.AliasAction.Remove
- Enclosing class:
- AliasAction
public static class AliasAction.Remove extends AliasAction
Operation to remove an alias from an index.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.cluster.metadata.AliasAction
AliasAction.Add, AliasAction.NewAliasValidator, AliasAction.Remove, AliasAction.RemoveIndex
-
Constructor Summary
Constructors Constructor Description Remove(java.lang.String index, java.lang.String alias, java.lang.Boolean mustExist)
Build the operation. -
Method Summary
Modifier and Type Method Description java.lang.String
getAlias()
Alias to remove from the index.Methods inherited from class org.elasticsearch.cluster.metadata.AliasAction
getIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Remove
public Remove(java.lang.String index, java.lang.String alias, @Nullable java.lang.Boolean mustExist)Build the operation.
-
-
Method Details
-
getAlias
public java.lang.String getAlias()Alias to remove from the index.
-