Class WindowsFileSystemState.Builder

  • Enclosing class:
    WindowsFileSystemState

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

      • activeDirectoryId

        public WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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
      • arn

        public WindowsFileSystemState.Builder arn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the file system.
        Returns:
        builder
      • auditLogConfiguration

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

        public WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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
      • dnsName

        public WindowsFileSystemState.Builder dnsName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> dnsName)
        Parameters:
        dnsName - DNS name for the file system, e.g., `fs-12345678.corp.example.com` (domain name matching the Active Directory domain name)
        Returns:
        builder
      • dnsName

        public WindowsFileSystemState.Builder dnsName​(java.lang.String dnsName)
        Parameters:
        dnsName - DNS name for the file system, e.g., `fs-12345678.corp.example.com` (domain name matching the Active Directory domain name)
        Returns:
        builder
      • finalBackupTags

        public WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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
      • networkInterfaceIds

        public WindowsFileSystemState.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.
        Returns:
        builder
      • networkInterfaceIds

        public WindowsFileSystemState.Builder networkInterfaceIds​(java.util.List<java.lang.String> networkInterfaceIds)
        Parameters:
        networkInterfaceIds - Set of Elastic Network Interface identifiers from which the file system is accessible.
        Returns:
        builder
      • networkInterfaceIds

        public WindowsFileSystemState.Builder networkInterfaceIds​(java.lang.String... networkInterfaceIds)
        Parameters:
        networkInterfaceIds - Set of Elastic Network Interface identifiers from which the file system is accessible.
        Returns:
        builder
      • networkType

        public WindowsFileSystemState.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 WindowsFileSystemState.Builder networkType​(java.lang.String networkType)
        Parameters:
        networkType - Network type. Valid values are `IPV4` and `DUAL`. Default value is `IPV4`.
        Returns:
        builder
      • ownerId

        public WindowsFileSystemState.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 WindowsFileSystemState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - AWS account identifier that created the file system.
        Returns:
        builder
      • preferredFileServerIp

        public WindowsFileSystemState.Builder preferredFileServerIp​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> preferredFileServerIp)
        Parameters:
        preferredFileServerIp - IP address of the primary, or preferred, file server.
        Returns:
        builder
      • preferredFileServerIp

        public WindowsFileSystemState.Builder preferredFileServerIp​(java.lang.String preferredFileServerIp)
        Parameters:
        preferredFileServerIp - IP address of the primary, or preferred, file server.
        Returns:
        builder
      • preferredSubnetId

        public WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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
      • remoteAdministrationEndpoint

        public WindowsFileSystemState.Builder remoteAdministrationEndpoint​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> remoteAdministrationEndpoint)
        Parameters:
        remoteAdministrationEndpoint - For `MULTI_AZ_1` deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. For `SINGLE_AZ_1` deployment types, this is the DNS name of the file system.
        Returns:
        builder
      • remoteAdministrationEndpoint

        public WindowsFileSystemState.Builder remoteAdministrationEndpoint​(java.lang.String remoteAdministrationEndpoint)
        Parameters:
        remoteAdministrationEndpoint - For `MULTI_AZ_1` deployment types, use this endpoint when performing administrative tasks on the file system using Amazon FSx Remote PowerShell. For `SINGLE_AZ_1` deployment types, this is the DNS name of the file system.
        Returns:
        builder
      • securityGroupIds

        public WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.Builder subnetIds​(@Nullable
                                                        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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.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 WindowsFileSystemState.Builder throughputCapacity​(@Nullable
                                                                 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 WindowsFileSystemState.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
      • vpcId

        public WindowsFileSystemState.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 WindowsFileSystemState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - Identifier of the VPC for the file system.
        Returns:
        builder
      • weeklyMaintenanceStartTime

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