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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetAutomatedReasoningPolicyNextScenarioResponse.BuilderpolicyArn(String policyArn)The Amazon Resource Name (ARN) of the Automated Reasoning policy.default GetAutomatedReasoningPolicyNextScenarioResponse.Builderscenario(Consumer<AutomatedReasoningPolicyScenario.Builder> scenario)The next test scenario to validate, including the test expression and expected results.GetAutomatedReasoningPolicyNextScenarioResponse.Builderscenario(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 Detail
-
policyArn
GetAutomatedReasoningPolicyNextScenarioResponse.Builder policyArn(String 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.Builderavoiding the need to create one manually viaAutomatedReasoningPolicyScenario.builder().When the
Consumercompletes,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:
scenario(AutomatedReasoningPolicyScenario)
-
-