Interface TestSetTurnResult.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<TestSetTurnResult.Builder,,TestSetTurnResult> SdkBuilder<TestSetTurnResult.Builder,,TestSetTurnResult> SdkPojo
- Enclosing class:
 TestSetTurnResult
public static interface TestSetTurnResult.Builder
extends SdkPojo, CopyableBuilder<TestSetTurnResult.Builder,TestSetTurnResult> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault TestSetTurnResult.Builderagent(Consumer<AgentTurnResult.Builder> agent) Contains information about the agent messages in the turn.agent(AgentTurnResult agent) Contains information about the agent messages in the turn.default TestSetTurnResult.Builderuser(Consumer<UserTurnResult.Builder> user) Contains information about the user messages in the turn.user(UserTurnResult user) Contains information about the user messages in the turn.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
- 
agent
Contains information about the agent messages in the turn.
- Parameters:
 agent- Contains information about the agent messages in the turn.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
agent
Contains information about the agent messages in the turn.
This is a convenience method that creates an instance of theAgentTurnResult.Builderavoiding the need to create one manually viaAgentTurnResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagent(AgentTurnResult).- Parameters:
 agent- a consumer that will call methods onAgentTurnResult.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
user
Contains information about the user messages in the turn.
- Parameters:
 user- Contains information about the user messages in the turn.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
user
Contains information about the user messages in the turn.
This is a convenience method that creates an instance of theUserTurnResult.Builderavoiding the need to create one manually viaUserTurnResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touser(UserTurnResult).- Parameters:
 user- a consumer that will call methods onUserTurnResult.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -