Class CfnAutomatedReasoningPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnAutomatedReasoningPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomatedReasoningPolicy>
- Enclosing class:
CfnAutomatedReasoningPolicy
@Stability(Stable)
public static final class CfnAutomatedReasoningPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomatedReasoningPolicy>
A fluent builder for
CfnAutomatedReasoningPolicy
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description of the policy.The name of the policy.policyDefinition
(IResolvable policyDefinition) The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.policyDefinition
(CfnAutomatedReasoningPolicy.PolicyDefinitionProperty policyDefinition) The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.The tags associated with the Automated Reasoning policy.
-
Method Details
-
create
@Stability(Stable) public static CfnAutomatedReasoningPolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnAutomatedReasoningPolicy.Builder
.
-
name
The name of the policy.- Parameters:
name
- The name of the policy. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the policy.- Parameters:
description
- The description of the policy. This parameter is required.- Returns:
this
- See Also:
-
policyDefinition
@Stability(Stable) public CfnAutomatedReasoningPolicy.Builder policyDefinition(IResolvable policyDefinition) The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.- Parameters:
policyDefinition
- The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents. This parameter is required.- Returns:
this
- See Also:
-
policyDefinition
@Stability(Stable) public CfnAutomatedReasoningPolicy.Builder policyDefinition(CfnAutomatedReasoningPolicy.PolicyDefinitionProperty policyDefinition) The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.- Parameters:
policyDefinition
- The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags associated with the Automated Reasoning policy.- Parameters:
tags
- The tags associated with the Automated Reasoning policy. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAutomatedReasoningPolicy>
- Returns:
- a newly built instance of
CfnAutomatedReasoningPolicy
.
-