Class HttpStageAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.HttpStageAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpStageAttributes>
- Enclosing interface:
HttpStageAttributes
@Stability(Stable)
public static final class HttpStageAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<HttpStageAttributes>
A builder for
HttpStageAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofHttpStageAttributes.getApi()build()Builds the configured instance.Sets the value ofStageAttributes.getStageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
api
Sets the value ofHttpStageAttributes.getApi()- Parameters:
api- The API to which this stage is associated. This parameter is required.- Returns:
this
-
stageName
Sets the value ofStageAttributes.getStageName()- Parameters:
stageName- The name of the stage. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpStageAttributes>- Returns:
- a new instance of
HttpStageAttributes - Throws:
NullPointerException- if any required attribute was not provided
-