@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVocabularyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateVocabularyRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateVocabularyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language code of the vocabulary entries.
|
List<String> |
getPhrases()
An array of strings that contains the vocabulary entries.
|
String |
getVocabularyName()
The name of the vocabulary.
|
int |
hashCode() |
void |
setLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
void |
setPhrases(Collection<String> phrases)
An array of strings that contains the vocabulary entries.
|
void |
setVocabularyName(String vocabularyName)
The name of the vocabulary.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateVocabularyRequest |
withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyRequest |
withLanguageCode(String languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyRequest |
withPhrases(Collection<String> phrases)
An array of strings that contains the vocabulary entries.
|
CreateVocabularyRequest |
withPhrases(String... phrases)
An array of strings that contains the vocabulary entries.
|
CreateVocabularyRequest |
withVocabularyName(String vocabularyName)
The name of the vocabulary.
|
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 setVocabularyName(String vocabularyName)
The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.
vocabularyName - The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.public String getVocabularyName()
The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.
public CreateVocabularyRequest withVocabularyName(String vocabularyName)
The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.
vocabularyName - The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.public void setLanguageCode(String languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic String getLanguageCode()
The language code of the vocabulary entries.
LanguageCodepublic CreateVocabularyRequest withLanguageCode(String languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic CreateVocabularyRequest withLanguageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
languageCode - The language code of the vocabulary entries.LanguageCodepublic List<String> getPhrases()
An array of strings that contains the vocabulary entries.
public void setPhrases(Collection<String> phrases)
An array of strings that contains the vocabulary entries.
phrases - An array of strings that contains the vocabulary entries.public CreateVocabularyRequest withPhrases(String... phrases)
An array of strings that contains the vocabulary entries.
NOTE: This method appends the values to the existing list (if any). Use
setPhrases(java.util.Collection) or withPhrases(java.util.Collection) if you want to override
the existing values.
phrases - An array of strings that contains the vocabulary entries.public CreateVocabularyRequest withPhrases(Collection<String> phrases)
An array of strings that contains the vocabulary entries.
phrases - An array of strings that contains the vocabulary entries.public String toString()
toString in class ObjectObject.toString()public CreateVocabularyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.