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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TestSetTurnResult.Builderagent(Consumer<AgentTurnResult.Builder> agent)Contains information about the agent messages in the turn.TestSetTurnResult.Builderagent(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.TestSetTurnResult.Builderuser(UserTurnResult user)Contains information about the user messages in the turn.-
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
-
agent
TestSetTurnResult.Builder agent(AgentTurnResult 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
default TestSetTurnResult.Builder agent(Consumer<AgentTurnResult.Builder> 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:
agent(AgentTurnResult)
-
user
TestSetTurnResult.Builder user(UserTurnResult 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
default TestSetTurnResult.Builder user(Consumer<UserTurnResult.Builder> 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:
user(UserTurnResult)
-
-