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