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