Interface ExportAutomatedReasoningPolicyVersionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockResponse.Builder
,Buildable
,CopyableBuilder<ExportAutomatedReasoningPolicyVersionResponse.Builder,
,ExportAutomatedReasoningPolicyVersionResponse> SdkBuilder<ExportAutomatedReasoningPolicyVersionResponse.Builder,
,ExportAutomatedReasoningPolicyVersionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ExportAutomatedReasoningPolicyVersionResponse
@Mutable
@NotThreadSafe
public static interface ExportAutomatedReasoningPolicyVersionResponse.Builder
extends BedrockResponse.Builder, SdkPojo, CopyableBuilder<ExportAutomatedReasoningPolicyVersionResponse.Builder,ExportAutomatedReasoningPolicyVersionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpolicyDefinition
(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) The exported policy definition containing the formal logic rules, variables, and custom variable types.policyDefinition
(AutomatedReasoningPolicyDefinition policyDefinition) The exported policy definition containing the formal logic rules, variables, and custom variable types.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
-
policyDefinition
ExportAutomatedReasoningPolicyVersionResponse.Builder policyDefinition(AutomatedReasoningPolicyDefinition policyDefinition) The exported policy definition containing the formal logic rules, variables, and custom variable types.
- Parameters:
policyDefinition
- The exported policy definition containing the formal logic rules, variables, and custom variable types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDefinition
default ExportAutomatedReasoningPolicyVersionResponse.Builder policyDefinition(Consumer<AutomatedReasoningPolicyDefinition.Builder> policyDefinition) The exported policy definition containing the formal logic rules, variables, and custom variable types.
This is a convenience method that creates an instance of theAutomatedReasoningPolicyDefinition.Builder
avoiding the need to create one manually viaAutomatedReasoningPolicyDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyDefinition(AutomatedReasoningPolicyDefinition)
.- Parameters:
policyDefinition
- a consumer that will call methods onAutomatedReasoningPolicyDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-