Class CfnDeployment.Builder

java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnDeployment.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeployment>
Enclosing class:
CfnDeployment

@Stability(Stable) public static final class CfnDeployment.Builder extends Object implements software.amazon.jsii.Builder<CfnDeployment>
A fluent builder for CfnDeployment.
  • Method Details

    • create

      @Stability(Stable) public static CfnDeployment.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnDeployment.Builder.
    • apiId

      @Stability(Stable) public CfnDeployment.Builder apiId(String apiId)
      The API identifier.

      Parameters:
      apiId - The API identifier. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnDeployment.Builder description(String description)
      The description for the deployment resource.

      Parameters:
      description - The description for the deployment resource. This parameter is required.
      Returns:
      this
    • stageName

      @Stability(Stable) public CfnDeployment.Builder stageName(String stageName)
      The name of an existing stage to associate with the deployment.

      Parameters:
      stageName - The name of an existing stage to associate with the deployment. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnDeployment build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDeployment>
      Returns:
      a newly built instance of CfnDeployment.