Package com.pulumi.aws.fsx.inputs
Class LustreFileSystemState.Builder
- java.lang.Object
-
- com.pulumi.aws.fsx.inputs.LustreFileSystemState.Builder
-
- Enclosing class:
- LustreFileSystemState
public static final class LustreFileSystemState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LustreFileSystemState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LustreFileSystemState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)LustreFileSystemState.Builderarn(java.lang.String arn)LustreFileSystemState.BuilderautoImportPolicy(com.pulumi.core.Output<java.lang.String> autoImportPolicy)LustreFileSystemState.BuilderautoImportPolicy(java.lang.String autoImportPolicy)LustreFileSystemState.BuilderautomaticBackupRetentionDays(com.pulumi.core.Output<java.lang.Integer> automaticBackupRetentionDays)LustreFileSystemState.BuilderautomaticBackupRetentionDays(java.lang.Integer automaticBackupRetentionDays)LustreFileSystemState.BuilderbackupId(com.pulumi.core.Output<java.lang.String> backupId)LustreFileSystemState.BuilderbackupId(java.lang.String backupId)LustreFileSystemStatebuild()LustreFileSystemState.BuildercopyTagsToBackups(com.pulumi.core.Output<java.lang.Boolean> copyTagsToBackups)LustreFileSystemState.BuildercopyTagsToBackups(java.lang.Boolean copyTagsToBackups)LustreFileSystemState.BuilderdailyAutomaticBackupStartTime(com.pulumi.core.Output<java.lang.String> dailyAutomaticBackupStartTime)LustreFileSystemState.BuilderdailyAutomaticBackupStartTime(java.lang.String dailyAutomaticBackupStartTime)LustreFileSystemState.BuilderdataCompressionType(com.pulumi.core.Output<java.lang.String> dataCompressionType)LustreFileSystemState.BuilderdataCompressionType(java.lang.String dataCompressionType)LustreFileSystemState.BuilderdataReadCacheConfiguration(LustreFileSystemDataReadCacheConfigurationArgs dataReadCacheConfiguration)LustreFileSystemState.BuilderdataReadCacheConfiguration(com.pulumi.core.Output<LustreFileSystemDataReadCacheConfigurationArgs> dataReadCacheConfiguration)LustreFileSystemState.BuilderdeploymentType(com.pulumi.core.Output<java.lang.String> deploymentType)LustreFileSystemState.BuilderdeploymentType(java.lang.String deploymentType)LustreFileSystemState.BuilderdnsName(com.pulumi.core.Output<java.lang.String> dnsName)LustreFileSystemState.BuilderdnsName(java.lang.String dnsName)LustreFileSystemState.BuilderdriveCacheType(com.pulumi.core.Output<java.lang.String> driveCacheType)LustreFileSystemState.BuilderdriveCacheType(java.lang.String driveCacheType)LustreFileSystemState.BuilderefaEnabled(com.pulumi.core.Output<java.lang.Boolean> efaEnabled)LustreFileSystemState.BuilderefaEnabled(java.lang.Boolean efaEnabled)LustreFileSystemState.BuilderexportPath(com.pulumi.core.Output<java.lang.String> exportPath)LustreFileSystemState.BuilderexportPath(java.lang.String exportPath)LustreFileSystemState.BuilderfileSystemTypeVersion(com.pulumi.core.Output<java.lang.String> fileSystemTypeVersion)LustreFileSystemState.BuilderfileSystemTypeVersion(java.lang.String fileSystemTypeVersion)LustreFileSystemState.BuilderfinalBackupTags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> finalBackupTags)LustreFileSystemState.BuilderfinalBackupTags(java.util.Map<java.lang.String,java.lang.String> finalBackupTags)LustreFileSystemState.BuilderimportedFileChunkSize(com.pulumi.core.Output<java.lang.Integer> importedFileChunkSize)LustreFileSystemState.BuilderimportedFileChunkSize(java.lang.Integer importedFileChunkSize)LustreFileSystemState.BuilderimportPath(com.pulumi.core.Output<java.lang.String> importPath)LustreFileSystemState.BuilderimportPath(java.lang.String importPath)LustreFileSystemState.BuilderkmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)LustreFileSystemState.BuilderkmsKeyId(java.lang.String kmsKeyId)LustreFileSystemState.BuilderlogConfiguration(LustreFileSystemLogConfigurationArgs logConfiguration)LustreFileSystemState.BuilderlogConfiguration(com.pulumi.core.Output<LustreFileSystemLogConfigurationArgs> logConfiguration)LustreFileSystemState.BuildermetadataConfiguration(LustreFileSystemMetadataConfigurationArgs metadataConfiguration)LustreFileSystemState.BuildermetadataConfiguration(com.pulumi.core.Output<LustreFileSystemMetadataConfigurationArgs> metadataConfiguration)LustreFileSystemState.BuildermountName(com.pulumi.core.Output<java.lang.String> mountName)LustreFileSystemState.BuildermountName(java.lang.String mountName)LustreFileSystemState.BuildernetworkInterfaceIds(com.pulumi.core.Output<java.util.List<java.lang.String>> networkInterfaceIds)LustreFileSystemState.BuildernetworkInterfaceIds(java.lang.String... networkInterfaceIds)LustreFileSystemState.BuildernetworkInterfaceIds(java.util.List<java.lang.String> networkInterfaceIds)LustreFileSystemState.BuilderownerId(com.pulumi.core.Output<java.lang.String> ownerId)LustreFileSystemState.BuilderownerId(java.lang.String ownerId)LustreFileSystemState.BuilderperUnitStorageThroughput(com.pulumi.core.Output<java.lang.Integer> perUnitStorageThroughput)LustreFileSystemState.BuilderperUnitStorageThroughput(java.lang.Integer perUnitStorageThroughput)LustreFileSystemState.Builderregion(com.pulumi.core.Output<java.lang.String> region)LustreFileSystemState.Builderregion(java.lang.String region)LustreFileSystemState.BuilderrootSquashConfiguration(LustreFileSystemRootSquashConfigurationArgs rootSquashConfiguration)LustreFileSystemState.BuilderrootSquashConfiguration(com.pulumi.core.Output<LustreFileSystemRootSquashConfigurationArgs> rootSquashConfiguration)LustreFileSystemState.BuildersecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)LustreFileSystemState.BuildersecurityGroupIds(java.lang.String... securityGroupIds)LustreFileSystemState.BuildersecurityGroupIds(java.util.List<java.lang.String> securityGroupIds)LustreFileSystemState.BuilderskipFinalBackup(com.pulumi.core.Output<java.lang.Boolean> skipFinalBackup)LustreFileSystemState.BuilderskipFinalBackup(java.lang.Boolean skipFinalBackup)LustreFileSystemState.BuilderstorageCapacity(com.pulumi.core.Output<java.lang.Integer> storageCapacity)LustreFileSystemState.BuilderstorageCapacity(java.lang.Integer storageCapacity)LustreFileSystemState.BuilderstorageType(com.pulumi.core.Output<java.lang.String> storageType)LustreFileSystemState.BuilderstorageType(java.lang.String storageType)LustreFileSystemState.BuildersubnetIds(com.pulumi.core.Output<java.lang.String> subnetIds)LustreFileSystemState.BuildersubnetIds(java.lang.String subnetIds)LustreFileSystemState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)LustreFileSystemState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)LustreFileSystemState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)LustreFileSystemState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)LustreFileSystemState.BuilderthroughputCapacity(com.pulumi.core.Output<java.lang.Integer> throughputCapacity)LustreFileSystemState.BuilderthroughputCapacity(java.lang.Integer throughputCapacity)LustreFileSystemState.BuildervpcId(com.pulumi.core.Output<java.lang.String> vpcId)LustreFileSystemState.BuildervpcId(java.lang.String vpcId)LustreFileSystemState.BuilderweeklyMaintenanceStartTime(com.pulumi.core.Output<java.lang.String> weeklyMaintenanceStartTime)LustreFileSystemState.BuilderweeklyMaintenanceStartTime(java.lang.String weeklyMaintenanceStartTime)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LustreFileSystemState defaults)
-
-
Method Detail
-
arn
public LustreFileSystemState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the file system.- Returns:
- builder
-
arn
public LustreFileSystemState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the file system.- Returns:
- builder
-
autoImportPolicy
public LustreFileSystemState.Builder autoImportPolicy(@Nullable com.pulumi.core.Output<java.lang.String> autoImportPolicy)
- Parameters:
autoImportPolicy- How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
autoImportPolicy
public LustreFileSystemState.Builder autoImportPolicy(java.lang.String autoImportPolicy)
- Parameters:
autoImportPolicy- How Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. see [Auto Import Data Repo](https://docs.aws.amazon.com/fsx/latest/LustreGuide/autoimport-data-repo.html) for more details. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
automaticBackupRetentionDays
public LustreFileSystemState.Builder automaticBackupRetentionDays(@Nullable com.pulumi.core.Output<java.lang.Integer> automaticBackupRetentionDays)
- Parameters:
automaticBackupRetentionDays- Number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type.- Returns:
- builder
-
automaticBackupRetentionDays
public LustreFileSystemState.Builder automaticBackupRetentionDays(java.lang.Integer automaticBackupRetentionDays)
- Parameters:
automaticBackupRetentionDays- Number of days to retain automatic backups. Setting this to 0 disables automatic backups. You can retain automatic backups for a maximum of 90 days. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type.- Returns:
- builder
-
backupId
public LustreFileSystemState.Builder backupId(@Nullable com.pulumi.core.Output<java.lang.String> backupId)
- Parameters:
backupId- ID of the source backup to create the filesystem from.- Returns:
- builder
-
backupId
public LustreFileSystemState.Builder backupId(java.lang.String backupId)
- Parameters:
backupId- ID of the source backup to create the filesystem from.- Returns:
- builder
-
copyTagsToBackups
public LustreFileSystemState.Builder copyTagsToBackups(@Nullable com.pulumi.core.Output<java.lang.Boolean> copyTagsToBackups)
- Parameters:
copyTagsToBackups- Whether to copy tags for the file system to backups. Applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. The default value is false.- Returns:
- builder
-
copyTagsToBackups
public LustreFileSystemState.Builder copyTagsToBackups(java.lang.Boolean copyTagsToBackups)
- Parameters:
copyTagsToBackups- Whether to copy tags for the file system to backups. Applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. The default value is false.- Returns:
- builder
-
dailyAutomaticBackupStartTime
public LustreFileSystemState.Builder dailyAutomaticBackupStartTime(@Nullable com.pulumi.core.Output<java.lang.String> dailyAutomaticBackupStartTime)
- Parameters:
dailyAutomaticBackupStartTime- Recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Requires `automaticBackupRetentionDays` to be set.- Returns:
- builder
-
dailyAutomaticBackupStartTime
public LustreFileSystemState.Builder dailyAutomaticBackupStartTime(java.lang.String dailyAutomaticBackupStartTime)
- Parameters:
dailyAutomaticBackupStartTime- Recurring daily time, in the format HH:MM. HH is the zero-padded hour of the day (0-23), and MM is the zero-padded minute of the hour. For example, 05:00 specifies 5 AM daily. only valid for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Requires `automaticBackupRetentionDays` to be set.- Returns:
- builder
-
dataCompressionType
public LustreFileSystemState.Builder dataCompressionType(@Nullable com.pulumi.core.Output<java.lang.String> dataCompressionType)
- Parameters:
dataCompressionType- Sets the data compression configuration for the file system. Valid values are `LZ4` and `NONE`. Default value is `NONE`. Unsetting this value reverts the compression type back to `NONE`.- Returns:
- builder
-
dataCompressionType
public LustreFileSystemState.Builder dataCompressionType(java.lang.String dataCompressionType)
- Parameters:
dataCompressionType- Sets the data compression configuration for the file system. Valid values are `LZ4` and `NONE`. Default value is `NONE`. Unsetting this value reverts the compression type back to `NONE`.- Returns:
- builder
-
dataReadCacheConfiguration
public LustreFileSystemState.Builder dataReadCacheConfiguration(@Nullable com.pulumi.core.Output<LustreFileSystemDataReadCacheConfigurationArgs> dataReadCacheConfiguration)
-
dataReadCacheConfiguration
public LustreFileSystemState.Builder dataReadCacheConfiguration(LustreFileSystemDataReadCacheConfigurationArgs dataReadCacheConfiguration)
-
deploymentType
public LustreFileSystemState.Builder deploymentType(@Nullable com.pulumi.core.Output<java.lang.String> deploymentType)
- Parameters:
deploymentType- Filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`, `PERSISTENT_2`.- Returns:
- builder
-
deploymentType
public LustreFileSystemState.Builder deploymentType(java.lang.String deploymentType)
- Parameters:
deploymentType- Filesystem deployment type. One of: `SCRATCH_1`, `SCRATCH_2`, `PERSISTENT_1`, `PERSISTENT_2`.- Returns:
- builder
-
dnsName
public LustreFileSystemState.Builder dnsName(@Nullable com.pulumi.core.Output<java.lang.String> dnsName)
- Parameters:
dnsName- DNS name for the file system, e.g., `fs-12345678.fsx.us-west-2.amazonaws.com`- Returns:
- builder
-
dnsName
public LustreFileSystemState.Builder dnsName(java.lang.String dnsName)
- Parameters:
dnsName- DNS name for the file system, e.g., `fs-12345678.fsx.us-west-2.amazonaws.com`- Returns:
- builder
-
driveCacheType
public LustreFileSystemState.Builder driveCacheType(@Nullable com.pulumi.core.Output<java.lang.String> driveCacheType)
- Parameters:
driveCacheType- Type of drive cache used by `PERSISTENT_1` filesystems that are provisioned with `HDD` storage_type. Required for `HDD` storage_type, set to either `READ` or `NONE`.- Returns:
- builder
-
driveCacheType
public LustreFileSystemState.Builder driveCacheType(java.lang.String driveCacheType)
- Parameters:
driveCacheType- Type of drive cache used by `PERSISTENT_1` filesystems that are provisioned with `HDD` storage_type. Required for `HDD` storage_type, set to either `READ` or `NONE`.- Returns:
- builder
-
efaEnabled
public LustreFileSystemState.Builder efaEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> efaEnabled)
- Parameters:
efaEnabled- Adds support for Elastic Fabric Adapter (EFA) and GPUDirect Storage (GDS) to Lustre. This must be set at creation. If set this cannot be changed and this prevents changes to `perUnitStorageThroughput`. This is only supported when deploymentType is set to `PERSISTENT_2`, `metadataConfiguration` is used, and an EFA-enabled security group is attached.- Returns:
- builder
-
efaEnabled
public LustreFileSystemState.Builder efaEnabled(java.lang.Boolean efaEnabled)
- Parameters:
efaEnabled- Adds support for Elastic Fabric Adapter (EFA) and GPUDirect Storage (GDS) to Lustre. This must be set at creation. If set this cannot be changed and this prevents changes to `perUnitStorageThroughput`. This is only supported when deploymentType is set to `PERSISTENT_2`, `metadataConfiguration` is used, and an EFA-enabled security group is attached.- Returns:
- builder
-
exportPath
public LustreFileSystemState.Builder exportPath(@Nullable com.pulumi.core.Output<java.lang.String> exportPath)
- Parameters:
exportPath- S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
exportPath
public LustreFileSystemState.Builder exportPath(java.lang.String exportPath)
- Parameters:
exportPath- S3 URI (with optional prefix) where the root of your Amazon FSx file system is exported. Can only be specified with `importPath` argument and the path must use the same Amazon S3 bucket as specified in `importPath`. Set equal to `importPath` to overwrite files on export. Defaults to `s3://{IMPORT BUCKET}/FSxLustre{CREATION TIMESTAMP}`. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
fileSystemTypeVersion
public LustreFileSystemState.Builder fileSystemTypeVersion(@Nullable com.pulumi.core.Output<java.lang.String> fileSystemTypeVersion)
- Parameters:
fileSystemTypeVersion- Sets the Lustre version for the file system. Valid values are `2.10`, `2.12`, and `2.15`. When creating a file system, `2.10` is valid for `SCRATCH_1`, `SCRATCH_2`, and `PERSISTENT_1` deployment types; `2.12` and `2.15` are valid for all deployment types. Changing this value to a higher version triggers an in-place upgrade. Changing to a lower version forces resource replacement (destroy and recreate).- Returns:
- builder
-
fileSystemTypeVersion
public LustreFileSystemState.Builder fileSystemTypeVersion(java.lang.String fileSystemTypeVersion)
- Parameters:
fileSystemTypeVersion- Sets the Lustre version for the file system. Valid values are `2.10`, `2.12`, and `2.15`. When creating a file system, `2.10` is valid for `SCRATCH_1`, `SCRATCH_2`, and `PERSISTENT_1` deployment types; `2.12` and `2.15` are valid for all deployment types. Changing this value to a higher version triggers an in-place upgrade. Changing to a lower version forces resource replacement (destroy and recreate).- Returns:
- builder
-
finalBackupTags
public LustreFileSystemState.Builder finalBackupTags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> finalBackupTags)
- Parameters:
finalBackupTags- Map of tags to apply to the file system's final backup. **Note:** If the filesystem uses a Scratch deployment type, final backup during delete will always be skipped and this argument will not be used even when set.- Returns:
- builder
-
finalBackupTags
public LustreFileSystemState.Builder finalBackupTags(java.util.Map<java.lang.String,java.lang.String> finalBackupTags)
- Parameters:
finalBackupTags- Map of tags to apply to the file system's final backup. **Note:** If the filesystem uses a Scratch deployment type, final backup during delete will always be skipped and this argument will not be used even when set.- Returns:
- builder
-
importPath
public LustreFileSystemState.Builder importPath(@Nullable com.pulumi.core.Output<java.lang.String> importPath)
- Parameters:
importPath- S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
importPath
public LustreFileSystemState.Builder importPath(java.lang.String importPath)
- Parameters:
importPath- S3 URI (with optional prefix) that you're using as the data repository for your FSx for Lustre file system. For example, `s3://example-bucket/optional-prefix/`. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
importedFileChunkSize
public LustreFileSystemState.Builder importedFileChunkSize(@Nullable com.pulumi.core.Output<java.lang.Integer> importedFileChunkSize)
- Parameters:
importedFileChunkSize- For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
importedFileChunkSize
public LustreFileSystemState.Builder importedFileChunkSize(java.lang.Integer importedFileChunkSize)
- Parameters:
importedFileChunkSize- For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. Can only be specified with `importPath` argument. Defaults to `1024`. Minimum of `1` and maximum of `512000`. Only supported on `PERSISTENT_1` deployment types.- Returns:
- builder
-
kmsKeyId
public LustreFileSystemState.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId- ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Defaults to an AWS managed KMS Key.- Returns:
- builder
-
kmsKeyId
public LustreFileSystemState.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId- ARN for the KMS Key to encrypt the file system at rest, applicable for `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Defaults to an AWS managed KMS Key.- Returns:
- builder
-
logConfiguration
public LustreFileSystemState.Builder logConfiguration(@Nullable com.pulumi.core.Output<LustreFileSystemLogConfigurationArgs> logConfiguration)
- Parameters:
logConfiguration- Lustre logging configuration used when creating an Amazon FSx for Lustre file system. When logging is enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon CloudWatch Logs. See `logConfiguration` Block for details.- Returns:
- builder
-
logConfiguration
public LustreFileSystemState.Builder logConfiguration(LustreFileSystemLogConfigurationArgs logConfiguration)
- Parameters:
logConfiguration- Lustre logging configuration used when creating an Amazon FSx for Lustre file system. When logging is enabled, Lustre logs error and warning events for data repositories associated with your file system to Amazon CloudWatch Logs. See `logConfiguration` Block for details.- Returns:
- builder
-
metadataConfiguration
public LustreFileSystemState.Builder metadataConfiguration(@Nullable com.pulumi.core.Output<LustreFileSystemMetadataConfigurationArgs> metadataConfiguration)
- Parameters:
metadataConfiguration- Lustre metadata configuration used when creating an Amazon FSx for Lustre file system. This can be used to specify a user provisioned metadata scale. This is only supported when `deploymentType` is set to `PERSISTENT_2`. See `metadataConfiguration` Block for details.- Returns:
- builder
-
metadataConfiguration
public LustreFileSystemState.Builder metadataConfiguration(LustreFileSystemMetadataConfigurationArgs metadataConfiguration)
- Parameters:
metadataConfiguration- Lustre metadata configuration used when creating an Amazon FSx for Lustre file system. This can be used to specify a user provisioned metadata scale. This is only supported when `deploymentType` is set to `PERSISTENT_2`. See `metadataConfiguration` Block for details.- Returns:
- builder
-
mountName
public LustreFileSystemState.Builder mountName(@Nullable com.pulumi.core.Output<java.lang.String> mountName)
- Parameters:
mountName- Value to be used when mounting the filesystem.- Returns:
- builder
-
mountName
public LustreFileSystemState.Builder mountName(java.lang.String mountName)
- Parameters:
mountName- Value to be used when mounting the filesystem.- Returns:
- builder
-
networkInterfaceIds
public LustreFileSystemState.Builder networkInterfaceIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> networkInterfaceIds)
- Parameters:
networkInterfaceIds- Set of Elastic Network Interface identifiers from which the file system is accessible. As explained in the [documentation](https://docs.aws.amazon.com/fsx/latest/LustreGuide/mounting-on-premises.html), the first network interface returned is the primary network interface.- Returns:
- builder
-
networkInterfaceIds
public LustreFileSystemState.Builder networkInterfaceIds(java.util.List<java.lang.String> networkInterfaceIds)
- Parameters:
networkInterfaceIds- Set of Elastic Network Interface identifiers from which the file system is accessible. As explained in the [documentation](https://docs.aws.amazon.com/fsx/latest/LustreGuide/mounting-on-premises.html), the first network interface returned is the primary network interface.- Returns:
- builder
-
networkInterfaceIds
public LustreFileSystemState.Builder networkInterfaceIds(java.lang.String... networkInterfaceIds)
- Parameters:
networkInterfaceIds- Set of Elastic Network Interface identifiers from which the file system is accessible. As explained in the [documentation](https://docs.aws.amazon.com/fsx/latest/LustreGuide/mounting-on-premises.html), the first network interface returned is the primary network interface.- Returns:
- builder
-
ownerId
public LustreFileSystemState.Builder ownerId(@Nullable com.pulumi.core.Output<java.lang.String> ownerId)
- Parameters:
ownerId- AWS account identifier that created the file system.- Returns:
- builder
-
ownerId
public LustreFileSystemState.Builder ownerId(java.lang.String ownerId)
- Parameters:
ownerId- AWS account identifier that created the file system.- Returns:
- builder
-
perUnitStorageThroughput
public LustreFileSystemState.Builder perUnitStorageThroughput(@Nullable com.pulumi.core.Output<java.lang.Integer> perUnitStorageThroughput)
- Parameters:
perUnitStorageThroughput- Amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Valid values for `PERSISTENT_1` deploymentType and `SSD` storageType are 50, 100, 200. Valid values for `PERSISTENT_1` deploymentType and `HDD` storageType are 12, 40. Valid values for `PERSISTENT_2` deploymentType and ` SSD ` storageType are 125, 250, 500, 1000.- Returns:
- builder
-
perUnitStorageThroughput
public LustreFileSystemState.Builder perUnitStorageThroughput(java.lang.Integer perUnitStorageThroughput)
- Parameters:
perUnitStorageThroughput- Amount of read and write throughput for each 1 tebibyte of storage, in MB/s/TiB, required for the `PERSISTENT_1` and `PERSISTENT_2` deployment_type. Valid values for `PERSISTENT_1` deploymentType and `SSD` storageType are 50, 100, 200. Valid values for `PERSISTENT_1` deploymentType and `HDD` storageType are 12, 40. Valid values for `PERSISTENT_2` deploymentType and ` SSD ` storageType are 125, 250, 500, 1000.- Returns:
- builder
-
region
public LustreFileSystemState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public LustreFileSystemState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
rootSquashConfiguration
public LustreFileSystemState.Builder rootSquashConfiguration(@Nullable com.pulumi.core.Output<LustreFileSystemRootSquashConfigurationArgs> rootSquashConfiguration)
- Parameters:
rootSquashConfiguration- Lustre root squash configuration used when creating an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user. See `rootSquashConfiguration` Block for details.- Returns:
- builder
-
rootSquashConfiguration
public LustreFileSystemState.Builder rootSquashConfiguration(LustreFileSystemRootSquashConfigurationArgs rootSquashConfiguration)
- Parameters:
rootSquashConfiguration- Lustre root squash configuration used when creating an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user. See `rootSquashConfiguration` Block for details.- Returns:
- builder
-
securityGroupIds
public LustreFileSystemState.Builder securityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
- Parameters:
securityGroupIds- List of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.- Returns:
- builder
-
securityGroupIds
public LustreFileSystemState.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
- Parameters:
securityGroupIds- List of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.- Returns:
- builder
-
securityGroupIds
public LustreFileSystemState.Builder securityGroupIds(java.lang.String... securityGroupIds)
- Parameters:
securityGroupIds- List of IDs for the security groups that apply to the specified network interfaces created for file system access. These security groups will apply to all network interfaces.- Returns:
- builder
-
skipFinalBackup
public LustreFileSystemState.Builder skipFinalBackup(@Nullable com.pulumi.core.Output<java.lang.Boolean> skipFinalBackup)
- Parameters:
skipFinalBackup- When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `true`. **Note:** If the filesystem uses a Scratch deployment type, final backup during delete will always be skipped and this argument will not be used even when set.- Returns:
- builder
-
skipFinalBackup
public LustreFileSystemState.Builder skipFinalBackup(java.lang.Boolean skipFinalBackup)
- Parameters:
skipFinalBackup- When enabled, will skip the default final backup taken when the file system is deleted. This configuration must be applied separately before attempting to delete the resource to have the desired behavior. Defaults to `true`. **Note:** If the filesystem uses a Scratch deployment type, final backup during delete will always be skipped and this argument will not be used even when set.- Returns:
- builder
-
storageCapacity
public LustreFileSystemState.Builder storageCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> storageCapacity)
- Parameters:
storageCapacity- Storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for FSx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2`, `PERSISTENT_1` and `PERSISTENT_2` deployment types, See more details at [FSx Storage Capacity Update](https://docs.aws.amazon.com/fsx/latest/APIReference/API_UpdateFileSystem.html#FSx-UpdateFileSystem-request-StorageCapacity). Required when not creating filesystem for a backup.- Returns:
- builder
-
storageCapacity
public LustreFileSystemState.Builder storageCapacity(java.lang.Integer storageCapacity)
- Parameters:
storageCapacity- Storage capacity (GiB) of the file system. Minimum of `1200`. See more details at [Allowed values for FSx storage capacity](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystem.html#FSx-CreateFileSystem-request-StorageCapacity). Update is allowed only for `SCRATCH_2`, `PERSISTENT_1` and `PERSISTENT_2` deployment types, See more details at [FSx Storage Capacity Update](https://docs.aws.amazon.com/fsx/latest/APIReference/API_UpdateFileSystem.html#FSx-UpdateFileSystem-request-StorageCapacity). Required when not creating filesystem for a backup.- Returns:
- builder
-
storageType
public LustreFileSystemState.Builder storageType(@Nullable com.pulumi.core.Output<java.lang.String> storageType)
- Parameters:
storageType- Filesystem storage type. One of `SSD`, `HDD` or `INTELLIGENT_TIERING`, defaults to `SSD`. `HDD` is only supported on `PERSISTENT_1` deployment types. `INTELLIGENT_TIERING` requires `dataReadCacheConfiguration` and `metadataConfiguration` to be set and is only supported for `PERSISTENT_2` deployment types.- Returns:
- builder
-
storageType
public LustreFileSystemState.Builder storageType(java.lang.String storageType)
- Parameters:
storageType- Filesystem storage type. One of `SSD`, `HDD` or `INTELLIGENT_TIERING`, defaults to `SSD`. `HDD` is only supported on `PERSISTENT_1` deployment types. `INTELLIGENT_TIERING` requires `dataReadCacheConfiguration` and `metadataConfiguration` to be set and is only supported for `PERSISTENT_2` deployment types.- Returns:
- builder
-
subnetIds
public LustreFileSystemState.Builder subnetIds(@Nullable com.pulumi.core.Output<java.lang.String> subnetIds)
- Parameters:
subnetIds- List of IDs for the subnets that the file system will be accessible from. File systems currently support only one subnet. The file server is also launched in that subnet's Availability Zone.- Returns:
- builder
-
subnetIds
public LustreFileSystemState.Builder subnetIds(java.lang.String subnetIds)
- Parameters:
subnetIds- List of IDs for the subnets that the file system will be accessible from. File systems currently support only one subnet. The file server is also launched in that subnet's Availability Zone.- Returns:
- builder
-
tags
public LustreFileSystemState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public LustreFileSystemState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the file system. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public LustreFileSystemState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public LustreFileSystemState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
throughputCapacity
public LustreFileSystemState.Builder throughputCapacity(@Nullable com.pulumi.core.Output<java.lang.Integer> throughputCapacity)
- Parameters:
throughputCapacity- Throughput in MBps required for the `INTELLIGENT_TIERING` storage type. Must be 4000 or multiples of 4000.- Returns:
- builder
-
throughputCapacity
public LustreFileSystemState.Builder throughputCapacity(java.lang.Integer throughputCapacity)
- Parameters:
throughputCapacity- Throughput in MBps required for the `INTELLIGENT_TIERING` storage type. Must be 4000 or multiples of 4000.- Returns:
- builder
-
vpcId
public LustreFileSystemState.Builder vpcId(@Nullable com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId- Identifier of the VPC for the file system.- Returns:
- builder
-
vpcId
public LustreFileSystemState.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId- Identifier of the VPC for the file system.- Returns:
- builder
-
weeklyMaintenanceStartTime
public LustreFileSystemState.Builder weeklyMaintenanceStartTime(@Nullable com.pulumi.core.Output<java.lang.String> weeklyMaintenanceStartTime)
- Parameters:
weeklyMaintenanceStartTime- Preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone.- Returns:
- builder
-
weeklyMaintenanceStartTime
public LustreFileSystemState.Builder weeklyMaintenanceStartTime(java.lang.String weeklyMaintenanceStartTime)
- Parameters:
weeklyMaintenanceStartTime- Preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone.- Returns:
- builder
-
build
public LustreFileSystemState build()
-
-