@Stability(value=Stable) public static final class CfnFunction.SnapStartResponseProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFunction.SnapStartResponseProperty>
CfnFunction.SnapStartResponseProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunction.SnapStartResponseProperty.Builder |
applyOn(String applyOn)
Sets the value of
CfnFunction.SnapStartResponseProperty.getApplyOn() |
CfnFunction.SnapStartResponseProperty |
build()
Builds the configured instance.
|
CfnFunction.SnapStartResponseProperty.Builder |
optimizationStatus(String optimizationStatus)
Sets the value of
CfnFunction.SnapStartResponseProperty.getOptimizationStatus() |
@Stability(value=Stable) public CfnFunction.SnapStartResponseProperty.Builder applyOn(String applyOn)
CfnFunction.SnapStartResponseProperty.getApplyOn()applyOn - When set to `PublishedVersions` , Lambda creates a snapshot of the execution environment when you publish a function version.this@Stability(value=Stable) public CfnFunction.SnapStartResponseProperty.Builder optimizationStatus(String optimizationStatus)
CfnFunction.SnapStartResponseProperty.getOptimizationStatus()optimizationStatus - When you provide a [qualified Amazon Resource Name (ARN)](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using) , this response element indicates whether SnapStart is activated for the specified function version.this@Stability(value=Stable) public CfnFunction.SnapStartResponseProperty build()
build in interface software.amazon.jsii.Builder<CfnFunction.SnapStartResponseProperty>CfnFunction.SnapStartResponsePropertyNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.