Interface UserTurnSlotOutput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserTurnSlotOutput.Builder,UserTurnSlotOutput>,SdkBuilder<UserTurnSlotOutput.Builder,UserTurnSlotOutput>,SdkPojo
- Enclosing class:
- UserTurnSlotOutput
public static interface UserTurnSlotOutput.Builder extends SdkPojo, CopyableBuilder<UserTurnSlotOutput.Builder,UserTurnSlotOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserTurnSlotOutput.BuildersubSlots(Map<String,UserTurnSlotOutput> subSlots)A list of items mapping the name of the subslots to information about those subslots.UserTurnSlotOutput.Buildervalue(String value)The value output by the slot recognition.UserTurnSlotOutput.Buildervalues(Collection<UserTurnSlotOutput> values)Values that are output by the slot recognition.UserTurnSlotOutput.Buildervalues(Consumer<UserTurnSlotOutput.Builder>... values)Values that are output by the slot recognition.UserTurnSlotOutput.Buildervalues(UserTurnSlotOutput... values)Values that are output by the slot recognition.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
value
UserTurnSlotOutput.Builder value(String 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
UserTurnSlotOutput.Builder values(Collection<UserTurnSlotOutput> 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
UserTurnSlotOutput.Builder values(UserTurnSlotOutput... 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
UserTurnSlotOutput.Builder values(Consumer<UserTurnSlotOutput.Builder>... 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 to#values(List.) - 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:
#values(java.util.Collection)
-
subSlots
UserTurnSlotOutput.Builder subSlots(Map<String,UserTurnSlotOutput> 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.
-
-