@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVocabularyFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateVocabularyFilterRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateVocabularyFilterRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language code of the words in the vocabulary filter.
|
String |
getVocabularyFilterFileUri()
The Amazon S3 location of a text file used as input to create the vocabulary filter.
|
String |
getVocabularyFilterName()
The vocabulary filter name.
|
List<String> |
getWords()
The words to use in the vocabulary filter.
|
int |
hashCode() |
void |
setLanguageCode(String languageCode)
The language code of the words in the vocabulary filter.
|
void |
setVocabularyFilterFileUri(String vocabularyFilterFileUri)
The Amazon S3 location of a text file used as input to create the vocabulary filter.
|
void |
setVocabularyFilterName(String vocabularyFilterName)
The vocabulary filter name.
|
void |
setWords(Collection<String> words)
The words to use in the vocabulary filter.
|
String |
toString()
Returns a string representation of this object.
|
CreateVocabularyFilterRequest |
withLanguageCode(LanguageCode languageCode)
The language code of the words in the vocabulary filter.
|
CreateVocabularyFilterRequest |
withLanguageCode(String languageCode)
The language code of the words in the vocabulary filter.
|
CreateVocabularyFilterRequest |
withVocabularyFilterFileUri(String vocabularyFilterFileUri)
The Amazon S3 location of a text file used as input to create the vocabulary filter.
|
CreateVocabularyFilterRequest |
withVocabularyFilterName(String vocabularyFilterName)
The vocabulary filter name.
|
CreateVocabularyFilterRequest |
withWords(Collection<String> words)
The words to use in the vocabulary filter.
|
CreateVocabularyFilterRequest |
withWords(String... words)
The words to use in the vocabulary filter.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setVocabularyFilterName(String vocabularyFilterName)
The vocabulary filter name. The name must be unique within the account that contains it.
vocabularyFilterName - The vocabulary filter name. The name must be unique within the account that contains it.public String getVocabularyFilterName()
The vocabulary filter name. The name must be unique within the account that contains it.
public CreateVocabularyFilterRequest withVocabularyFilterName(String vocabularyFilterName)
The vocabulary filter name. The name must be unique within the account that contains it.
vocabularyFilterName - The vocabulary filter name. The name must be unique within the account that contains it.public void setLanguageCode(String languageCode)
The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.
languageCode - The language code of the words in the vocabulary filter. All words in the filter must be in the same
language. The vocabulary filter can only be used with transcription jobs in the specified language.LanguageCodepublic String getLanguageCode()
The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.
LanguageCodepublic CreateVocabularyFilterRequest withLanguageCode(String languageCode)
The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.
languageCode - The language code of the words in the vocabulary filter. All words in the filter must be in the same
language. The vocabulary filter can only be used with transcription jobs in the specified language.LanguageCodepublic CreateVocabularyFilterRequest withLanguageCode(LanguageCode languageCode)
The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.
languageCode - The language code of the words in the vocabulary filter. All words in the filter must be in the same
language. The vocabulary filter can only be used with transcription jobs in the specified language.LanguageCodepublic List<String> getWords()
The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
public void setWords(Collection<String> words)
The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
words - The words to use in the vocabulary filter. Only use characters from the character set defined for custom
vocabularies. For a list of character sets, see Character Sets for
Custom Vocabularies.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
public CreateVocabularyFilterRequest withWords(String... words)
The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
NOTE: This method appends the values to the existing list (if any). Use
setWords(java.util.Collection) or withWords(java.util.Collection) if you want to override the
existing values.
words - The words to use in the vocabulary filter. Only use characters from the character set defined for custom
vocabularies. For a list of character sets, see Character Sets for
Custom Vocabularies.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
public CreateVocabularyFilterRequest withWords(Collection<String> words)
The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
words - The words to use in the vocabulary filter. Only use characters from the character set defined for custom
vocabularies. For a list of character sets, see Character Sets for
Custom Vocabularies.
If you provide a list of words in the Words parameter, you can't use the
VocabularyFilterFileUri parameter.
public void setVocabularyFilterFileUri(String vocabularyFilterFileUri)
The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't
use the Words parameter.
vocabularyFilterFileUri - The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters
from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for
Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you
can't use the Words parameter.
public String getVocabularyFilterFileUri()
The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't
use the Words parameter.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you
can't use the Words parameter.
public CreateVocabularyFilterRequest withVocabularyFilterFileUri(String vocabularyFilterFileUri)
The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't
use the Words parameter.
vocabularyFilterFileUri - The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters
from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for
Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you
can't use the Words parameter.
public String toString()
toString in class ObjectObject.toString()public CreateVocabularyFilterRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.