Class HttpStepFunctionsIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpStepFunctionsIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpStepFunctionsIntegrationProps>
- Enclosing interface:
HttpStepFunctionsIntegrationProps
@Stability(Stable)
public static final class HttpStepFunctionsIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<HttpStepFunctionsIntegrationProps>
A builder for
HttpStepFunctionsIntegrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.parameterMapping(ParameterMapping parameterMapping) Sets the value ofHttpStepFunctionsIntegrationProps.getParameterMapping()stateMachine(StateMachine stateMachine) Sets the value ofHttpStepFunctionsIntegrationProps.getStateMachine()subtype(HttpIntegrationSubtype subtype) Sets the value ofHttpStepFunctionsIntegrationProps.getSubtype()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stateMachine
@Stability(Stable) public HttpStepFunctionsIntegrationProps.Builder stateMachine(StateMachine stateMachine) Sets the value ofHttpStepFunctionsIntegrationProps.getStateMachine()- Parameters:
stateMachine- Statemachine that Integrates with API Gateway. This parameter is required.- Returns:
this
-
parameterMapping
@Stability(Stable) public HttpStepFunctionsIntegrationProps.Builder parameterMapping(ParameterMapping parameterMapping) Sets the value ofHttpStepFunctionsIntegrationProps.getParameterMapping()- Parameters:
parameterMapping- Specifies how to transform HTTP requests before sending them to the backend. When the subtype is eitherSTART_EXECUTIONorSTART_SYNC_EXECUTION, it is necessary to specify theStateMachineArn. Conversely, when the subtype isSTOP_EXECUTION, theExecutionArnmust be specified.- Returns:
this
-
subtype
@Stability(Stable) public HttpStepFunctionsIntegrationProps.Builder subtype(HttpIntegrationSubtype subtype) Sets the value ofHttpStepFunctionsIntegrationProps.getSubtype()- Parameters:
subtype- The subtype of the HTTP integration. Only subtypes starting with STEPFUNCTIONS_ can be specified.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpStepFunctionsIntegrationProps>- Returns:
- a new instance of
HttpStepFunctionsIntegrationProps - Throws:
NullPointerException- if any required attribute was not provided
-