Interface ListTestSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTestSetsResponse.Builder,
,ListTestSetsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListTestSetsResponse.Builder,
,ListTestSetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTestSetsResponse
@Mutable
@NotThreadSafe
public static interface ListTestSetsResponse.Builder
extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListTestSetsResponse.Builder,ListTestSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates whether there are more results to return in a response to the ListTestSets operation.testSets
(Collection<TestSetSummary> testSets) The selected test sets in a list of test sets.testSets
(Consumer<TestSetSummary.Builder>... testSets) The selected test sets in a list of test sets.testSets
(TestSetSummary... testSets) The selected test sets in a list of test sets.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testSets
The selected test sets in a list of test sets.
- Parameters:
testSets
- The selected test sets in a list of test sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSets
The selected test sets in a list of test sets.
- Parameters:
testSets
- The selected test sets in a list of test sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSets
The selected test sets in a list of test sets.
This is a convenience method that creates an instance of theTestSetSummary.Builder
avoiding the need to create one manually viaTestSetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestSets(List<TestSetSummary>)
.- Parameters:
testSets
- a consumer that will call methods onTestSetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates whether there are more results to return in a response to the ListTestSets operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSets operation request to get the next page of results.
- Parameters:
nextToken
- A token that indicates whether there are more results to return in a response to the ListTestSets operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListTestSets operation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-