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