Interface UserTurnInputSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserTurnInputSpecification.Builder,UserTurnInputSpecification>,SdkBuilder<UserTurnInputSpecification.Builder,UserTurnInputSpecification>,SdkPojo
- Enclosing class:
- UserTurnInputSpecification
public static interface UserTurnInputSpecification.Builder extends SdkPojo, CopyableBuilder<UserTurnInputSpecification.Builder,UserTurnInputSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UserTurnInputSpecification.BuilderrequestAttributes(Map<String,String> requestAttributes)Request attributes of the user turn.default UserTurnInputSpecification.BuildersessionState(Consumer<InputSessionStateSpecification.Builder> sessionState)Contains information about the session state in the input.UserTurnInputSpecification.BuildersessionState(InputSessionStateSpecification sessionState)Contains information about the session state in the input.default UserTurnInputSpecification.BuilderutteranceInput(Consumer<UtteranceInputSpecification.Builder> utteranceInput)The utterance input in the user turn.UserTurnInputSpecification.BuilderutteranceInput(UtteranceInputSpecification utteranceInput)The utterance input in the user turn.-
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
-
utteranceInput
UserTurnInputSpecification.Builder utteranceInput(UtteranceInputSpecification utteranceInput)
The utterance input in the user turn.
- Parameters:
utteranceInput- The utterance input in the user turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utteranceInput
default UserTurnInputSpecification.Builder utteranceInput(Consumer<UtteranceInputSpecification.Builder> utteranceInput)
The utterance input in the user turn.
This is a convenience method that creates an instance of theUtteranceInputSpecification.Builderavoiding the need to create one manually viaUtteranceInputSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toutteranceInput(UtteranceInputSpecification).- Parameters:
utteranceInput- a consumer that will call methods onUtteranceInputSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
utteranceInput(UtteranceInputSpecification)
-
requestAttributes
UserTurnInputSpecification.Builder requestAttributes(Map<String,String> requestAttributes)
Request attributes of the user turn.
- Parameters:
requestAttributes- Request attributes of the user turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionState
UserTurnInputSpecification.Builder sessionState(InputSessionStateSpecification sessionState)
Contains information about the session state in the input.
- Parameters:
sessionState- Contains information about the session state in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionState
default UserTurnInputSpecification.Builder sessionState(Consumer<InputSessionStateSpecification.Builder> sessionState)
Contains information about the session state in the input.
This is a convenience method that creates an instance of theInputSessionStateSpecification.Builderavoiding the need to create one manually viaInputSessionStateSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionState(InputSessionStateSpecification).- Parameters:
sessionState- a consumer that will call methods onInputSessionStateSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sessionState(InputSessionStateSpecification)
-
-