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.forceDelete(Boolean forceDelete) Specifies whether to force delete the automated reasoning policy even if it has active resources.forceDelete(IResolvable forceDelete) Specifies whether to force delete the automated reasoning policy even if it has active resources.The KMS key with which the Policy's assets will be encrypted at rest.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:
-
forceDelete
Specifies whether to force delete the automated reasoning policy even if it has active resources.When false , Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When true , Amazon Bedrock will delete the policy and all its artifacts without validation. Default is false
Default: - false
- Parameters:
forceDelete- Specifies whether to force delete the automated reasoning policy even if it has active resources. This parameter is required.- Returns:
this- See Also:
-
forceDelete
Specifies whether to force delete the automated reasoning policy even if it has active resources.When false , Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When true , Amazon Bedrock will delete the policy and all its artifacts without validation. Default is false
Default: - false
- Parameters:
forceDelete- Specifies whether to force delete the automated reasoning policy even if it has active resources. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The KMS key with which the Policy's assets will be encrypted at rest.- Parameters:
kmsKeyId- The KMS key with which the Policy's assets will be encrypted at rest. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomatedReasoningPolicy>- Returns:
- a newly built instance of
CfnAutomatedReasoningPolicy.
-