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