Interface BatchUpdateCustomVocabularyItemResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchUpdateCustomVocabularyItemResponse.Builder,BatchUpdateCustomVocabularyItemResponse>,LexModelsV2Response.Builder,SdkBuilder<BatchUpdateCustomVocabularyItemResponse.Builder,BatchUpdateCustomVocabularyItemResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchUpdateCustomVocabularyItemResponse
public static interface BatchUpdateCustomVocabularyItemResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<BatchUpdateCustomVocabularyItemResponse.Builder,BatchUpdateCustomVocabularyItemResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchUpdateCustomVocabularyItemResponse.BuilderbotId(String botId)The identifier of the bot associated with this custom vocabulary.BatchUpdateCustomVocabularyItemResponse.BuilderbotVersion(String botVersion)The identifier of the version of the bot associated with this custom vocabulary.BatchUpdateCustomVocabularyItemResponse.Buildererrors(Collection<FailedCustomVocabularyItem> errors)A list of custom vocabulary items that failed to update during the operation.BatchUpdateCustomVocabularyItemResponse.Buildererrors(Consumer<FailedCustomVocabularyItem.Builder>... errors)A list of custom vocabulary items that failed to update during the operation.BatchUpdateCustomVocabularyItemResponse.Buildererrors(FailedCustomVocabularyItem... errors)A list of custom vocabulary items that failed to update during the operation.BatchUpdateCustomVocabularyItemResponse.BuilderlocaleId(String localeId)The identifier of the language and locale where this custom vocabulary is used.BatchUpdateCustomVocabularyItemResponse.Builderresources(Collection<CustomVocabularyItem> resources)A list of custom vocabulary items that were successfully updated during the operation.BatchUpdateCustomVocabularyItemResponse.Builderresources(Consumer<CustomVocabularyItem.Builder>... resources)A list of custom vocabulary items that were successfully updated during the operation.BatchUpdateCustomVocabularyItemResponse.Builderresources(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
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 Detail
-
botId
BatchUpdateCustomVocabularyItemResponse.Builder botId(String 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
BatchUpdateCustomVocabularyItemResponse.Builder botVersion(String 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
BatchUpdateCustomVocabularyItemResponse.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 .
- 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
BatchUpdateCustomVocabularyItemResponse.Builder errors(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
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 to#errors(List.) - 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:
#errors(java.util.Collection)
-
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
BatchUpdateCustomVocabularyItemResponse.Builder resources(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
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 to#resources(List.) - 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:
#resources(java.util.Collection)
-
-