Interface ListAutomatedReasoningPolicyTestResultsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<ListAutomatedReasoningPolicyTestResultsResponse.Builder,ListAutomatedReasoningPolicyTestResultsResponse>,SdkBuilder<ListAutomatedReasoningPolicyTestResultsResponse.Builder,ListAutomatedReasoningPolicyTestResultsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAutomatedReasoningPolicyTestResultsResponse
@Mutable @NotThreadSafe public static interface ListAutomatedReasoningPolicyTestResultsResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListAutomatedReasoningPolicyTestResultsResponse.Builder,ListAutomatedReasoningPolicyTestResultsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAutomatedReasoningPolicyTestResultsResponse.BuildernextToken(String nextToken)A pagination token to use in subsequent requests to retrieve additional test results.ListAutomatedReasoningPolicyTestResultsResponse.BuildertestResults(Collection<AutomatedReasoningPolicyTestResult> testResults)A list of test results, each containing information about how the policy performed on specific test scenarios.ListAutomatedReasoningPolicyTestResultsResponse.BuildertestResults(Consumer<AutomatedReasoningPolicyTestResult.Builder>... testResults)A list of test results, each containing information about how the policy performed on specific test scenarios.ListAutomatedReasoningPolicyTestResultsResponse.BuildertestResults(AutomatedReasoningPolicyTestResult... testResults)A list of test results, each containing information about how the policy performed on specific test scenarios.-
Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
testResults
ListAutomatedReasoningPolicyTestResultsResponse.Builder testResults(Collection<AutomatedReasoningPolicyTestResult> testResults)
A list of test results, each containing information about how the policy performed on specific test scenarios.
- Parameters:
testResults- A list of test results, each containing information about how the policy performed on specific test scenarios.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testResults
ListAutomatedReasoningPolicyTestResultsResponse.Builder testResults(AutomatedReasoningPolicyTestResult... testResults)
A list of test results, each containing information about how the policy performed on specific test scenarios.
- Parameters:
testResults- A list of test results, each containing information about how the policy performed on specific test scenarios.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testResults
ListAutomatedReasoningPolicyTestResultsResponse.Builder testResults(Consumer<AutomatedReasoningPolicyTestResult.Builder>... testResults)
A list of test results, each containing information about how the policy performed on specific test scenarios.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyTestResult.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyTestResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#testResults(List.) - Parameters:
testResults- a consumer that will call methods onAutomatedReasoningPolicyTestResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#testResults(java.util.Collection)
-
nextToken
ListAutomatedReasoningPolicyTestResultsResponse.Builder nextToken(String nextToken)
A pagination token to use in subsequent requests to retrieve additional test results.
- Parameters:
nextToken- A pagination token to use in subsequent requests to retrieve additional test results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-