Class CfnApplication.ApiGatewayProxyInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.refactorspaces.CfnApplication.ApiGatewayProxyInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ApiGatewayProxyInputProperty>
- Enclosing interface:
CfnApplication.ApiGatewayProxyInputProperty
@Stability(Stable)
public static final class CfnApplication.ApiGatewayProxyInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ApiGatewayProxyInputProperty>
A builder for
CfnApplication.ApiGatewayProxyInputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.endpointType
(String endpointType) Sets the value ofCfnApplication.ApiGatewayProxyInputProperty.getEndpointType()
Sets the value ofCfnApplication.ApiGatewayProxyInputProperty.getStageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointType
@Stability(Stable) public CfnApplication.ApiGatewayProxyInputProperty.Builder endpointType(String endpointType) Sets the value ofCfnApplication.ApiGatewayProxyInputProperty.getEndpointType()
- Parameters:
endpointType
- The type of endpoint to use for the API Gateway proxy. If no value is specified in the request, the value is set toREGIONAL
by default.If the value is set to
PRIVATE
in the request, this creates a private API endpoint that is isolated from the public internet. The private endpoint can only be accessed by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access. For more information about creating a private connection with Refactor Spaces and interface endpoint ( AWS PrivateLink ) availability, see Access Refactor Spaces using an interface endpoint ( AWS PrivateLink ) .- Returns:
this
-
stageName
@Stability(Stable) public CfnApplication.ApiGatewayProxyInputProperty.Builder stageName(String stageName) Sets the value ofCfnApplication.ApiGatewayProxyInputProperty.getStageName()
- Parameters:
stageName
- The name of the API Gateway stage. The name defaults toprod
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication.ApiGatewayProxyInputProperty>
- Returns:
- a new instance of
CfnApplication.ApiGatewayProxyInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-