Interface ListAutomatedReasoningPolicyTestCasesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<ListAutomatedReasoningPolicyTestCasesResponse.Builder,ListAutomatedReasoningPolicyTestCasesResponse>,SdkBuilder<ListAutomatedReasoningPolicyTestCasesResponse.Builder,ListAutomatedReasoningPolicyTestCasesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAutomatedReasoningPolicyTestCasesResponse
@Mutable @NotThreadSafe public static interface ListAutomatedReasoningPolicyTestCasesResponse.Builder extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ListAutomatedReasoningPolicyTestCasesResponse.Builder,ListAutomatedReasoningPolicyTestCasesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAutomatedReasoningPolicyTestCasesResponse.BuildernextToken(String nextToken)The pagination token to use in a subsequent request to retrieve the next page of results.ListAutomatedReasoningPolicyTestCasesResponse.BuildertestCases(Collection<AutomatedReasoningPolicyTestCase> testCases)A list of tests for the specified policy.ListAutomatedReasoningPolicyTestCasesResponse.BuildertestCases(Consumer<AutomatedReasoningPolicyTestCase.Builder>... testCases)A list of tests for the specified policy.ListAutomatedReasoningPolicyTestCasesResponse.BuildertestCases(AutomatedReasoningPolicyTestCase... testCases)A list of tests for the specified policy.-
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
-
testCases
ListAutomatedReasoningPolicyTestCasesResponse.Builder testCases(Collection<AutomatedReasoningPolicyTestCase> testCases)
A list of tests for the specified policy.
- Parameters:
testCases- A list of tests for the specified policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCases
ListAutomatedReasoningPolicyTestCasesResponse.Builder testCases(AutomatedReasoningPolicyTestCase... testCases)
A list of tests for the specified policy.
- Parameters:
testCases- A list of tests for the specified policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testCases
ListAutomatedReasoningPolicyTestCasesResponse.Builder testCases(Consumer<AutomatedReasoningPolicyTestCase.Builder>... testCases)
A list of tests for the specified policy.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyTestCase.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyTestCase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#testCases(List.) - Parameters:
testCases- a consumer that will call methods onAutomatedReasoningPolicyTestCase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#testCases(java.util.Collection)
-
nextToken
ListAutomatedReasoningPolicyTestCasesResponse.Builder nextToken(String nextToken)
The pagination token to use in a subsequent request to retrieve the next page of results.
- Parameters:
nextToken- The pagination token to use in a subsequent request to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-