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