Class CfnDeploymentProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnDeploymentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentProps>
- Enclosing interface:
- CfnDeploymentProps
@Stability(Stable)
public static final class CfnDeploymentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentProps>
A builder for
CfnDeploymentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDeploymentProps.getApiId()build()Builds the configured instance.description(String description) Sets the value ofCfnDeploymentProps.getDescription()Sets the value ofCfnDeploymentProps.getStageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofCfnDeploymentProps.getApiId()- Parameters:
apiId- The API identifier. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDeploymentProps.getDescription()- Parameters:
description- The description for the deployment resource.- Returns:
this
-
stageName
Sets the value ofCfnDeploymentProps.getStageName()- Parameters:
stageName- The name of an existing stage to associate with the deployment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentProps>- Returns:
- a new instance of
CfnDeploymentProps - Throws:
NullPointerException- if any required attribute was not provided
-