Interface UtteranceLevelTestResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UtteranceLevelTestResultItem.Builder,UtteranceLevelTestResultItem>,SdkBuilder<UtteranceLevelTestResultItem.Builder,UtteranceLevelTestResultItem>,SdkPojo
- Enclosing class:
- UtteranceLevelTestResultItem
public static interface UtteranceLevelTestResultItem.Builder extends SdkPojo, CopyableBuilder<UtteranceLevelTestResultItem.Builder,UtteranceLevelTestResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UtteranceLevelTestResultItem.BuilderconversationId(String conversationId)The unique identifier for the conversation associated with the result.UtteranceLevelTestResultItem.BuilderrecordNumber(Long recordNumber)The record number of the result.default UtteranceLevelTestResultItem.BuilderturnResult(Consumer<TestSetTurnResult.Builder> turnResult)Contains information about the turn associated with the result.UtteranceLevelTestResultItem.BuilderturnResult(TestSetTurnResult turnResult)Contains information about the turn associated with the result.-
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
UtteranceLevelTestResultItem.Builder recordNumber(Long recordNumber)
The record number of the result.
- Parameters:
recordNumber- The record number of the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationId
UtteranceLevelTestResultItem.Builder conversationId(String conversationId)
The unique identifier for the conversation associated with the result.
- Parameters:
conversationId- The unique identifier for the conversation associated with the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnResult
UtteranceLevelTestResultItem.Builder turnResult(TestSetTurnResult turnResult)
Contains information about the turn associated with the result.
- Parameters:
turnResult- Contains information about the turn associated with the result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
turnResult
default UtteranceLevelTestResultItem.Builder turnResult(Consumer<TestSetTurnResult.Builder> turnResult)
Contains information about the turn associated with the result.
This is a convenience method that creates an instance of theTestSetTurnResult.Builderavoiding the need to create one manually viaTestSetTurnResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toturnResult(TestSetTurnResult).- Parameters:
turnResult- a consumer that will call methods onTestSetTurnResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
turnResult(TestSetTurnResult)
-
-