Class CfnPolicyEngineMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnPolicyEngineMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyEngineMixinProps>
- Enclosing interface:
CfnPolicyEngineMixinProps
@Stability(Stable)
public static final class CfnPolicyEngineMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyEngineMixinProps>
A builder for
CfnPolicyEngineMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnPolicyEngineMixinProps.getDescription()encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnPolicyEngineMixinProps.getEncryptionKeyArn()Sets the value ofCfnPolicyEngineMixinProps.getName()Sets the value ofCfnPolicyEngineMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnPolicyEngineMixinProps.getDescription()- Parameters:
description- A human-readable description of the policy engine's purpose and scope.- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnPolicyEngineMixinProps.Builder encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnPolicyEngineMixinProps.getEncryptionKeyArn()- Parameters:
encryptionKeyArn- The ARN of the KMS key used to encrypt the policy engine data.- Returns:
this
-
name
Sets the value ofCfnPolicyEngineMixinProps.getName()- Parameters:
name- The customer-assigned immutable name for the policy engine.- Returns:
this
-
tags
Sets the value ofCfnPolicyEngineMixinProps.getTags()- Parameters:
tags- A list of tags to assign to the policy engine.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyEngineMixinProps>- Returns:
- a new instance of
CfnPolicyEngineMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-