Class CfnPolicy.PolicyStatementProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnPolicy.PolicyStatementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicy.PolicyStatementProperty>
- Enclosing interface:
CfnPolicy.PolicyStatementProperty
@Stability(Stable)
public static final class CfnPolicy.PolicyStatementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicy.PolicyStatementProperty>
A builder for
CfnPolicy.PolicyStatementProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPolicy.PolicyStatementProperty.getStatement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
statement
Sets the value ofCfnPolicy.PolicyStatementProperty.getStatement()- Parameters:
statement- The policy statement. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicy.PolicyStatementProperty>- Returns:
- a new instance of
CfnPolicy.PolicyStatementProperty - Throws:
NullPointerException- if any required attribute was not provided
-