Class CfnFunction.SnapStartProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnFunction.SnapStartProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.SnapStartProperty>
- Enclosing interface:
CfnFunction.SnapStartProperty
@Stability(Stable)
public static final class CfnFunction.SnapStartProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.SnapStartProperty>
A builder for
CfnFunction.SnapStartProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnFunction.SnapStartProperty.getApplyOn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applyOn
Sets the value ofCfnFunction.SnapStartProperty.getApplyOn()
- Parameters:
applyOn
- SetApplyOn
toPublishedVersions
to create a snapshot of the initialized execution environment when you publish a function version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.SnapStartProperty>
- Returns:
- a new instance of
CfnFunction.SnapStartProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-