public static interface GetBuiltinIntentResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBuiltinIntentResponse.Builder,GetBuiltinIntentResponse>
| Modifier and Type | Method and Description |
|---|---|
GetBuiltinIntentResponse.Builder |
signature(String signature)
The unique identifier for a built-in intent.
|
GetBuiltinIntentResponse.Builder |
slots(BuiltinIntentSlot... slots)
An array of
BuiltinIntentSlot objects, one entry for each slot type in the intent. |
GetBuiltinIntentResponse.Builder |
slots(Collection<BuiltinIntentSlot> slots)
An array of
BuiltinIntentSlot objects, one entry for each slot type in the intent. |
GetBuiltinIntentResponse.Builder |
slots(Consumer<BuiltinIntentSlot.Builder>... slots)
An array of
BuiltinIntentSlot objects, one entry for each slot type in the intent. |
GetBuiltinIntentResponse.Builder |
supportedLocales(Collection<Locale> supportedLocales)
A list of locales that the intent supports.
|
GetBuiltinIntentResponse.Builder |
supportedLocales(Locale... supportedLocales)
A list of locales that the intent supports.
|
GetBuiltinIntentResponse.Builder |
supportedLocalesWithStrings(Collection<String> supportedLocales)
A list of locales that the intent supports.
|
GetBuiltinIntentResponse.Builder |
supportedLocalesWithStrings(String... supportedLocales)
A list of locales that the intent supports.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetBuiltinIntentResponse.Builder signature(String signature)
The unique identifier for a built-in intent.
signature - The unique identifier for a built-in intent.GetBuiltinIntentResponse.Builder supportedLocalesWithStrings(Collection<String> supportedLocales)
A list of locales that the intent supports.
supportedLocales - A list of locales that the intent supports.GetBuiltinIntentResponse.Builder supportedLocalesWithStrings(String... supportedLocales)
A list of locales that the intent supports.
supportedLocales - A list of locales that the intent supports.GetBuiltinIntentResponse.Builder supportedLocales(Collection<Locale> supportedLocales)
A list of locales that the intent supports.
supportedLocales - A list of locales that the intent supports.GetBuiltinIntentResponse.Builder supportedLocales(Locale... supportedLocales)
A list of locales that the intent supports.
supportedLocales - A list of locales that the intent supports.GetBuiltinIntentResponse.Builder slots(Collection<BuiltinIntentSlot> slots)
An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.
slots - An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.GetBuiltinIntentResponse.Builder slots(BuiltinIntentSlot... slots)
An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.
slots - An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.GetBuiltinIntentResponse.Builder slots(Consumer<BuiltinIntentSlot.Builder>... slots)
An array of BuiltinIntentSlot objects, one entry for each slot type in the intent.
BuiltinIntentSlot.Builder avoiding the need to
create one manually via
BuiltinIntentSlot.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #slots(List.
slots - a consumer that will call methods on
BuiltinIntentSlot.Builder#slots(java.util.Collection) Copyright © 2023. All rights reserved.