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
Modifier and TypeMethodDescriptionThe unique identifier for a built-in intent.slots(Collection<BuiltinIntentSlot> slots) An array ofBuiltinIntentSlotobjects, one entry for each slot type in the intent.slots(Consumer<BuiltinIntentSlot.Builder>... slots) An array ofBuiltinIntentSlotobjects, one entry for each slot type in the intent.slots(BuiltinIntentSlot... slots) An array ofBuiltinIntentSlotobjects, 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
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
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
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
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 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:
-