public static interface TestSetTurnRecord.Builder extends SdkPojo, CopyableBuilder<TestSetTurnRecord.Builder,TestSetTurnRecord>
| Modifier and Type | Method and Description |
|---|---|
TestSetTurnRecord.Builder |
conversationId(String conversationId)
The unique identifier for the conversation associated with the turn.
|
TestSetTurnRecord.Builder |
recordNumber(Long recordNumber)
The record number associated with the turn.
|
TestSetTurnRecord.Builder |
turnNumber(Integer turnNumber)
The number of turns that has elapsed up to that turn.
|
default TestSetTurnRecord.Builder |
turnSpecification(Consumer<TurnSpecification.Builder> turnSpecification)
Contains information about the agent or user turn depending upon type of turn.
|
TestSetTurnRecord.Builder |
turnSpecification(TurnSpecification turnSpecification)
Contains information about the agent or user turn depending upon type of turn.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTestSetTurnRecord.Builder recordNumber(Long recordNumber)
The record number associated with the turn.
recordNumber - The record number associated with the turn.TestSetTurnRecord.Builder conversationId(String conversationId)
The unique identifier for the conversation associated with the turn.
conversationId - The unique identifier for the conversation associated with the turn.TestSetTurnRecord.Builder turnNumber(Integer turnNumber)
The number of turns that has elapsed up to that turn.
turnNumber - The number of turns that has elapsed up to that turn.TestSetTurnRecord.Builder turnSpecification(TurnSpecification turnSpecification)
Contains information about the agent or user turn depending upon type of turn.
turnSpecification - Contains information about the agent or user turn depending upon type of turn.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.Builder avoiding the
need to create one manually via TurnSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to turnSpecification(TurnSpecification).
turnSpecification - a consumer that will call methods on TurnSpecification.BuilderturnSpecification(TurnSpecification)Copyright © 2023. All rights reserved.