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, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetBuiltinIntentResponse.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.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #slots(List)
.slots
- a consumer that will call methods on List.Builder
#slots(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.