Class SearchAlias
java.lang.Object
com.azure.search.documents.indexes.models.SearchAlias
Represents an index alias, which describes a mapping from the alias name to an index. The alias name can be used in
place of the index name for supported operations.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchAlias
(String name, List<String> indexes) Creates an instance of SearchAlias class. -
Method Summary
-
Constructor Details
-
SearchAlias
Creates an instance of SearchAlias class.- Parameters:
name
- the name value to set.indexes
- the indexes value to set.
-
-
Method Details
-
getName
Get the name property: The name of the alias.- Returns:
- the name value.
-
getIndexes
Get the indexes property: The name of the index this alias maps to. Only one index name may be specified.- Returns:
- the indexes value.
-
getETag
Get the eTag property: The ETag of the alias.- Returns:
- the eTag value.
-
setETag
Set the eTag property: The ETag of the alias.- Parameters:
eTag
- the eTag value to set.- Returns:
- the SearchAlias object itself.
-