public class VocabularyFilterInfo
extends java.lang.Object
implements java.io.Serializable
Provides information about a vocabulary filter.
Constructor and Description |
---|
VocabularyFilterInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLanguageCode()
The language code of the words in the vocabulary filter.
|
java.util.Date |
getLastModifiedTime()
The date and time that the vocabulary was last updated.
|
java.lang.String |
getVocabularyFilterName()
The name of the vocabulary filter.
|
int |
hashCode() |
void |
setLanguageCode(LanguageCode languageCode)
The language code of the words in the vocabulary filter.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code of the words in the vocabulary filter.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last updated.
|
void |
setVocabularyFilterName(java.lang.String vocabularyFilterName)
The name of the vocabulary filter.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VocabularyFilterInfo |
withLanguageCode(LanguageCode languageCode)
The language code of the words in the vocabulary filter.
|
VocabularyFilterInfo |
withLanguageCode(java.lang.String languageCode)
The language code of the words in the vocabulary filter.
|
VocabularyFilterInfo |
withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last updated.
|
VocabularyFilterInfo |
withVocabularyFilterName(java.lang.String vocabularyFilterName)
The name of the vocabulary filter.
|
public java.lang.String getVocabularyFilterName()
The name of the vocabulary filter. The name must be unique in the account that holds the filter.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the vocabulary filter. The name must be unique in the account that holds the filter.
public void setVocabularyFilterName(java.lang.String vocabularyFilterName)
The name of the vocabulary filter. The name must be unique in the account that holds the filter.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyFilterName
- The name of the vocabulary filter. The name must be unique in the account that holds the filter.
public VocabularyFilterInfo withVocabularyFilterName(java.lang.String vocabularyFilterName)
The name of the vocabulary filter. The name must be unique in the account that holds the filter.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyFilterName
- The name of the vocabulary filter. The name must be unique in the account that holds the filter.
public java.lang.String getLanguageCode()
The language code of the words in the vocabulary filter.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
The language code of the words in the vocabulary filter.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code of the words in the vocabulary filter.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the words in the vocabulary filter.
LanguageCode
public VocabularyFilterInfo withLanguageCode(java.lang.String languageCode)
The language code of the words in the vocabulary filter.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the words in the vocabulary filter.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language code of the words in the vocabulary filter.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the words in the vocabulary filter.
LanguageCode
public VocabularyFilterInfo withLanguageCode(LanguageCode languageCode)
The language code of the words in the vocabulary filter.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE,
en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR,
fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR,
ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
languageCode
- The language code of the words in the vocabulary filter.
LanguageCode
public java.util.Date getLastModifiedTime()
The date and time that the vocabulary was last updated.
The date and time that the vocabulary was last updated.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last updated.
lastModifiedTime
- The date and time that the vocabulary was last updated.
public VocabularyFilterInfo withLastModifiedTime(java.util.Date lastModifiedTime)
The date and time that the vocabulary was last updated.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime
- The date and time that the vocabulary was last updated.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.