Interface ListCustomVocabularyItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCustomVocabularyItemsResponse.Builder,
,ListCustomVocabularyItemsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListCustomVocabularyItemsResponse.Builder,
,ListCustomVocabularyItemsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCustomVocabularyItemsResponse
-
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.customVocabularyItems
(Collection<CustomVocabularyItem> customVocabularyItems) The custom vocabulary items from the list custom vocabulary response.customVocabularyItems
(Consumer<CustomVocabularyItem.Builder>... customVocabularyItems) The custom vocabulary items from the list custom vocabulary response.customVocabularyItems
(CustomVocabularyItem... customVocabularyItems) The custom vocabulary items from the list custom vocabulary response.The identifier of the language and locale where this custom vocabulary is used.The nextToken identifier to the list custom vocabulary response.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 .
- 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.
-
customVocabularyItems
ListCustomVocabularyItemsResponse.Builder customVocabularyItems(Collection<CustomVocabularyItem> customVocabularyItems) The custom vocabulary items from the list custom vocabulary response.
- Parameters:
customVocabularyItems
- The custom vocabulary items from the list custom vocabulary response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customVocabularyItems
ListCustomVocabularyItemsResponse.Builder customVocabularyItems(CustomVocabularyItem... customVocabularyItems) The custom vocabulary items from the list custom vocabulary response.
- Parameters:
customVocabularyItems
- The custom vocabulary items from the list custom vocabulary response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customVocabularyItems
ListCustomVocabularyItemsResponse.Builder customVocabularyItems(Consumer<CustomVocabularyItem.Builder>... customVocabularyItems) The custom vocabulary items from the list custom vocabulary response.
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 tocustomVocabularyItems(List<CustomVocabularyItem>)
.- Parameters:
customVocabularyItems
- 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:
-
nextToken
The nextToken identifier to the list custom vocabulary response.
- Parameters:
nextToken
- The nextToken identifier to the list custom vocabulary response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-