Interface TestSetTurnRecord.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TestSetTurnRecord.Builder,TestSetTurnRecord>,SdkBuilder<TestSetTurnRecord.Builder,TestSetTurnRecord>,SdkPojo
- Enclosing class:
- TestSetTurnRecord
public static interface TestSetTurnRecord.Builder extends SdkPojo, CopyableBuilder<TestSetTurnRecord.Builder,TestSetTurnRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TestSetTurnRecord.BuilderconversationId(String conversationId)The unique identifier for the conversation associated with the turn.TestSetTurnRecord.BuilderrecordNumber(Long recordNumber)The record number associated with the turn.TestSetTurnRecord.BuilderturnNumber(Integer turnNumber)The number of turns that has elapsed up to that turn.default TestSetTurnRecord.BuilderturnSpecification(Consumer<TurnSpecification.Builder> turnSpecification)Contains information about the agent or user turn depending upon type of turn.TestSetTurnRecord.BuilderturnSpecification(TurnSpecification turnSpecification)Contains information about the agent or user turn depending upon type of 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
-
recordNumber
TestSetTurnRecord.Builder recordNumber(Long recordNumber)
The record number associated with the turn.
- Parameters:
recordNumber- The record number associated with the turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationId
TestSetTurnRecord.Builder conversationId(String conversationId)
The unique identifier for the conversation associated with the turn.
- Parameters:
conversationId- The unique identifier for the conversation associated with the turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnNumber
TestSetTurnRecord.Builder turnNumber(Integer turnNumber)
The number of turns that has elapsed up to that turn.
- Parameters:
turnNumber- The number of turns that has elapsed up to that turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnSpecification
TestSetTurnRecord.Builder turnSpecification(TurnSpecification turnSpecification)
Contains information about the agent or user turn depending upon type of turn.
- Parameters:
turnSpecification- Contains information about the agent or user turn depending upon type of turn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnSpecification
default TestSetTurnRecord.Builder turnSpecification(Consumer<TurnSpecification.Builder> turnSpecification)
Contains information about the agent or user turn depending upon type of turn.
This is a convenience method that creates an instance of theTurnSpecification.Builderavoiding the need to create one manually viaTurnSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toturnSpecification(TurnSpecification).- Parameters:
turnSpecification- a consumer that will call methods onTurnSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
turnSpecification(TurnSpecification)
-
-