Interface GetAutomatedReasoningPolicyTestResultResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<GetAutomatedReasoningPolicyTestResultResponse.Builder,,GetAutomatedReasoningPolicyTestResultResponse> SdkBuilder<GetAutomatedReasoningPolicyTestResultResponse.Builder,,GetAutomatedReasoningPolicyTestResultResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAutomatedReasoningPolicyTestResultResponse
@Mutable
@NotThreadSafe
public static interface GetAutomatedReasoningPolicyTestResultResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetAutomatedReasoningPolicyTestResultResponse.Builder,GetAutomatedReasoningPolicyTestResultResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontestResult(Consumer<AutomatedReasoningPolicyTestResult.Builder> testResult) The test result containing validation findings, execution status, and detailed analysis.testResult(AutomatedReasoningPolicyTestResult testResult) The test result containing validation findings, execution status, and detailed analysis.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
testResult
GetAutomatedReasoningPolicyTestResultResponse.Builder testResult(AutomatedReasoningPolicyTestResult testResult) The test result containing validation findings, execution status, and detailed analysis.
- Parameters:
testResult- The test result containing validation findings, execution status, and detailed analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testResult
default GetAutomatedReasoningPolicyTestResultResponse.Builder testResult(Consumer<AutomatedReasoningPolicyTestResult.Builder> testResult) The test result containing validation findings, execution status, and detailed analysis.
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 totestResult(AutomatedReasoningPolicyTestResult).- Parameters:
testResult- 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:
-