Class CfnFunction.EphemeralStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnFunction.EphemeralStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.EphemeralStorageProperty>
- Enclosing interface:
CfnFunction.EphemeralStorageProperty
@Stability(Stable)
public static final class CfnFunction.EphemeralStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.EphemeralStorageProperty>
A builder for
CfnFunction.EphemeralStorageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFunction.EphemeralStorageProperty.getSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
size
Sets the value ofCfnFunction.EphemeralStorageProperty.getSize()
- Parameters:
size
- The size of the function's/tmp
directory. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFunction.EphemeralStorageProperty>
- Returns:
- a new instance of
CfnFunction.EphemeralStorageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-