Interface UserTurnOutputSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UserTurnOutputSpecification.Builder,UserTurnOutputSpecification>,SdkBuilder<UserTurnOutputSpecification.Builder,UserTurnOutputSpecification>,SdkPojo
- Enclosing class:
- UserTurnOutputSpecification
public static interface UserTurnOutputSpecification.Builder extends SdkPojo, CopyableBuilder<UserTurnOutputSpecification.Builder,UserTurnOutputSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UserTurnOutputSpecification.BuilderactiveContexts(Collection<ActiveContext> activeContexts)The contexts that are active in the turn.UserTurnOutputSpecification.BuilderactiveContexts(Consumer<ActiveContext.Builder>... activeContexts)The contexts that are active in the turn.UserTurnOutputSpecification.BuilderactiveContexts(ActiveContext... activeContexts)The contexts that are active in the turn.default UserTurnOutputSpecification.Builderintent(Consumer<UserTurnIntentOutput.Builder> intent)Contains information about the intent.UserTurnOutputSpecification.Builderintent(UserTurnIntentOutput intent)Contains information about the intent.UserTurnOutputSpecification.Buildertranscript(String transcript)The transcript that is output for the user turn by the test execution.-
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
-
intent
UserTurnOutputSpecification.Builder intent(UserTurnIntentOutput intent)
Contains information about the intent.
- Parameters:
intent- Contains information about the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intent
default UserTurnOutputSpecification.Builder intent(Consumer<UserTurnIntentOutput.Builder> intent)
Contains information about the intent.
This is a convenience method that creates an instance of theUserTurnIntentOutput.Builderavoiding the need to create one manually viaUserTurnIntentOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointent(UserTurnIntentOutput).- Parameters:
intent- a consumer that will call methods onUserTurnIntentOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
intent(UserTurnIntentOutput)
-
activeContexts
UserTurnOutputSpecification.Builder activeContexts(Collection<ActiveContext> activeContexts)
The contexts that are active in the turn.
- Parameters:
activeContexts- The contexts that are active in the turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeContexts
UserTurnOutputSpecification.Builder activeContexts(ActiveContext... activeContexts)
The contexts that are active in the turn.
- Parameters:
activeContexts- The contexts that are active in the turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeContexts
UserTurnOutputSpecification.Builder activeContexts(Consumer<ActiveContext.Builder>... activeContexts)
The contexts that are active in the turn.
This is a convenience method that creates an instance of theActiveContext.Builderavoiding the need to create one manually viaActiveContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#activeContexts(List.) - Parameters:
activeContexts- a consumer that will call methods onActiveContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#activeContexts(java.util.Collection)
-
transcript
UserTurnOutputSpecification.Builder transcript(String transcript)
The transcript that is output for the user turn by the test execution.
- Parameters:
transcript- The transcript that is output for the user turn by the test execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-