Class CfnEnvironment.EfsStorageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironment.EfsStorageConfigurationProperty>
- Enclosing interface:
CfnEnvironment.EfsStorageConfigurationProperty
CfnEnvironment.EfsStorageConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fileSystemId
(String fileSystemId) Sets the value ofCfnEnvironment.EfsStorageConfigurationProperty.getFileSystemId()
mountPoint
(String mountPoint) Sets the value ofCfnEnvironment.EfsStorageConfigurationProperty.getMountPoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemId
@Stability(Stable) public CfnEnvironment.EfsStorageConfigurationProperty.Builder fileSystemId(String fileSystemId) Sets the value ofCfnEnvironment.EfsStorageConfigurationProperty.getFileSystemId()
- Parameters:
fileSystemId
- The file system identifier. This parameter is required.- Returns:
this
-
mountPoint
@Stability(Stable) public CfnEnvironment.EfsStorageConfigurationProperty.Builder mountPoint(String mountPoint) Sets the value ofCfnEnvironment.EfsStorageConfigurationProperty.getMountPoint()
- Parameters:
mountPoint
- The mount point for the file system. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEnvironment.EfsStorageConfigurationProperty>
- Returns:
- a new instance of
CfnEnvironment.EfsStorageConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-