public class AssociateDefaultVocabularyRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language.
| Constructor and Description |
|---|
AssociateDefaultVocabularyRequest() |
| 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.
|
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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateDefaultVocabularyRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
AssociateDefaultVocabularyRequest |
withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
AssociateDefaultVocabularyRequest |
withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries.
|
AssociateDefaultVocabularyRequest |
withVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 AssociateDefaultVocabularyRequest 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 AssociateDefaultVocabularyRequest 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 AssociateDefaultVocabularyRequest 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. If this is empty, the default is set to none.
Constraints:
Length: 1 - 500
The identifier of the custom vocabulary. If this is empty, the default is set to none.
public void setVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary. If this is empty, the default is set to none.
Constraints:
Length: 1 - 500
vocabularyId - The identifier of the custom vocabulary. If this is empty, the default is set to none.
public AssociateDefaultVocabularyRequest withVocabularyId(java.lang.String vocabularyId)
The identifier of the custom vocabulary. If this is empty, the default is set to none.
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. If this is empty, the default is set to none.
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