@Stability(value=Stable) public static final class FileSystemProps.Builder extends Object implements software.amazon.jsii.Builder<FileSystemProps>
FileSystemProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FileSystemProps.Builder |
backupId(String backupId)
Sets the value of
FileSystemProps.getBackupId() |
FileSystemProps |
build()
Builds the configured instance.
|
FileSystemProps.Builder |
kmsKey(IKey kmsKey)
Sets the value of
FileSystemProps.getKmsKey() |
FileSystemProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
FileSystemProps.getRemovalPolicy() |
FileSystemProps.Builder |
securityGroup(ISecurityGroup securityGroup)
Sets the value of
FileSystemProps.getSecurityGroup() |
FileSystemProps.Builder |
storageCapacityGiB(Number storageCapacityGiB)
Sets the value of
FileSystemProps.getStorageCapacityGiB() |
FileSystemProps.Builder |
vpc(IVpc vpc)
Sets the value of
FileSystemProps.getVpc() |
@Stability(value=Stable) public FileSystemProps.Builder storageCapacityGiB(Number storageCapacityGiB)
FileSystemProps.getStorageCapacityGiB()storageCapacityGiB - The storage capacity of the file system being created. This parameter is required.
For Windows file systems, valid values are 32 GiB to 65,536 GiB.
For SCRATCH_1 deployment types, valid values are 1,200, 2,400, 3,600, then continuing in increments of 3,600 GiB.
For SCRATCH_2 and PERSISTENT_1 types, valid values are 1,200, 2,400, then continuing in increments of 2,400 GiB.this@Stability(value=Stable) public FileSystemProps.Builder vpc(IVpc vpc)
FileSystemProps.getVpc()vpc - The VPC to launch the file system in. This parameter is required.this@Stability(value=Stable) public FileSystemProps.Builder backupId(String backupId)
FileSystemProps.getBackupId()backupId - The ID of the backup.
Specifies the backup to use if you're creating a file system from an existing backup.this@Stability(value=Stable) public FileSystemProps.Builder kmsKey(IKey kmsKey)
FileSystemProps.getKmsKey()kmsKey - The KMS key used for encryption to protect your data at rest.this@Stability(value=Stable) public FileSystemProps.Builder removalPolicy(RemovalPolicy removalPolicy)
FileSystemProps.getRemovalPolicy()removalPolicy - Policy to apply when the file system is removed from the stack.this@Stability(value=Stable) public FileSystemProps.Builder securityGroup(ISecurityGroup securityGroup)
FileSystemProps.getSecurityGroup()securityGroup - Security Group to assign to this file system.this@Stability(value=Stable) public FileSystemProps build()
build in interface software.amazon.jsii.Builder<FileSystemProps>FileSystemPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.