public class DefaultVocabulary
extends java.lang.Object
implements java.io.Serializable
Contains information about a default vocabulary.
| Constructor and Description |
|---|
DefaultVocabulary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getLanguageCode()
The language code of the vocabulary entries.
|
java.lang.String |
getVocabularyId()
The identifier of the custom vocabulary.
|
java.lang.String |
getVocabularyName()
A unique name of the custom vocabulary.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
void |
setLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries.
|
void |
setVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
|
void |
setVocabularyName(java.lang.String vocabularyName)
A unique name of the custom vocabulary.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DefaultVocabulary |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
DefaultVocabulary |
withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
DefaultVocabulary |
withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries.
|
DefaultVocabulary |
withVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
|
DefaultVocabulary |
withVocabularyName(java.lang.String vocabularyName)
A unique name of the custom vocabulary.
|
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public DefaultVocabulary withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getLanguageCode()
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
Constraints:
Allowed Values: ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE,
en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP,
ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCodepublic void setLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
Constraints:
Allowed Values: ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE,
en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP,
ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA
languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCodepublic DefaultVocabulary withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE,
en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP,
ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA
languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCodepublic void setLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
Constraints:
Allowed Values: ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE,
en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP,
ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA
languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCodepublic DefaultVocabulary withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE,
en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP,
ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA
languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
VocabularyLanguageCodepublic java.lang.String getVocabularyId()
The identifier of the custom vocabulary.
Constraints:
Length: 1 - 500
The identifier of the custom vocabulary.
public void setVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
Constraints:
Length: 1 - 500
vocabularyId - The identifier of the custom vocabulary.
public DefaultVocabulary withVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
vocabularyId - The identifier of the custom vocabulary.
public java.lang.String getVocabularyName()
A unique name of the custom vocabulary.
Constraints:
Length: 1 - 140
Pattern: ^[0-9a-zA-Z._-]+
A unique name of the custom vocabulary.
public void setVocabularyName(java.lang.String vocabularyName)
A unique name of the custom vocabulary.
Constraints:
Length: 1 - 140
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName - A unique name of the custom vocabulary.
public DefaultVocabulary withVocabularyName(java.lang.String vocabularyName)
A unique name of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName - A unique name of the custom vocabulary.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object