Interface ListTestExecutionResultItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTestExecutionResultItemsResponse.Builder,
,ListTestExecutionResultItemsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListTestExecutionResultItemsResponse.Builder,
,ListTestExecutionResultItemsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTestExecutionResultItemsResponse
public static interface ListTestExecutionResultItemsResponse.Builder
extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListTestExecutionResultItemsResponse.Builder,ListTestExecutionResultItemsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates whether there are more results to return in a response to theListTestExecutionResultItems
operation.testExecutionResults
(Consumer<TestExecutionResultItems.Builder> testExecutionResults) The list of results from the test execution.testExecutionResults
(TestExecutionResultItems testExecutionResults) The list of results from the test execution.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 Details
-
testExecutionResults
ListTestExecutionResultItemsResponse.Builder testExecutionResults(TestExecutionResultItems testExecutionResults) The list of results from the test execution.
- Parameters:
testExecutionResults
- The list of results from the test execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testExecutionResults
default ListTestExecutionResultItemsResponse.Builder testExecutionResults(Consumer<TestExecutionResultItems.Builder> testExecutionResults) The list of results from the test execution.
This is a convenience method that creates an instance of theTestExecutionResultItems.Builder
avoiding the need to create one manually viaTestExecutionResultItems.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestExecutionResults(TestExecutionResultItems)
.- Parameters:
testExecutionResults
- a consumer that will call methods onTestExecutionResultItems.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
ListTestExecutionResultItems
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListTestExecutionResultItems
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 theListTestExecutionResultItems
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListTestExecutionResultItems
operation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-