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