Class CfnFunction.EphemeralStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.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
Constructors -
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 value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.EphemeralStorageProperty>- Returns:
- a new instance of
CfnFunction.EphemeralStorageProperty - Throws:
NullPointerException- if any required attribute was not provided
-