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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListTestExecutionResultItemsResponse.BuildernextToken(String nextToken)A token that indicates whether there are more results to return in a response to theListTestExecutionResultItemsoperation.default ListTestExecutionResultItemsResponse.BuildertestExecutionResults(Consumer<TestExecutionResultItems.Builder> testExecutionResults)The list of results from the test execution.ListTestExecutionResultItemsResponse.BuildertestExecutionResults(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 Detail
-
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:
testExecutionResults(TestExecutionResultItems)
-
nextToken
ListTestExecutionResultItemsResponse.Builder nextToken(String 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.
-
-