Interface UserTurnSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UserTurnSpecification.Builder,,UserTurnSpecification> SdkBuilder<UserTurnSpecification.Builder,,UserTurnSpecification> SdkPojo
- Enclosing class:
UserTurnSpecification
@Mutable
@NotThreadSafe
public static interface UserTurnSpecification.Builder
extends SdkPojo, CopyableBuilder<UserTurnSpecification.Builder,UserTurnSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UserTurnSpecification.Builderexpected(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.BuilderContains 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
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
-
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.Builderavoiding the need to create one manually viaUserTurnInputSpecification.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaUserTurnOutputSpecification.builder().When the
Consumercompletes,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:
-