@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateVocabularyFilterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateVocabularyFilterRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateVocabularyFilterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getVocabularyFilterFileUri()
The Amazon S3 location of a text file used as input to create the vocabulary filter.
|
String |
getVocabularyFilterName()
The name of the vocabulary filter to update.
|
List<String> |
getWords()
The words to use in the vocabulary filter.
|
int |
hashCode() |
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 name of the vocabulary filter to update.
|
void |
setWords(Collection<String> words)
The words to use in the vocabulary filter.
|
String |
toString()
Returns a string representation of this object.
|
UpdateVocabularyFilterRequest |
withVocabularyFilterFileUri(String vocabularyFilterFileUri)
The Amazon S3 location of a text file used as input to create the vocabulary filter.
|
UpdateVocabularyFilterRequest |
withVocabularyFilterName(String vocabularyFilterName)
The name of the vocabulary filter to update.
|
UpdateVocabularyFilterRequest |
withWords(Collection<String> words)
The words to use in the vocabulary filter.
|
UpdateVocabularyFilterRequest |
withWords(String... words)
The words to use in the vocabulary filter.
|
addHandlerContext, 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 name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as
another vocabulary filter, you get a ConflictException error.
vocabularyFilterName - The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name
as another vocabulary filter, you get a ConflictException error.public String getVocabularyFilterName()
The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as
another vocabulary filter, you get a ConflictException error.
ConflictException error.public UpdateVocabularyFilterRequest withVocabularyFilterName(String vocabularyFilterName)
The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as
another vocabulary filter, you get a ConflictException error.
vocabularyFilterName - The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name
as another vocabulary filter, you get a ConflictException error.public 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 UpdateVocabularyFilterRequest 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 UpdateVocabularyFilterRequest 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 UpdateVocabularyFilterRequest 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 UpdateVocabularyFilterRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()