Class WindowsFileSystemArgs.Builder

  • Enclosing class:
    WindowsFileSystemArgs

    public static final class WindowsFileSystemArgs.Builder
    extends java.lang.Object
    • Method Detail

      • activeDirectoryId

        public WindowsFileSystemArgs.Builder activeDirectoryId​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> activeDirectoryId)
        Parameters:
        activeDirectoryId - ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with `selfManagedActiveDirectory`.
        Returns:
        builder
      • activeDirectoryId

        public WindowsFileSystemArgs.Builder activeDirectoryId​(java.lang.String activeDirectoryId)
        Parameters:
        activeDirectoryId - ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with `selfManagedActiveDirectory`.
        Returns:
        builder
      • aliases

        public WindowsFileSystemArgs.Builder aliases​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> aliases)
        Parameters:
        aliases - Array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see [Working with DNS Aliases](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html)
        Returns:
        builder
      • aliases

        public WindowsFileSystemArgs.Builder aliases​(java.util.List<java.lang.String> aliases)
        Parameters:
        aliases - Array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see [Working with DNS Aliases](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html)
        Returns:
        builder
      • aliases

        public WindowsFileSystemArgs.Builder aliases​(java.lang.String... aliases)
        Parameters:
        aliases - Array DNS alias names that you want to associate with the Amazon FSx file system. For more information, see [Working with DNS Aliases](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-dns-aliases.html)
        Returns:
        builder
      • auditLogConfiguration

        public WindowsFileSystemArgs.Builder auditLogConfiguration​(@Nullable
                                                                   com.pulumi.core.Output<WindowsFileSystemAuditLogConfigurationArgs> auditLogConfiguration)
        Parameters:
        auditLogConfiguration - Configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See `auditLogConfiguration` Block for details.
        Returns:
        builder
      • auditLogConfiguration

        public WindowsFileSystemArgs.Builder auditLogConfiguration​(WindowsFileSystemAuditLogConfigurationArgs auditLogConfiguration)
        Parameters:
        auditLogConfiguration - Configuration that Amazon FSx for Windows File Server uses to audit and log user accesses of files, folders, and file shares on the Amazon FSx for Windows File Server file system. See `auditLogConfiguration` Block for details.
        Returns:
        builder
      • automaticBackupRetentionDays

        public WindowsFileSystemArgs.Builder automaticBackupRetentionDays​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.Integer> automaticBackupRetentionDays)
        Parameters:
        automaticBackupRetentionDays - Number of days to retain automatic backups. Minimum of `0` and maximum of `90`. Defaults to `7`. Set to `0` to disable.
        Returns:
        builder
      • automaticBackupRetentionDays

        public WindowsFileSystemArgs.Builder automaticBackupRetentionDays​(java.lang.Integer automaticBackupRetentionDays)
        Parameters:
        automaticBackupRetentionDays - Number of days to retain automatic backups. Minimum of `0` and maximum of `90`. Defaults to `7`. Set to `0` to disable.
        Returns:
        builder
      • backupId

        public WindowsFileSystemArgs.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 WindowsFileSystemArgs.Builder backupId​(java.lang.String backupId)
        Parameters:
        backupId - ID of the source backup to create the filesystem from.
        Returns:
        builder
      • copyTagsToBackups

        public WindowsFileSystemArgs.Builder copyTagsToBackups​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> copyTagsToBackups)
        Parameters:
        copyTagsToBackups - Whether to copy tags on the file system to backups. Defaults to `false`.
        Returns:
        builder
      • copyTagsToBackups

        public WindowsFileSystemArgs.Builder copyTagsToBackups​(java.lang.Boolean copyTagsToBackups)
        Parameters:
        copyTagsToBackups - Whether to copy tags on the file system to backups. Defaults to `false`.
        Returns:
        builder
      • dailyAutomaticBackupStartTime

        public WindowsFileSystemArgs.Builder dailyAutomaticBackupStartTime​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> dailyAutomaticBackupStartTime)
        Parameters:
        dailyAutomaticBackupStartTime - Preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone.
        Returns:
        builder
      • dailyAutomaticBackupStartTime

        public WindowsFileSystemArgs.Builder dailyAutomaticBackupStartTime​(java.lang.String dailyAutomaticBackupStartTime)
        Parameters:
        dailyAutomaticBackupStartTime - Preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone.
        Returns:
        builder
      • deploymentType

        public WindowsFileSystemArgs.Builder deploymentType​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> deploymentType)
        Parameters:
        deploymentType - File system deployment type. Valid values are `MULTI_AZ_1`, `SINGLE_AZ_1` and `SINGLE_AZ_2`. Default value is `SINGLE_AZ_1`.
        Returns:
        builder
      • deploymentType

        public WindowsFileSystemArgs.Builder deploymentType​(java.lang.String deploymentType)
        Parameters:
        deploymentType - File system deployment type. Valid values are `MULTI_AZ_1`, `SINGLE_AZ_1` and `SINGLE_AZ_2`. Default value is `SINGLE_AZ_1`.
        Returns:
        builder
      • diskIopsConfiguration

        public WindowsFileSystemArgs.Builder diskIopsConfiguration​(@Nullable
                                                                   com.pulumi.core.Output<WindowsFileSystemDiskIopsConfigurationArgs> diskIopsConfiguration)
        Parameters:
        diskIopsConfiguration - SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See `diskIopsConfiguration` Block for details.
        Returns:
        builder
      • finalBackupTags

        public WindowsFileSystemArgs.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.
        Returns:
        builder
      • finalBackupTags

        public WindowsFileSystemArgs.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.
        Returns:
        builder
      • kmsKeyId

        public WindowsFileSystemArgs.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. Defaults to an AWS managed KMS Key.
        Returns:
        builder
      • kmsKeyId

        public WindowsFileSystemArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - ARN for the KMS Key to encrypt the file system at rest. Defaults to an AWS managed KMS Key.
        Returns:
        builder
      • networkType

        public WindowsFileSystemArgs.Builder networkType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> networkType)
        Parameters:
        networkType - Network type. Valid values are `IPV4` and `DUAL`. Default value is `IPV4`.
        Returns:
        builder
      • networkType

        public WindowsFileSystemArgs.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - Network type. Valid values are `IPV4` and `DUAL`. Default value is `IPV4`.
        Returns:
        builder
      • preferredSubnetId

        public WindowsFileSystemArgs.Builder preferredSubnetId​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> preferredSubnetId)
        Parameters:
        preferredSubnetId - Subnet in which you want the preferred file server to be located. Required for when deployment type is `MULTI_AZ_1`.
        Returns:
        builder
      • preferredSubnetId

        public WindowsFileSystemArgs.Builder preferredSubnetId​(java.lang.String preferredSubnetId)
        Parameters:
        preferredSubnetId - Subnet in which you want the preferred file server to be located. Required for when deployment type is `MULTI_AZ_1`.
        Returns:
        builder
      • region

        public WindowsFileSystemArgs.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 WindowsFileSystemArgs.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
      • securityGroupIds

        public WindowsFileSystemArgs.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 WindowsFileSystemArgs.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 WindowsFileSystemArgs.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
      • selfManagedActiveDirectory

        public WindowsFileSystemArgs.Builder selfManagedActiveDirectory​(@Nullable
                                                                        com.pulumi.core.Output<WindowsFileSystemSelfManagedActiveDirectoryArgs> selfManagedActiveDirectory)
        Parameters:
        selfManagedActiveDirectory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with `activeDirectoryId`. See `selfManagedActiveDirectory` Block for details.
        Returns:
        builder
      • selfManagedActiveDirectory

        public WindowsFileSystemArgs.Builder selfManagedActiveDirectory​(WindowsFileSystemSelfManagedActiveDirectoryArgs selfManagedActiveDirectory)
        Parameters:
        selfManagedActiveDirectory - Configuration block that Amazon FSx uses to join the Windows File Server instance to your self-managed (including on-premises) Microsoft Active Directory (AD) directory. Cannot be specified with `activeDirectoryId`. See `selfManagedActiveDirectory` Block for details.
        Returns:
        builder
      • skipFinalBackup

        public WindowsFileSystemArgs.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 `false`.
        Returns:
        builder
      • skipFinalBackup

        public WindowsFileSystemArgs.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 `false`.
        Returns:
        builder
      • storageCapacity

        public WindowsFileSystemArgs.Builder storageCapacity​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> storageCapacity)
        Parameters:
        storageCapacity - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to `HDD` the minimum value is 2000. Required when not creating filesystem for a backup.
        Returns:
        builder
      • storageCapacity

        public WindowsFileSystemArgs.Builder storageCapacity​(java.lang.Integer storageCapacity)
        Parameters:
        storageCapacity - Storage capacity (GiB) of the file system. Minimum of 32 and maximum of 65536. If the storage type is set to `HDD` the minimum value is 2000. Required when not creating filesystem for a backup.
        Returns:
        builder
      • storageType

        public WindowsFileSystemArgs.Builder storageType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - Storage type. Valid values are `SSD` and `HDD`. `HDD` is supported on `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types. Default value is `SSD`.
        Returns:
        builder
      • storageType

        public WindowsFileSystemArgs.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - Storage type. Valid values are `SSD` and `HDD`. `HDD` is supported on `SINGLE_AZ_2` and `MULTI_AZ_1` Windows file system deployment types. Default value is `SSD`.
        Returns:
        builder
      • subnetIds

        public WindowsFileSystemArgs.Builder subnetIds​(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - List of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deploymentType` to `MULTI_AZ_1`.
        Returns:
        builder
      • subnetIds

        public WindowsFileSystemArgs.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - List of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deploymentType` to `MULTI_AZ_1`.
        Returns:
        builder
      • subnetIds

        public WindowsFileSystemArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - List of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deploymentType` to `MULTI_AZ_1`.
        Returns:
        builder
      • tags

        public WindowsFileSystemArgs.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 WindowsFileSystemArgs.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
      • throughputCapacity

        public WindowsFileSystemArgs.Builder throughputCapacity​(com.pulumi.core.Output<java.lang.Integer> throughputCapacity)
        Parameters:
        throughputCapacity - Throughput (megabytes per second) of the file system. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/performance.html). The following arguments are optional:
        Returns:
        builder
      • throughputCapacity

        public WindowsFileSystemArgs.Builder throughputCapacity​(java.lang.Integer throughputCapacity)
        Parameters:
        throughputCapacity - Throughput (megabytes per second) of the file system. For valid values, refer to the [AWS documentation](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/performance.html). The following arguments are optional:
        Returns:
        builder
      • weeklyMaintenanceStartTime

        public WindowsFileSystemArgs.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 WindowsFileSystemArgs.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