Interface BatchUpdateCustomVocabularyItemResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<BatchUpdateCustomVocabularyItemResponse.Builder,,BatchUpdateCustomVocabularyItemResponse> LexModelsV2Response.Builder,SdkBuilder<BatchUpdateCustomVocabularyItemResponse.Builder,,BatchUpdateCustomVocabularyItemResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 BatchUpdateCustomVocabularyItemResponse
- 
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 update during the operation.errors(Consumer<FailedCustomVocabularyItem.Builder>... errors) A list of custom vocabulary items that failed to update during the operation.errors(FailedCustomVocabularyItem... errors) A list of custom vocabulary items that failed to update 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 updated during the operation.resources(Consumer<CustomVocabularyItem.Builder>... resources) A list of custom vocabulary items that were successfully updated during the operation.resources(CustomVocabularyItem... resources) A list of custom vocabulary items that were successfully updated during the operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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 .
- 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 .- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
errors
BatchUpdateCustomVocabularyItemResponse.Builder errors(Collection<FailedCustomVocabularyItem> errors) A list of custom vocabulary items that failed to update 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 update 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 update 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 update 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
BatchUpdateCustomVocabularyItemResponse.Builder errors(Consumer<FailedCustomVocabularyItem.Builder>... errors) A list of custom vocabulary items that failed to update 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.Builderavoiding the need to create one manually viaFailedCustomVocabularyItem.builder().When the
Consumercompletes,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
BatchUpdateCustomVocabularyItemResponse.Builder resources(Collection<CustomVocabularyItem> resources) A list of custom vocabulary items that were successfully updated during the operation.
- Parameters:
 resources- A list of custom vocabulary items that were successfully updated 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 updated during the operation.
- Parameters:
 resources- A list of custom vocabulary items that were successfully updated during the operation.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
resources
BatchUpdateCustomVocabularyItemResponse.Builder resources(Consumer<CustomVocabularyItem.Builder>... resources) A list of custom vocabulary items that were successfully updated during the operation.
This is a convenience method that creates an instance of theCustomVocabularyItem.Builderavoiding the need to create one manually viaCustomVocabularyItem.builder().When the
Consumercompletes,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:
 
 
 -