@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpdateCustomVocabularyItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchUpdateCustomVocabularyItemRequest() |
Modifier and Type | Method and Description |
---|---|
BatchUpdateCustomVocabularyItemRequest |
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<CustomVocabularyItem> |
getCustomVocabularyItemList()
A list of custom vocabulary items with updated fields.
|
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<CustomVocabularyItem> customVocabularyItemList)
A list of custom vocabulary items with updated fields.
|
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.
|
BatchUpdateCustomVocabularyItemRequest |
withBotId(String botId)
The identifier of the bot associated with this custom vocabulary
|
BatchUpdateCustomVocabularyItemRequest |
withBotVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
|
BatchUpdateCustomVocabularyItemRequest |
withCustomVocabularyItemList(Collection<CustomVocabularyItem> customVocabularyItemList)
A list of custom vocabulary items with updated fields.
|
BatchUpdateCustomVocabularyItemRequest |
withCustomVocabularyItemList(CustomVocabularyItem... customVocabularyItemList)
A list of custom vocabulary items with updated fields.
|
BatchUpdateCustomVocabularyItemRequest |
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 BatchUpdateCustomVocabularyItemRequest()
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 vocabularypublic String getBotId()
The identifier of the bot associated with this custom vocabulary
public BatchUpdateCustomVocabularyItemRequest withBotId(String botId)
The identifier of the bot associated with this custom vocabulary
botId
- The identifier of the bot associated with this custom vocabularypublic 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 BatchUpdateCustomVocabularyItemRequest 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 BatchUpdateCustomVocabularyItemRequest 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<CustomVocabularyItem> getCustomVocabularyItemList()
A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
public void setCustomVocabularyItemList(Collection<CustomVocabularyItem> customVocabularyItemList)
A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList
- A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally
contain a displayAs and/or a weight.public BatchUpdateCustomVocabularyItemRequest withCustomVocabularyItemList(CustomVocabularyItem... customVocabularyItemList)
A list of custom vocabulary items with updated fields. 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 custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally
contain a displayAs and/or a weight.public BatchUpdateCustomVocabularyItemRequest withCustomVocabularyItemList(Collection<CustomVocabularyItem> customVocabularyItemList)
A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList
- A list of custom vocabulary items with updated fields. 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 BatchUpdateCustomVocabularyItemRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()