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 - The ID for an existing Microsoft Active Directory instance that the file system should join when it's created. Cannot be specified with `self_managed_active_directory`.
        Returns:
        builder
      • activeDirectoryId

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

        public WindowsFileSystemState.Builder aliases​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> aliases)
        Parameters:
        aliases - An 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 - An 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 - An 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 - Amazon Resource Name of the file system.
        Returns:
        builder
      • arn

        public WindowsFileSystemState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name of the file system.
        Returns:
        builder
      • auditLogConfiguration

        public WindowsFileSystemState.Builder auditLogConfiguration​(@Nullable
                                                                    com.pulumi.core.Output<WindowsFileSystemAuditLogConfigurationArgs> auditLogConfiguration)
        Parameters:
        auditLogConfiguration - The 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 Audit Log Configuration below.
        Returns:
        builder
      • auditLogConfiguration

        public WindowsFileSystemState.Builder auditLogConfiguration​(WindowsFileSystemAuditLogConfigurationArgs auditLogConfiguration)
        Parameters:
        auditLogConfiguration - The 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 Audit Log Configuration below.
        Returns:
        builder
      • automaticBackupRetentionDays

        public WindowsFileSystemState.Builder automaticBackupRetentionDays​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.Integer> automaticBackupRetentionDays)
        Parameters:
        automaticBackupRetentionDays - The 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 - The 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 - The ID of the source backup to create the filesystem from.
        Returns:
        builder
      • backupId

        public WindowsFileSystemState.Builder backupId​(java.lang.String backupId)
        Parameters:
        backupId - The 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 - A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to `false`.
        Returns:
        builder
      • copyTagsToBackups

        public WindowsFileSystemState.Builder copyTagsToBackups​(java.lang.Boolean copyTagsToBackups)
        Parameters:
        copyTagsToBackups - A boolean flag indicating whether tags on the file system should be copied to backups. Defaults to `false`.
        Returns:
        builder
      • dailyAutomaticBackupStartTime

        public WindowsFileSystemState.Builder dailyAutomaticBackupStartTime​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> dailyAutomaticBackupStartTime)
        Parameters:
        dailyAutomaticBackupStartTime - The 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 - The 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 - Specifies the 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 - Specifies the 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 - The SSD IOPS configuration for the Amazon FSx for Windows File Server file system. See Disk Iops Configuration below.
        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
      • 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
      • 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 - The IP address of the primary, or preferred, file server.
        Returns:
        builder
      • preferredFileServerIp

        public WindowsFileSystemState.Builder preferredFileServerIp​(java.lang.String preferredFileServerIp)
        Parameters:
        preferredFileServerIp - The 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 - Specifies the 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 - Specifies the subnet in which you want the preferred file server to be located. Required for when deployment type is `MULTI_AZ_1`.
        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 - A 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 - A 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 - A 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 `active_directory_id`. See Self-Managed Active Directory below.
        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 `active_directory_id`. See Self-Managed Active Directory below.
        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 - Specifies the 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 - Specifies the 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 - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deployment_type` to `MULTI_AZ_1`.
        Returns:
        builder
      • subnetIds

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

        public WindowsFileSystemState.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - A list of IDs for the subnets that the file system will be accessible from. To specify more than a single subnet set `deployment_type` 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 - A map of tags to assign to the file system. .If configured with a provider `default_tags` 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 - A map of tags to assign to the file system. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public WindowsFileSystemState.Builder tagsAll​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public WindowsFileSystemState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` 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 in power of 2 increments. Minimum of `8` and maximum of `2048`. 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 in power of 2 increments. Minimum of `8` and maximum of `2048`. 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 Virtual Private Cloud for the file system.
        Returns:
        builder
      • vpcId

        public WindowsFileSystemState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - Identifier of the Virtual Private Cloud for the file system.
        Returns:
        builder
      • weeklyMaintenanceStartTime

        public WindowsFileSystemState.Builder weeklyMaintenanceStartTime​(@Nullable
                                                                         com.pulumi.core.Output<java.lang.String> weeklyMaintenanceStartTime)
        Parameters:
        weeklyMaintenanceStartTime - The 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 - The preferred start time (in `d:HH:MM` format) to perform weekly maintenance, in the UTC time zone.
        Returns:
        builder