Class CfnAutomatedReasoningPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnAutomatedReasoningPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomatedReasoningPolicyPropsMixin>
- Enclosing class:
CfnAutomatedReasoningPolicyPropsMixin
@Stability(Stable)
public static final class CfnAutomatedReasoningPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomatedReasoningPolicyPropsMixin>
A fluent builder for
CfnAutomatedReasoningPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) 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.The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.policyDefinition(IResolvable 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 CfnAutomatedReasoningPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAutomatedReasoningPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAutomatedReasoningPolicyPropsMixin.Builder.
-
description
@Stability(Stable) public CfnAutomatedReasoningPolicyPropsMixin.Builder description(String description) The description of the policy.- Parameters:
description- The description of the policy. This parameter is required.- Returns:
this- See Also:
-
forceDelete
@Stability(Stable) public CfnAutomatedReasoningPolicyPropsMixin.Builder forceDelete(Boolean 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
@Stability(Stable) public CfnAutomatedReasoningPolicyPropsMixin.Builder forceDelete(IResolvable 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:
-
name
The name of the policy.- Parameters:
name- The name of the policy. This parameter is required.- Returns:
this- See Also:
-
policyDefinition
@Stability(Stable) public CfnAutomatedReasoningPolicyPropsMixin.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 CfnAutomatedReasoningPolicyPropsMixin.Builder policyDefinition(CfnAutomatedReasoningPolicyPropsMixin.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
@Stability(Stable) public CfnAutomatedReasoningPolicyPropsMixin.Builder tags(List<? extends CfnTag> 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<CfnAutomatedReasoningPolicyPropsMixin>- Returns:
- a newly built instance of
CfnAutomatedReasoningPolicyPropsMixin.
-