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