Class CfnAutomatedReasoningPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAutomatedReasoningPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomatedReasoningPolicyProps>
- Enclosing interface:
CfnAutomatedReasoningPolicyProps
@Stability(Stable)
public static final class CfnAutomatedReasoningPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomatedReasoningPolicyProps>
A builder for
CfnAutomatedReasoningPolicyProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnAutomatedReasoningPolicyProps.getDescription()
Sets the value ofCfnAutomatedReasoningPolicyProps.getName()
policyDefinition
(IResolvable policyDefinition) Sets the value ofCfnAutomatedReasoningPolicyProps.getPolicyDefinition()
policyDefinition
(CfnAutomatedReasoningPolicy.PolicyDefinitionProperty policyDefinition) Sets the value ofCfnAutomatedReasoningPolicyProps.getPolicyDefinition()
Sets the value ofCfnAutomatedReasoningPolicyProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnAutomatedReasoningPolicyProps.getName()
- Parameters:
name
- The name of the policy. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnAutomatedReasoningPolicyProps.getDescription()
- Parameters:
description
- The description of the policy.- Returns:
this
-
policyDefinition
@Stability(Stable) public CfnAutomatedReasoningPolicyProps.Builder policyDefinition(IResolvable policyDefinition) Sets the value ofCfnAutomatedReasoningPolicyProps.getPolicyDefinition()
- Parameters:
policyDefinition
- The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.- Returns:
this
-
policyDefinition
@Stability(Stable) public CfnAutomatedReasoningPolicyProps.Builder policyDefinition(CfnAutomatedReasoningPolicy.PolicyDefinitionProperty policyDefinition) Sets the value ofCfnAutomatedReasoningPolicyProps.getPolicyDefinition()
- Parameters:
policyDefinition
- The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.- Returns:
this
-
tags
@Stability(Stable) public CfnAutomatedReasoningPolicyProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnAutomatedReasoningPolicyProps.getTags()
- Parameters:
tags
- The tags associated with the Automated Reasoning policy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutomatedReasoningPolicyProps>
- Returns:
- a new instance of
CfnAutomatedReasoningPolicyProps
- Throws:
NullPointerException
- if any required attribute was not provided
-