@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateCustomVocabularyItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchCreateCustomVocabularyItemRequest() |
Modifier and Type | Method and Description |
---|---|
BatchCreateCustomVocabularyItemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot associated with this custom vocabulary.
|
String |
getBotVersion()
The identifier of the version of the bot associated with this custom vocabulary.
|
List<NewCustomVocabularyItem> |
getCustomVocabularyItemList()
A list of new custom vocabulary items.
|
String |
getLocaleId()
The identifier of the language and locale where this custom vocabulary is used.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
|
void |
setBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
|
void |
setCustomVocabularyItemList(Collection<NewCustomVocabularyItem> customVocabularyItemList)
A list of new custom vocabulary items.
|
void |
setLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateCustomVocabularyItemRequest |
withBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
|
BatchCreateCustomVocabularyItemRequest |
withBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
|
BatchCreateCustomVocabularyItemRequest |
withCustomVocabularyItemList(Collection<NewCustomVocabularyItem> customVocabularyItemList)
A list of new custom vocabulary items.
|
BatchCreateCustomVocabularyItemRequest |
withCustomVocabularyItemList(NewCustomVocabularyItem... customVocabularyItemList)
A list of new custom vocabulary items.
|
BatchCreateCustomVocabularyItemRequest |
withLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used.
|
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, withSdkRequestTimeout
public BatchCreateCustomVocabularyItemRequest()
public void setBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
botId
- The identifier of the bot associated with this custom vocabulary.public String getBotId()
The identifier of the bot associated with this custom vocabulary.
public BatchCreateCustomVocabularyItemRequest withBotId(String botId)
The identifier of the bot associated with this custom vocabulary.
botId
- The identifier of the bot associated with this custom vocabulary.public void setBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
botVersion
- The identifier of the version of the bot associated with this custom vocabulary.public String getBotVersion()
The identifier of the version of the bot associated with this custom vocabulary.
public BatchCreateCustomVocabularyItemRequest withBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
botVersion
- The identifier of the version of the bot associated with this custom vocabulary.public void setLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
localeId
- The identifier of the language and locale where this custom vocabulary is used. The string must match one
of the supported locales. For more information, see Supported Languages .public String getLocaleId()
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
public BatchCreateCustomVocabularyItemRequest withLocaleId(String localeId)
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
localeId
- The identifier of the language and locale where this custom vocabulary is used. The string must match one
of the supported locales. For more information, see Supported Languages .public List<NewCustomVocabularyItem> getCustomVocabularyItemList()
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
public void setCustomVocabularyItemList(Collection<NewCustomVocabularyItem> customVocabularyItemList)
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList
- A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a
displayAs and/or a weight.public BatchCreateCustomVocabularyItemRequest withCustomVocabularyItemList(NewCustomVocabularyItem... customVocabularyItemList)
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
NOTE: This method appends the values to the existing list (if any). Use
setCustomVocabularyItemList(java.util.Collection)
or
withCustomVocabularyItemList(java.util.Collection)
if you want to override the existing values.
customVocabularyItemList
- A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a
displayAs and/or a weight.public BatchCreateCustomVocabularyItemRequest withCustomVocabularyItemList(Collection<NewCustomVocabularyItem> customVocabularyItemList)
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList
- A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a
displayAs and/or a weight.public String toString()
toString
in class Object
Object.toString()
public BatchCreateCustomVocabularyItemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()