@Stability(value=Experimental) public static final class FileSystemProps.Builder extends Object implements software.amazon.jsii.Builder<FileSystemProps>
FileSystemProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public FileSystemProps.Builder vpc(IVpc vpc)
FileSystemProps.getVpc()vpc - VPC to launch the file system in. This parameter is required.this@Stability(value=Experimental) public FileSystemProps.Builder enableAutomaticBackups(Boolean enableAutomaticBackups)
FileSystemProps.getEnableAutomaticBackups()enableAutomaticBackups - Whether to enable automatic backups for the file system.this@Stability(value=Experimental) public FileSystemProps.Builder encrypted(Boolean encrypted)
FileSystemProps.getEncrypted()encrypted - Defines if the data at rest in the file system is encrypted or not.this@Stability(value=Experimental) public FileSystemProps.Builder fileSystemName(String fileSystemName)
FileSystemProps.getFileSystemName()fileSystemName - The filesystem's name.this@Stability(value=Experimental) public FileSystemProps.Builder kmsKey(IKey kmsKey)
FileSystemProps.getKmsKey()kmsKey - The KMS key used for encryption.
This is required to encrypt the data at rest if @encrypted is set to true.this@Stability(value=Experimental) public FileSystemProps.Builder lifecyclePolicy(LifecyclePolicy lifecyclePolicy)
FileSystemProps.getLifecyclePolicy()lifecyclePolicy - A policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class.this@Stability(value=Experimental) public FileSystemProps.Builder performanceMode(PerformanceMode performanceMode)
FileSystemProps.getPerformanceMode()performanceMode - Enum to mention the performance mode of the file system.this@Stability(value=Experimental) public FileSystemProps.Builder provisionedThroughputPerSecond(Size provisionedThroughputPerSecond)
FileSystemProps.getProvisionedThroughputPerSecond()provisionedThroughputPerSecond - Provisioned throughput for the file system.
This is a required property if the throughput mode is set to PROVISIONED.
Must be at least 1MiB/s.this@Stability(value=Experimental) public FileSystemProps.Builder removalPolicy(RemovalPolicy removalPolicy)
FileSystemProps.getRemovalPolicy()removalPolicy - The removal policy to apply to the file system.this@Stability(value=Experimental) public FileSystemProps.Builder securityGroup(ISecurityGroup securityGroup)
FileSystemProps.getSecurityGroup()securityGroup - Security Group to assign to this file system.this@Stability(value=Experimental) public FileSystemProps.Builder throughputMode(ThroughputMode throughputMode)
FileSystemProps.getThroughputMode()throughputMode - Enum to mention the throughput mode of the file system.this@Stability(value=Experimental) public FileSystemProps.Builder vpcSubnets(SubnetSelection vpcSubnets)
FileSystemProps.getVpcSubnets()vpcSubnets - Which subnets to place the mount target in the VPC.this@Stability(value=Experimental) public FileSystemProps build()
build in interface software.amazon.jsii.Builder<FileSystemProps>FileSystemPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.