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 theListTestExecutionResultItemsoperation.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
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaTestExecutionResultItems.builder().When the
Consumercompletes,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
ListTestExecutionResultItemsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListTestExecutionResultItemsoperation 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 theListTestExecutionResultItemsoperation. If thenextTokenfield is present, you send the contents as thenextTokenparameter of aListTestExecutionResultItemsoperation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-