Interface GetBuiltinIntentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBuiltinIntentResponse.Builder,GetBuiltinIntentResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetBuiltinIntentResponse.Builder,GetBuiltinIntentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBuiltinIntentResponse
public static interface GetBuiltinIntentResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBuiltinIntentResponse.Builder,GetBuiltinIntentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBuiltinIntentResponse.Buildersignature(String signature)The unique identifier for a built-in intent.GetBuiltinIntentResponse.Builderslots(Collection<BuiltinIntentSlot> slots)An array ofBuiltinIntentSlotobjects, one entry for each slot type in the intent.GetBuiltinIntentResponse.Builderslots(Consumer<BuiltinIntentSlot.Builder>... slots)An array ofBuiltinIntentSlotobjects, one entry for each slot type in the intent.GetBuiltinIntentResponse.Builderslots(BuiltinIntentSlot... slots)An array ofBuiltinIntentSlotobjects, one entry for each slot type in the intent.GetBuiltinIntentResponse.BuildersupportedLocales(Collection<Locale> supportedLocales)A list of locales that the intent supports.GetBuiltinIntentResponse.BuildersupportedLocales(Locale... supportedLocales)A list of locales that the intent supports.GetBuiltinIntentResponse.BuildersupportedLocalesWithStrings(String... supportedLocales)A list of locales that the intent supports.GetBuiltinIntentResponse.BuildersupportedLocalesWithStrings(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 Detail
-
signature
GetBuiltinIntentResponse.Builder signature(String 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
GetBuiltinIntentResponse.Builder supportedLocalesWithStrings(Collection<String> 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.
-
supportedLocalesWithStrings
GetBuiltinIntentResponse.Builder supportedLocalesWithStrings(String... 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
GetBuiltinIntentResponse.Builder supportedLocales(Collection<Locale> 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
GetBuiltinIntentResponse.Builder supportedLocales(Locale... 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
GetBuiltinIntentResponse.Builder slots(Collection<BuiltinIntentSlot> slots)
An array of
BuiltinIntentSlotobjects, one entry for each slot type in the intent.- Parameters:
slots- An array ofBuiltinIntentSlotobjects, 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
GetBuiltinIntentResponse.Builder slots(BuiltinIntentSlot... slots)
An array of
BuiltinIntentSlotobjects, one entry for each slot type in the intent.- Parameters:
slots- An array ofBuiltinIntentSlotobjects, 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
GetBuiltinIntentResponse.Builder slots(Consumer<BuiltinIntentSlot.Builder>... slots)
An array of
This is a convenience method that creates an instance of theBuiltinIntentSlotobjects, one entry for each slot type in the intent.BuiltinIntentSlot.Builderavoiding the need to create one manually viaBuiltinIntentSlot.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slots(List.) - 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:
#slots(java.util.Collection)
-
-