Class StageAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.StageAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StageAttributes>
- Enclosing interface:
StageAttributes
@Stability(Stable)
public static final class StageAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<StageAttributes>
A builder for
StageAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofStageAttributes.getStageName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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:
build
in interfacesoftware.amazon.jsii.Builder<StageAttributes>
- Returns:
- a new instance of
StageAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-