Interface BatchDeleteCustomVocabularyItemResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchDeleteCustomVocabularyItemResponse.Builder,
,BatchDeleteCustomVocabularyItemResponse> LexModelsV2Response.Builder
,SdkBuilder<BatchDeleteCustomVocabularyItemResponse.Builder,
,BatchDeleteCustomVocabularyItemResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDeleteCustomVocabularyItemResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with this custom vocabulary.botVersion
(String botVersion) The identifier of the version of the bot associated with this custom vocabulary.errors
(Collection<FailedCustomVocabularyItem> errors) A list of custom vocabulary items that failed to delete during the operation.errors
(Consumer<FailedCustomVocabularyItem.Builder>... errors) A list of custom vocabulary items that failed to delete during the operation.errors
(FailedCustomVocabularyItem... errors) A list of custom vocabulary items that failed to delete during the operation.The identifier of the language and locale where this custom vocabulary is used.resources
(Collection<CustomVocabularyItem> resources) A list of custom vocabulary items that were successfully deleted during the operation.resources
(Consumer<CustomVocabularyItem.Builder>... resources) A list of custom vocabulary items that were successfully deleted during the operation.resources
(CustomVocabularyItem... resources) A list of custom vocabulary items that were successfully deleted during the operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
botId
The identifier of the bot associated with this custom vocabulary.
- Parameters:
botId
- The identifier of the bot associated with this custom vocabulary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The identifier of the version of the bot associated with this custom vocabulary.
- Parameters:
botVersion
- The identifier of the version of the bot associated with this custom vocabulary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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 viaFailedCustomVocabularyItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<FailedCustomVocabularyItem>)
.- Parameters:
errors
- a consumer that will call methods onFailedCustomVocabularyItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
BatchDeleteCustomVocabularyItemResponse.Builder resources(Collection<CustomVocabularyItem> resources) A list of custom vocabulary items that were successfully deleted during the operation.
- Parameters:
resources
- A list of custom vocabulary items that were successfully deleted during the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of custom vocabulary items that were successfully deleted during the operation.
- Parameters:
resources
- A list of custom vocabulary items that were successfully deleted during the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
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 viaCustomVocabularyItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<CustomVocabularyItem>)
.- Parameters:
resources
- a consumer that will call methods onCustomVocabularyItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-