Interface UserTurnInputSpecification.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<UserTurnInputSpecification.Builder,,UserTurnInputSpecification> SdkBuilder<UserTurnInputSpecification.Builder,,UserTurnInputSpecification> SdkPojo
- Enclosing class:
 UserTurnInputSpecification
@Mutable
@NotThreadSafe
public static interface UserTurnInputSpecification.Builder
extends SdkPojo, CopyableBuilder<UserTurnInputSpecification.Builder,UserTurnInputSpecification> 
- 
Method Summary
Modifier and TypeMethodDescriptionrequestAttributes(Map<String, String> requestAttributes) Request attributes of the user turn.sessionState(Consumer<InputSessionStateSpecification.Builder> sessionState) Contains information about the session state in the input.sessionState(InputSessionStateSpecification sessionState) Contains information about the session state in the input.utteranceInput(Consumer<UtteranceInputSpecification.Builder> utteranceInput) The utterance input in the user turn.utteranceInput(UtteranceInputSpecification utteranceInput) The utterance input in the user turn.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
- 
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:
 
 - 
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
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:
 
 
 -