Class CfnEnvironment.StorageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.m2.CfnEnvironment.StorageConfigurationProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnEnvironment.StorageConfigurationProperty>
- Enclosing interface:
- CfnEnvironment.StorageConfigurationProperty
@Stability(Stable)
public static final class CfnEnvironment.StorageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironment.StorageConfigurationProperty>
A builder for 
CfnEnvironment.StorageConfigurationProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds the configured instance.efs(IResolvable efs) Sets the value ofCfnEnvironment.StorageConfigurationProperty.getEfs()Sets the value ofCfnEnvironment.StorageConfigurationProperty.getEfs()fsx(IResolvable fsx) Sets the value ofCfnEnvironment.StorageConfigurationProperty.getFsx()Sets the value ofCfnEnvironment.StorageConfigurationProperty.getFsx()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
efsSets the value ofCfnEnvironment.StorageConfigurationProperty.getEfs()- Parameters:
- efs- Defines the storage configuration for an Amazon EFS file system.
- Returns:
- this
 
- 
efs@Stability(Stable) public CfnEnvironment.StorageConfigurationProperty.Builder efs(CfnEnvironment.EfsStorageConfigurationProperty efs) Sets the value ofCfnEnvironment.StorageConfigurationProperty.getEfs()- Parameters:
- efs- Defines the storage configuration for an Amazon EFS file system.
- Returns:
- this
 
- 
fsxSets the value ofCfnEnvironment.StorageConfigurationProperty.getFsx()- Parameters:
- fsx- Defines the storage configuration for an Amazon FSx file system.
- Returns:
- this
 
- 
fsx@Stability(Stable) public CfnEnvironment.StorageConfigurationProperty.Builder fsx(CfnEnvironment.FsxStorageConfigurationProperty fsx) Sets the value ofCfnEnvironment.StorageConfigurationProperty.getFsx()- Parameters:
- fsx- Defines the storage configuration for an Amazon FSx file system.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnEnvironment.StorageConfigurationProperty>
- Returns:
- a new instance of CfnEnvironment.StorageConfigurationProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-