public static interface UserTurnInputSpecification.Builder extends SdkPojo, CopyableBuilder<UserTurnInputSpecification.Builder,UserTurnInputSpecification>
| Modifier and Type | Method and Description |
|---|---|
UserTurnInputSpecification.Builder |
requestAttributes(Map<String,String> requestAttributes)
Request attributes of the user turn.
|
default UserTurnInputSpecification.Builder |
sessionState(Consumer<InputSessionStateSpecification.Builder> sessionState)
Contains information about the session state in the input.
|
UserTurnInputSpecification.Builder |
sessionState(InputSessionStateSpecification sessionState)
Contains information about the session state in the input.
|
default UserTurnInputSpecification.Builder |
utteranceInput(Consumer<UtteranceInputSpecification.Builder> utteranceInput)
The utterance input in the user turn.
|
UserTurnInputSpecification.Builder |
utteranceInput(UtteranceInputSpecification utteranceInput)
The utterance input in the user turn.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUserTurnInputSpecification.Builder utteranceInput(UtteranceInputSpecification utteranceInput)
The utterance input in the user turn.
utteranceInput - The utterance input in the user turn.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.Builder
avoiding the need to create one manually via UtteranceInputSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to utteranceInput(UtteranceInputSpecification).
utteranceInput - a consumer that will call methods on UtteranceInputSpecification.BuilderutteranceInput(UtteranceInputSpecification)UserTurnInputSpecification.Builder requestAttributes(Map<String,String> requestAttributes)
Request attributes of the user turn.
requestAttributes - Request attributes of the user turn.UserTurnInputSpecification.Builder sessionState(InputSessionStateSpecification sessionState)
Contains information about the session state in the input.
sessionState - Contains information about the session state in the input.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.Builder
avoiding the need to create one manually via InputSessionStateSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to sessionState(InputSessionStateSpecification).
sessionState - a consumer that will call methods on InputSessionStateSpecification.BuildersessionState(InputSessionStateSpecification)Copyright © 2023. All rights reserved.