Interface StageAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
StageAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.110.0 (build 336b265)",
date="2025-05-07T19:18:42.190Z")
@Stability(Stable)
public interface StageAttributes
extends software.amazon.jsii.JsiiSerializable
The attributes of an imported Stage.
Example:
IRestApi restApi; IStage importedStage = Stage.fromStageAttributes(this, "imported-stage", StageAttributes.builder() .stageName("myStageName") .restApi(restApi) .build()); importedStage.addApiKey("MyApiKey");
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forStageAttributes
static final class
An implementation forStageAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic StageAttributes.Builder
builder()
The RestApi that the stage belongs to.The name of the stage.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRestApi
The RestApi that the stage belongs to. -
getStageName
The name of the stage. -
builder
- Returns:
- a
StageAttributes.Builder
ofStageAttributes
-