public static final class LustreFileSystemProps.Builder
extends java.lang.Object
LustreFileSystemProps
Constructor and Description |
---|
Builder() |
public LustreFileSystemProps.Builder lustreConfiguration(LustreConfiguration lustreConfiguration)
LustreFileSystemProps.getLustreConfiguration()
lustreConfiguration
- Additional configuration for FSx specific to Lustre. This parameter is required.this
public LustreFileSystemProps.Builder vpcSubnet(ISubnet vpcSubnet)
LustreFileSystemProps.getVpcSubnet()
vpcSubnet
- The subnet that the file system will be accessible from. This parameter is required.this
public LustreFileSystemProps.Builder storageCapacityGiB(java.lang.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
public LustreFileSystemProps.Builder vpc(IVpc vpc)
FileSystemProps.getVpc()
vpc
- The VPC to launch the file system in. This parameter is required.this
public LustreFileSystemProps.Builder backupId(java.lang.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
public LustreFileSystemProps.Builder kmsKey(IKey kmsKey)
FileSystemProps.getKmsKey()
kmsKey
- The KMS key used for encryption to protect your data at rest.this
public LustreFileSystemProps.Builder removalPolicy(RemovalPolicy removalPolicy)
FileSystemProps.getRemovalPolicy()
removalPolicy
- Policy to apply when the file system is removed from the stack.this
public LustreFileSystemProps.Builder securityGroup(ISecurityGroup securityGroup)
FileSystemProps.getSecurityGroup()
securityGroup
- Security Group to assign to this file system.this
public LustreFileSystemProps build()
LustreFileSystemProps
java.lang.NullPointerException
- if any required attribute was not provided