Class CfnStateMachine.ApiEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnStateMachine.ApiEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.ApiEventProperty>
- Enclosing interface:
- CfnStateMachine.ApiEventProperty
@Stability(Stable)
public static final class CfnStateMachine.ApiEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.ApiEventProperty>
A builder for
CfnStateMachine.ApiEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnStateMachine.ApiEventProperty.getMethod()Sets the value ofCfnStateMachine.ApiEventProperty.getPath()Sets the value ofCfnStateMachine.ApiEventProperty.getRestApiId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
method
Sets the value ofCfnStateMachine.ApiEventProperty.getMethod()- Parameters:
method-CfnStateMachine.ApiEventProperty.Method. This parameter is required.- Returns:
this
-
path
Sets the value ofCfnStateMachine.ApiEventProperty.getPath()- Parameters:
path-CfnStateMachine.ApiEventProperty.Path. This parameter is required.- Returns:
this
-
restApiId
Sets the value ofCfnStateMachine.ApiEventProperty.getRestApiId()- Parameters:
restApiId-CfnStateMachine.ApiEventProperty.RestApiId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachine.ApiEventProperty>- Returns:
- a new instance of
CfnStateMachine.ApiEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-