public static interface BatchDeleteCustomVocabularyItemResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<BatchDeleteCustomVocabularyItemResponse.Builder,BatchDeleteCustomVocabularyItemResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchDeleteCustomVocabularyItemResponse.Builder |
botId(String botId)
The identifier of the bot associated with this custom vocabulary.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
botVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
errors(Collection<FailedCustomVocabularyItem> errors)
A list of custom vocabulary items that failed to delete during the operation.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
errors(Consumer<FailedCustomVocabularyItem.Builder>... errors)
A list of custom vocabulary items that failed to delete during the operation.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
errors(FailedCustomVocabularyItem... errors)
A list of custom vocabulary items that failed to delete during the operation.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
localeId(String localeId)
The identifier of the language and locale where this custom vocabulary is used.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
resources(Collection<CustomVocabularyItem> resources)
A list of custom vocabulary items that were successfully deleted during the operation.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
resources(Consumer<CustomVocabularyItem.Builder>... resources)
A list of custom vocabulary items that were successfully deleted during the operation.
|
BatchDeleteCustomVocabularyItemResponse.Builder |
resources(CustomVocabularyItem... resources)
A list of custom vocabulary items that were successfully deleted during the operation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchDeleteCustomVocabularyItemResponse.Builder botId(String botId)
The identifier of the bot associated with this custom vocabulary.
botId - The identifier of the bot associated with this custom vocabulary.BatchDeleteCustomVocabularyItemResponse.Builder botVersion(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.BatchDeleteCustomVocabularyItemResponse.Builder localeId(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 (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).
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
(https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).BatchDeleteCustomVocabularyItemResponse.Builder errors(Collection<FailedCustomVocabularyItem> errors)
A list of custom vocabulary items that failed to delete during the operation. The reason for the error is contained within each error object.
errors - A list of custom vocabulary items that failed to delete during the operation. The reason for the error
is contained within each error object.BatchDeleteCustomVocabularyItemResponse.Builder errors(FailedCustomVocabularyItem... errors)
A list of custom vocabulary items that failed to delete during the operation. The reason for the error is contained within each error object.
errors - A list of custom vocabulary items that failed to delete during the operation. The reason for the error
is contained within each error object.BatchDeleteCustomVocabularyItemResponse.Builder errors(Consumer<FailedCustomVocabularyItem.Builder>... errors)
A list of custom vocabulary items that failed to delete during the operation. The reason for the error is contained within each error object.
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) BatchDeleteCustomVocabularyItemResponse.Builder resources(Collection<CustomVocabularyItem> resources)
A list of custom vocabulary items that were successfully deleted during the operation.
resources - A list of custom vocabulary items that were successfully deleted during the operation.BatchDeleteCustomVocabularyItemResponse.Builder resources(CustomVocabularyItem... resources)
A list of custom vocabulary items that were successfully deleted during the operation.
resources - A list of custom vocabulary items that were successfully deleted during the operation.BatchDeleteCustomVocabularyItemResponse.Builder resources(Consumer<CustomVocabularyItem.Builder>... resources)
A list of custom vocabulary items that were successfully deleted during the operation.
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 © 2023. All rights reserved.