Class StateMachineGrantsProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.StateMachineGrantsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StateMachineGrantsProps>
- Enclosing interface:
StateMachineGrantsProps
@Stability(Stable)
public static final class StateMachineGrantsProps.Builder
extends Object
implements software.amazon.jsii.Builder<StateMachineGrantsProps>
A builder for
StateMachineGrantsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resource(IStateMachineRef resource) Sets the value ofStateMachineGrantsProps.getResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resource
Sets the value ofStateMachineGrantsProps.getResource()- Parameters:
resource- The resource on which actions will be allowed. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StateMachineGrantsProps>- Returns:
- a new instance of
StateMachineGrantsProps - Throws:
NullPointerException- if any required attribute was not provided
-