public static interface BatchCreateCustomVocabularyItemResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<BatchCreateCustomVocabularyItemResponse.Builder,BatchCreateCustomVocabularyItemResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchCreateCustomVocabularyItemResponse.Builder |
botId(String botId)
The unique identifier of the bot to batch create response for the custom vocabulary item.
|
BatchCreateCustomVocabularyItemResponse.Builder |
botVersion(String botVersion)
The bot version of the bot to batch create the custom vocabulary item response for.
|
BatchCreateCustomVocabularyItemResponse.Builder |
errors(Collection<FailedCustomVocabularyItem> errors)
The errors of the action to batch create the custom vocabulary item response for a bot.
|
BatchCreateCustomVocabularyItemResponse.Builder |
errors(Consumer<FailedCustomVocabularyItem.Builder>... errors)
The errors of the action to batch create the custom vocabulary item response for a bot.
|
BatchCreateCustomVocabularyItemResponse.Builder |
errors(FailedCustomVocabularyItem... errors)
The errors of the action to batch create the custom vocabulary item response for a bot.
|
BatchCreateCustomVocabularyItemResponse.Builder |
localeId(String localeId)
The unique locale identifier of the bot to batch create the custom vocabulary item response for.
|
BatchCreateCustomVocabularyItemResponse.Builder |
resources(Collection<CustomVocabularyItem> resources)
The resources of the action to batch create the custom vocabulary item response for a bot.
|
BatchCreateCustomVocabularyItemResponse.Builder |
resources(Consumer<CustomVocabularyItem.Builder>... resources)
The resources of the action to batch create the custom vocabulary item response for a bot.
|
BatchCreateCustomVocabularyItemResponse.Builder |
resources(CustomVocabularyItem... resources)
The resources of the action to batch create the custom vocabulary item response for a bot.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchCreateCustomVocabularyItemResponse.Builder botId(String botId)
The unique identifier of the bot to batch create response for the custom vocabulary item.
botId - The unique identifier of the bot to batch create response for the custom vocabulary item.BatchCreateCustomVocabularyItemResponse.Builder botVersion(String botVersion)
The bot version of the bot to batch create the custom vocabulary item response for.
botVersion - The bot version of the bot to batch create the custom vocabulary item response for.BatchCreateCustomVocabularyItemResponse.Builder localeId(String localeId)
The unique locale identifier of the bot to batch create the custom vocabulary item response for.
localeId - The unique locale identifier of the bot to batch create the custom vocabulary item response for.BatchCreateCustomVocabularyItemResponse.Builder errors(Collection<FailedCustomVocabularyItem> errors)
The errors of the action to batch create the custom vocabulary item response for a bot.
errors - The errors of the action to batch create the custom vocabulary item response for a bot.BatchCreateCustomVocabularyItemResponse.Builder errors(FailedCustomVocabularyItem... errors)
The errors of the action to batch create the custom vocabulary item response for a bot.
errors - The errors of the action to batch create the custom vocabulary item response for a bot.BatchCreateCustomVocabularyItemResponse.Builder errors(Consumer<FailedCustomVocabularyItem.Builder>... errors)
The errors of the action to batch create the custom vocabulary item response for a bot.
This is a convenience method that creates an instance of theFailedCustomVocabularyItem.Builder avoiding the
need to create one manually via
FailedCustomVocabularyItem.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
FailedCustomVocabularyItem.Builder#errors(java.util.Collection) BatchCreateCustomVocabularyItemResponse.Builder resources(Collection<CustomVocabularyItem> resources)
The resources of the action to batch create the custom vocabulary item response for a bot.
resources - The resources of the action to batch create the custom vocabulary item response for a bot.BatchCreateCustomVocabularyItemResponse.Builder resources(CustomVocabularyItem... resources)
The resources of the action to batch create the custom vocabulary item response for a bot.
resources - The resources of the action to batch create the custom vocabulary item response for a bot.BatchCreateCustomVocabularyItemResponse.Builder resources(Consumer<CustomVocabularyItem.Builder>... resources)
The resources of the action to batch create the custom vocabulary item response for a bot.
This is a convenience method that creates an instance of theCustomVocabularyItem.Builder avoiding the need to
create one manually via
CustomVocabularyItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #resources(List.
resources - a consumer that will call methods on
CustomVocabularyItem.Builder#resources(java.util.Collection) Copyright © 2022. All rights reserved.