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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UserTurnSpecification.Builderexpected(Consumer<UserTurnOutputSpecification.Builder> expected)Contains results about the expected output for the user turn.UserTurnSpecification.Builderexpected(UserTurnOutputSpecification expected)Contains results about the expected output for the user turn.default UserTurnSpecification.Builderinput(Consumer<UserTurnInputSpecification.Builder> input)Contains information about the user messages in the turn in the input.UserTurnSpecification.Builderinput(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 Detail
-
input
UserTurnSpecification.Builder input(UserTurnInputSpecification 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
default UserTurnSpecification.Builder input(Consumer<UserTurnInputSpecification.Builder> 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:
input(UserTurnInputSpecification)
-
expected
UserTurnSpecification.Builder expected(UserTurnOutputSpecification 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:
expected(UserTurnOutputSpecification)
-
-