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-04-22T23:08:06.452Z")
@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 classA builder forStageAttributesstatic final classAn implementation forStageAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic StageAttributes.Builderbuilder()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.BuilderofStageAttributes
-