Interface UserTurnSlotOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserTurnSlotOutput.Builder,,UserTurnSlotOutput> SdkBuilder<UserTurnSlotOutput.Builder,,UserTurnSlotOutput> SdkPojo
- Enclosing class:
UserTurnSlotOutput
@Mutable
@NotThreadSafe
public static interface UserTurnSlotOutput.Builder
extends SdkPojo, CopyableBuilder<UserTurnSlotOutput.Builder,UserTurnSlotOutput>
-
Method Summary
Modifier and TypeMethodDescriptionsubSlots(Map<String, UserTurnSlotOutput> subSlots) A list of items mapping the name of the subslots to information about those subslots.The value output by the slot recognition.values(Collection<UserTurnSlotOutput> values) Values that are output by the slot recognition.values(Consumer<UserTurnSlotOutput.Builder>... values) Values that are output by the slot recognition.values(UserTurnSlotOutput... values) Values that are output by the slot recognition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
value
The value output by the slot recognition.
- Parameters:
value- The value output by the slot recognition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Values that are output by the slot recognition.
- Parameters:
values- Values that are output by the slot recognition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Values that are output by the slot recognition.
- Parameters:
values- Values that are output by the slot recognition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
Values that are output by the slot recognition.
This is a convenience method that creates an instance of theUserTurnSlotOutput.Builderavoiding the need to create one manually viaUserTurnSlotOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalues(List<UserTurnSlotOutput>).- Parameters:
values- a consumer that will call methods onUserTurnSlotOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subSlots
A list of items mapping the name of the subslots to information about those subslots.
- Parameters:
subSlots- A list of items mapping the name of the subslots to information about those subslots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-