Interface UserTurnSpecification.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserTurnSpecification.Builder,
,UserTurnSpecification> SdkBuilder<UserTurnSpecification.Builder,
,UserTurnSpecification> SdkPojo
- Enclosing class:
UserTurnSpecification
public static interface UserTurnSpecification.Builder
extends SdkPojo, CopyableBuilder<UserTurnSpecification.Builder,UserTurnSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UserTurnSpecification.Builder
expected
(Consumer<UserTurnOutputSpecification.Builder> expected) Contains results about the expected output for the user turn.expected
(UserTurnOutputSpecification expected) Contains results about the expected output for the user turn.default UserTurnSpecification.Builder
Contains information about the user messages in the turn in the input.input
(UserTurnInputSpecification input) Contains information about the user messages in the turn in the input.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 Details
-
input
Contains information about the user messages in the turn in the input.
- Parameters:
input
- Contains information about the user messages in the turn in the input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
Contains information about the user messages in the turn in the input.
This is a convenience method that creates an instance of theUserTurnInputSpecification.Builder
avoiding the need to create one manually viaUserTurnInputSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinput(UserTurnInputSpecification)
.- Parameters:
input
- a consumer that will call methods onUserTurnInputSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expected
Contains results about the expected output for the user turn.
- Parameters:
expected
- Contains results about the expected output for the user turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expected
default UserTurnSpecification.Builder expected(Consumer<UserTurnOutputSpecification.Builder> expected) Contains results about the expected output for the user turn.
This is a convenience method that creates an instance of theUserTurnOutputSpecification.Builder
avoiding the need to create one manually viaUserTurnOutputSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexpected(UserTurnOutputSpecification)
.- Parameters:
expected
- a consumer that will call methods onUserTurnOutputSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-