Class PolicyAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.PolicyAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PolicyAttributes>
- Enclosing interface:
PolicyAttributes
@Stability(Stable)
public static final class PolicyAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<PolicyAttributes>
A builder for
PolicyAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofPolicyAttributes.getPolicyArn()policyEngine(IPolicyEngine policyEngine) Sets the value ofPolicyAttributes.getPolicyEngine()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyArn
Sets the value ofPolicyAttributes.getPolicyArn()- Parameters:
policyArn- The ARN of the policy. This parameter is required.- Returns:
this
-
policyEngine
Sets the value ofPolicyAttributes.getPolicyEngine()- Parameters:
policyEngine- The policy engine this policy belongs to [disable-awslint:prefer-ref-interface]. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PolicyAttributes>- Returns:
- a new instance of
PolicyAttributes - Throws:
NullPointerException- if any required attribute was not provided
-