Interface ListCustomVocabularyItemsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomVocabularyItemsResponse.Builder,ListCustomVocabularyItemsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListCustomVocabularyItemsResponse.Builder,ListCustomVocabularyItemsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCustomVocabularyItemsResponse
public static interface ListCustomVocabularyItemsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListCustomVocabularyItemsResponse.Builder,ListCustomVocabularyItemsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCustomVocabularyItemsResponse.BuilderbotId(String botId)The identifier of the bot associated with this custom vocabulary.ListCustomVocabularyItemsResponse.BuilderbotVersion(String botVersion)The identifier of the version of the bot associated with this custom vocabulary.ListCustomVocabularyItemsResponse.BuildercustomVocabularyItems(Collection<CustomVocabularyItem> customVocabularyItems)The custom vocabulary items from the list custom vocabulary response.ListCustomVocabularyItemsResponse.BuildercustomVocabularyItems(Consumer<CustomVocabularyItem.Builder>... customVocabularyItems)The custom vocabulary items from the list custom vocabulary response.ListCustomVocabularyItemsResponse.BuildercustomVocabularyItems(CustomVocabularyItem... customVocabularyItems)The custom vocabulary items from the list custom vocabulary response.ListCustomVocabularyItemsResponse.BuilderlocaleId(String localeId)The identifier of the language and locale where this custom vocabulary is used.ListCustomVocabularyItemsResponse.BuildernextToken(String nextToken)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 Detail
-
botId
ListCustomVocabularyItemsResponse.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
ListCustomVocabularyItemsResponse.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
ListCustomVocabularyItemsResponse.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.
-
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.Builderavoiding the need to create one manually viaCustomVocabularyItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customVocabularyItems(List.) - 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:
#customVocabularyItems(java.util.Collection)
-
nextToken
ListCustomVocabularyItemsResponse.Builder nextToken(String 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.
-
-