public class SearchVocabulariesRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Searches for vocabularies within a specific Amazon Connect instance using
State, NameStartsWith, and
LanguageCode.
| Constructor and Description |
|---|
SearchVocabulariesRequest() |
| 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.Integer |
getMaxResults()
The maximum number of results to return per page.
|
java.lang.String |
getNameStartsWith()
The starting pattern of the name of the vocabulary.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.lang.String |
getState()
The current state 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 |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
void |
setNameStartsWith(java.lang.String nameStartsWith)
The starting pattern of the name of the vocabulary.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setState(java.lang.String state)
The current state of the custom vocabulary.
|
void |
setState(VocabularyState state)
The current state of the custom vocabulary.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchVocabulariesRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
SearchVocabulariesRequest |
withLanguageCode(java.lang.String languageCode)
The language code of the vocabulary entries.
|
SearchVocabulariesRequest |
withLanguageCode(VocabularyLanguageCode languageCode)
The language code of the vocabulary entries.
|
SearchVocabulariesRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
SearchVocabulariesRequest |
withNameStartsWith(java.lang.String nameStartsWith)
The starting pattern of the name of the vocabulary.
|
SearchVocabulariesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
SearchVocabulariesRequest |
withState(java.lang.String state)
The current state of the custom vocabulary.
|
SearchVocabulariesRequest |
withState(VocabularyState state)
The current state 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 SearchVocabulariesRequest 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.Integer getMaxResults()
The maximum number of results to return per page.
Constraints:
Range: 1 - 100
The maximum number of results to return per page.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
public SearchVocabulariesRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
public java.lang.String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Constraints:
Length: 1 - 131070
Pattern: .*\S.*
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Constraints:
Length: 1 - 131070
Pattern: .*\S.*
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public SearchVocabulariesRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 131070
Pattern: .*\S.*
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public java.lang.String getState()
The current state of the custom vocabulary.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
The current state of the custom vocabulary.
VocabularyStatepublic void setState(java.lang.String state)
The current state of the custom vocabulary.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic SearchVocabulariesRequest withState(java.lang.String state)
The current state of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic void setState(VocabularyState state)
The current state of the custom vocabulary.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic SearchVocabulariesRequest withState(VocabularyState state)
The current state of the custom vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED,
DELETE_IN_PROGRESS
state - The current state of the custom vocabulary.
VocabularyStatepublic java.lang.String getNameStartsWith()
The starting pattern of the name of the vocabulary.
Constraints:
Length: 1 - 140
Pattern: ^[0-9a-zA-Z._-]+
The starting pattern of the name of the vocabulary.
public void setNameStartsWith(java.lang.String nameStartsWith)
The starting pattern of the name of the vocabulary.
Constraints:
Length: 1 - 140
Pattern: ^[0-9a-zA-Z._-]+
nameStartsWith - The starting pattern of the name of the vocabulary.
public SearchVocabulariesRequest withNameStartsWith(java.lang.String nameStartsWith)
The starting pattern of the name of the vocabulary.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 140
Pattern: ^[0-9a-zA-Z._-]+
nameStartsWith - The starting pattern of the name of the vocabulary.
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 SearchVocabulariesRequest 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 SearchVocabulariesRequest 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 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