Class CallApiGatewayRestApiEndpointOptions.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.CallApiGatewayRestApiEndpointOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CallApiGatewayRestApiEndpointOptions>
- Enclosing interface:
CallApiGatewayRestApiEndpointOptions
@Stability(Stable)
public static final class CallApiGatewayRestApiEndpointOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CallApiGatewayRestApiEndpointOptions>
A builder for
CallApiGatewayRestApiEndpointOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCallApiGatewayRestApiEndpointOptions.getApi()build()Builds the configured instance.Sets the value ofCallApiGatewayRestApiEndpointOptions.getRegion()Sets the value ofCallApiGatewayRestApiEndpointOptions.getStageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
api
Sets the value ofCallApiGatewayRestApiEndpointOptions.getApi()- Parameters:
api- API to call. This parameter is required.- Returns:
this
-
stageName
Sets the value ofCallApiGatewayRestApiEndpointOptions.getStageName()- Parameters:
stageName- Name of the stage where the API is deployed to in API Gateway. This parameter is required.- Returns:
this
-
region
Sets the value ofCallApiGatewayRestApiEndpointOptions.getRegion()- Parameters:
region- Specify a custom Region where the API is deployed, e.g. 'us-east-1'.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CallApiGatewayRestApiEndpointOptions>- Returns:
- a new instance of
CallApiGatewayRestApiEndpointOptions - Throws:
NullPointerException- if any required attribute was not provided
-