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