public final class SynonymMap extends Object
| Constructor and Description |
|---|
SynonymMap(String name)
Constructor of
SynonymMap. |
SynonymMap(String name,
String synonyms)
Constructor of
SynonymMap. |
| Modifier and Type | Method and Description |
|---|---|
SearchResourceEncryptionKey |
getEncryptionKey()
Get the encryptionKey property: A description of an encryption key that
you create in Azure Key Vault.
|
String |
getETag()
Get the eTag property: The ETag of the synonym map.
|
String |
getName()
Get the name property: The name of the synonym map.
|
String |
getSynonyms()
Get the synonyms property: A series of synonym rules in the specified
synonym map format.
|
SynonymMap |
setEncryptionKey(SearchResourceEncryptionKey encryptionKey)
Set the encryptionKey property: A description of an encryption key that
you create in Azure Key Vault.
|
SynonymMap |
setETag(String eTag)
Set the eTag property: The ETag of the synonym map.
|
SynonymMap |
setSynonyms(String synonyms)
Set the synonyms property: A series of synonym rules in the specified
synonym map format.
|
public SynonymMap(String name)
SynonymMap.name - The name of the synonym map.public SynonymMap(String name, String synonyms)
SynonymMap.name - The name of the synonym map.synonyms - A series of synonym rules in the specified synonym map format. The rules
must be separated by newlines.public String getName()
public String getSynonyms()
public SynonymMap setSynonyms(String synonyms)
synonyms - the synonyms value to set.public SearchResourceEncryptionKey getEncryptionKey()
public SynonymMap setEncryptionKey(SearchResourceEncryptionKey encryptionKey)
encryptionKey - the encryptionKey value to set.public String getETag()
public SynonymMap setETag(String eTag)
eTag - the eTag value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.