Interface GetBuiltinIntentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBuiltinIntentResponse.Builder,
,GetBuiltinIntentResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetBuiltinIntentResponse.Builder,
,GetBuiltinIntentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBuiltinIntentResponse
@Mutable
@NotThreadSafe
public static interface GetBuiltinIntentResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBuiltinIntentResponse.Builder,GetBuiltinIntentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for a built-in intent.slots
(Collection<BuiltinIntentSlot> slots) An array ofBuiltinIntentSlot
objects, one entry for each slot type in the intent.slots
(Consumer<BuiltinIntentSlot.Builder>... slots) An array ofBuiltinIntentSlot
objects, one entry for each slot type in the intent.slots
(BuiltinIntentSlot... slots) An array ofBuiltinIntentSlot
objects, one entry for each slot type in the intent.supportedLocales
(Collection<Locale> supportedLocales) A list of locales that the intent supports.supportedLocales
(Locale... supportedLocales) A list of locales that the intent supports.supportedLocalesWithStrings
(String... supportedLocales) A list of locales that the intent supports.supportedLocalesWithStrings
(Collection<String> supportedLocales) A list of locales that the intent supports.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
signature
The unique identifier for a built-in intent.
- Parameters:
signature
- The unique identifier for a built-in intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedLocalesWithStrings
A list of locales that the intent supports.
- Parameters:
supportedLocales
- A list of locales that the intent supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedLocalesWithStrings
A list of locales that the intent supports.
- Parameters:
supportedLocales
- A list of locales that the intent supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedLocales
A list of locales that the intent supports.
- Parameters:
supportedLocales
- A list of locales that the intent supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedLocales
A list of locales that the intent supports.
- Parameters:
supportedLocales
- A list of locales that the intent supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slots
An array of
BuiltinIntentSlot
objects, one entry for each slot type in the intent.- Parameters:
slots
- An array ofBuiltinIntentSlot
objects, one entry for each slot type in the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slots
An array of
BuiltinIntentSlot
objects, one entry for each slot type in the intent.- Parameters:
slots
- An array ofBuiltinIntentSlot
objects, one entry for each slot type in the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slots
An array of
This is a convenience method that creates an instance of theBuiltinIntentSlot
objects, one entry for each slot type in the intent.BuiltinIntentSlot.Builder
avoiding the need to create one manually viaBuiltinIntentSlot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslots(List<BuiltinIntentSlot>)
.- Parameters:
slots
- a consumer that will call methods onBuiltinIntentSlot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-