Interface GetAutomatedReasoningPolicyNextScenarioResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<GetAutomatedReasoningPolicyNextScenarioResponse.Builder,
,GetAutomatedReasoningPolicyNextScenarioResponse> SdkBuilder<GetAutomatedReasoningPolicyNextScenarioResponse.Builder,
,GetAutomatedReasoningPolicyNextScenarioResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAutomatedReasoningPolicyNextScenarioResponse
@Mutable
@NotThreadSafe
public static interface GetAutomatedReasoningPolicyNextScenarioResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<GetAutomatedReasoningPolicyNextScenarioResponse.Builder,GetAutomatedReasoningPolicyNextScenarioResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the Automated Reasoning policy.The next test scenario to validate, including the test expression and expected results.scenario
(AutomatedReasoningPolicyScenario scenario) The next test scenario to validate, including the test expression and expected results.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 Details
-
policyArn
The Amazon Resource Name (ARN) of the Automated Reasoning policy.
- Parameters:
policyArn
- The Amazon Resource Name (ARN) of the Automated Reasoning policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scenario
GetAutomatedReasoningPolicyNextScenarioResponse.Builder scenario(AutomatedReasoningPolicyScenario scenario) The next test scenario to validate, including the test expression and expected results.
- Parameters:
scenario
- The next test scenario to validate, including the test expression and expected results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scenario
default GetAutomatedReasoningPolicyNextScenarioResponse.Builder scenario(Consumer<AutomatedReasoningPolicyScenario.Builder> scenario) The next test scenario to validate, including the test expression and expected results.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyScenario.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyScenario.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscenario(AutomatedReasoningPolicyScenario)
.- Parameters:
scenario
- a consumer that will call methods onAutomatedReasoningPolicyScenario.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-