Class OpenZfsFileSystemArgs.Builder

  • Enclosing class:
    OpenZfsFileSystemArgs

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

      • automaticBackupRetentionDays

        public OpenZfsFileSystemArgs.Builder automaticBackupRetentionDays​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.Integer> automaticBackupRetentionDays)
        Parameters:
        automaticBackupRetentionDays - The 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.
        Returns:
        builder
      • automaticBackupRetentionDays

        public OpenZfsFileSystemArgs.Builder automaticBackupRetentionDays​(java.lang.Integer automaticBackupRetentionDays)
        Parameters:
        automaticBackupRetentionDays - The 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.
        Returns:
        builder
      • backupId

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

        public OpenZfsFileSystemArgs.Builder copyTagsToBackups​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> copyTagsToBackups)
        Parameters:
        copyTagsToBackups - A boolean flag indicating whether tags for the file system should be copied to backups. The default value is false.
        Returns:
        builder
      • copyTagsToBackups

        public OpenZfsFileSystemArgs.Builder copyTagsToBackups​(java.lang.Boolean copyTagsToBackups)
        Parameters:
        copyTagsToBackups - A boolean flag indicating whether tags for the file system should be copied to backups. The default value is false.
        Returns:
        builder
      • copyTagsToVolumes

        public OpenZfsFileSystemArgs.Builder copyTagsToVolumes​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Boolean> copyTagsToVolumes)
        Parameters:
        copyTagsToVolumes - A boolean flag indicating whether tags for the file system should be copied to snapshots. The default value is false.
        Returns:
        builder
      • copyTagsToVolumes

        public OpenZfsFileSystemArgs.Builder copyTagsToVolumes​(java.lang.Boolean copyTagsToVolumes)
        Parameters:
        copyTagsToVolumes - A boolean flag indicating whether tags for the file system should be copied to snapshots. The default value is false.
        Returns:
        builder
      • dailyAutomaticBackupStartTime

        public OpenZfsFileSystemArgs.Builder dailyAutomaticBackupStartTime​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> dailyAutomaticBackupStartTime)
        Parameters:
        dailyAutomaticBackupStartTime - A 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. Requires `automatic_backup_retention_days` to be set.
        Returns:
        builder
      • dailyAutomaticBackupStartTime

        public OpenZfsFileSystemArgs.Builder dailyAutomaticBackupStartTime​(java.lang.String dailyAutomaticBackupStartTime)
        Parameters:
        dailyAutomaticBackupStartTime - A 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. Requires `automatic_backup_retention_days` to be set.
        Returns:
        builder
      • deploymentType

        public OpenZfsFileSystemArgs.Builder deploymentType​(com.pulumi.core.Output<java.lang.String> deploymentType)
        Parameters:
        deploymentType - The filesystem deployment type. Valid values: `SINGLE_AZ_1`, `SINGLE_AZ_2` and `MULTI_AZ_1`.
        Returns:
        builder
      • deploymentType

        public OpenZfsFileSystemArgs.Builder deploymentType​(java.lang.String deploymentType)
        Parameters:
        deploymentType - The filesystem deployment type. Valid values: `SINGLE_AZ_1`, `SINGLE_AZ_2` and `MULTI_AZ_1`.
        Returns:
        builder
      • endpointIpAddressRange

        public OpenZfsFileSystemArgs.Builder endpointIpAddressRange​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> endpointIpAddressRange)
        Parameters:
        endpointIpAddressRange - (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created.
        Returns:
        builder
      • endpointIpAddressRange

        public OpenZfsFileSystemArgs.Builder endpointIpAddressRange​(java.lang.String endpointIpAddressRange)
        Parameters:
        endpointIpAddressRange - (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created.
        Returns:
        builder
      • kmsKeyId

        public OpenZfsFileSystemArgs.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 OpenZfsFileSystemArgs.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
      • preferredSubnetId

        public OpenZfsFileSystemArgs.Builder preferredSubnetId​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> preferredSubnetId)
        Parameters:
        preferredSubnetId - (Multi-AZ only) Required when `deployment_type` is set to `MULTI_AZ_1`. This specifies the subnet in which you want the preferred file server to be located.
        Returns:
        builder
      • preferredSubnetId

        public OpenZfsFileSystemArgs.Builder preferredSubnetId​(java.lang.String preferredSubnetId)
        Parameters:
        preferredSubnetId - (Multi-AZ only) Required when `deployment_type` is set to `MULTI_AZ_1`. This specifies the subnet in which you want the preferred file server to be located.
        Returns:
        builder
      • rootVolumeConfiguration

        public OpenZfsFileSystemArgs.Builder rootVolumeConfiguration​(@Nullable
                                                                     com.pulumi.core.Output<OpenZfsFileSystemRootVolumeConfigurationArgs> rootVolumeConfiguration)
        Parameters:
        rootVolumeConfiguration - The configuration for the root volume of the file system. All other volumes are children or the root volume. See Root Volume Configuration below.
        Returns:
        builder
      • routeTableIds

        public OpenZfsFileSystemArgs.Builder routeTableIds​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> routeTableIds)
        Parameters:
        routeTableIds - (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table.
        Returns:
        builder
      • routeTableIds

        public OpenZfsFileSystemArgs.Builder routeTableIds​(java.util.List<java.lang.String> routeTableIds)
        Parameters:
        routeTableIds - (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table.
        Returns:
        builder
      • routeTableIds

        public OpenZfsFileSystemArgs.Builder routeTableIds​(java.lang.String... routeTableIds)
        Parameters:
        routeTableIds - (Multi-AZ only) Specifies the route tables in which Amazon FSx creates the rules for routing traffic to the correct file server. You should specify all virtual private cloud (VPC) route tables associated with the subnets in which your clients are located. By default, Amazon FSx selects your VPC's default route table.
        Returns:
        builder
      • securityGroupIds

        public OpenZfsFileSystemArgs.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 OpenZfsFileSystemArgs.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 OpenZfsFileSystemArgs.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
      • skipFinalBackup

        public OpenZfsFileSystemArgs.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 OpenZfsFileSystemArgs.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 OpenZfsFileSystemArgs.Builder storageCapacity​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> storageCapacity)
        Parameters:
        storageCapacity - The storage capacity (GiB) of the file system. Valid values between `64` and `524288`.
        Returns:
        builder
      • storageCapacity

        public OpenZfsFileSystemArgs.Builder storageCapacity​(java.lang.Integer storageCapacity)
        Parameters:
        storageCapacity - The storage capacity (GiB) of the file system. Valid values between `64` and `524288`.
        Returns:
        builder
      • storageType

        public OpenZfsFileSystemArgs.Builder storageType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - The filesystem storage type. Only `SSD` is supported.
        Returns:
        builder
      • storageType

        public OpenZfsFileSystemArgs.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - The filesystem storage type. Only `SSD` is supported.
        Returns:
        builder
      • subnetIds

        public OpenZfsFileSystemArgs.Builder subnetIds​(com.pulumi.core.Output<java.lang.String> subnetIds)
        Parameters:
        subnetIds - A list of IDs for the subnets that the file system will be accessible from.
        Returns:
        builder
      • subnetIds

        public OpenZfsFileSystemArgs.Builder subnetIds​(java.lang.String subnetIds)
        Parameters:
        subnetIds - A list of IDs for the subnets that the file system will be accessible from.
        Returns:
        builder
      • tags

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

        public OpenZfsFileSystemArgs.Builder throughputCapacity​(com.pulumi.core.Output<java.lang.Integer> throughputCapacity)
        Parameters:
        throughputCapacity - Throughput (MB/s) of the file system. Valid values depend on `deployment_type`. Must be one of `64`, `128`, `256`, `512`, `1024`, `2048`, `3072`, `4096` for `SINGLE_AZ_1`. Must be one of `160`, `320`, `640`, `1280`, `2560`, `3840`, `5120`, `7680`, `10240` for `SINGLE_AZ_2`.
        Returns:
        builder
      • throughputCapacity

        public OpenZfsFileSystemArgs.Builder throughputCapacity​(java.lang.Integer throughputCapacity)
        Parameters:
        throughputCapacity - Throughput (MB/s) of the file system. Valid values depend on `deployment_type`. Must be one of `64`, `128`, `256`, `512`, `1024`, `2048`, `3072`, `4096` for `SINGLE_AZ_1`. Must be one of `160`, `320`, `640`, `1280`, `2560`, `3840`, `5120`, `7680`, `10240` for `SINGLE_AZ_2`.
        Returns:
        builder
      • weeklyMaintenanceStartTime

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