Class CfnDeploymentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.apigatewayv2.mixins.CfnDeploymentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentMixinProps>
- Enclosing interface:
CfnDeploymentMixinProps
@Stability(Stable)
public static final class CfnDeploymentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentMixinProps>
A builder for
CfnDeploymentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDeploymentMixinProps.getApiId()build()Builds the configured instance.description(String description) Sets the value ofCfnDeploymentMixinProps.getDescription()Sets the value ofCfnDeploymentMixinProps.getStageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofCfnDeploymentMixinProps.getApiId()- Parameters:
apiId- The API identifier.- Returns:
this
-
description
Sets the value ofCfnDeploymentMixinProps.getDescription()- Parameters:
description- The description for the deployment resource.- Returns:
this
-
stageName
Sets the value ofCfnDeploymentMixinProps.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<CfnDeploymentMixinProps>- Returns:
- a new instance of
CfnDeploymentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-