Interface ListTestSetRecordsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTestSetRecordsResponse.Builder,ListTestSetRecordsResponse>,LexModelsV2Response.Builder,SdkBuilder<ListTestSetRecordsResponse.Builder,ListTestSetRecordsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTestSetRecordsResponse
public static interface ListTestSetRecordsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListTestSetRecordsResponse.Builder,ListTestSetRecordsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTestSetRecordsResponse.BuildernextToken(String nextToken)A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation.ListTestSetRecordsResponse.BuildertestSetRecords(Collection<TestSetTurnRecord> testSetRecords)The list of records from the test set.ListTestSetRecordsResponse.BuildertestSetRecords(Consumer<TestSetTurnRecord.Builder>... testSetRecords)The list of records from the test set.ListTestSetRecordsResponse.BuildertestSetRecords(TestSetTurnRecord... testSetRecords)The list of records from the test set.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
testSetRecords
ListTestSetRecordsResponse.Builder testSetRecords(Collection<TestSetTurnRecord> testSetRecords)
The list of records from the test set.
- Parameters:
testSetRecords- The list of records from the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetRecords
ListTestSetRecordsResponse.Builder testSetRecords(TestSetTurnRecord... testSetRecords)
The list of records from the test set.
- Parameters:
testSetRecords- The list of records from the test set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetRecords
ListTestSetRecordsResponse.Builder testSetRecords(Consumer<TestSetTurnRecord.Builder>... testSetRecords)
The list of records from the test set.
This is a convenience method that creates an instance of theTestSetTurnRecord.Builderavoiding the need to create one manually viaTestSetTurnRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#testSetRecords(List.) - Parameters:
testSetRecords- a consumer that will call methods onTestSetTurnRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#testSetRecords(java.util.Collection)
-
nextToken
ListTestSetRecordsResponse.Builder nextToken(String nextToken)
A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSetRecords operation request to get the next page of records.
- Parameters:
nextToken- A token that indicates whether there are more records to return in a response to the ListTestSetRecords operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSetRecords operation request to get the next page of records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-