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 - 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 - 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 - ID of the source backup to create the filesystem from.
        Returns:
        builder
      • backupId

        public OpenZfsFileSystemArgs.Builder backupId​(java.lang.String backupId)
        Parameters:
        backupId - 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 - Whether tags for the file system should be copied to backups. Default value is false.
        Returns:
        builder
      • copyTagsToBackups

        public OpenZfsFileSystemArgs.Builder copyTagsToBackups​(java.lang.Boolean copyTagsToBackups)
        Parameters:
        copyTagsToBackups - Whether tags for the file system should be copied to backups. Default value is false.
        Returns:
        builder
      • copyTagsToVolumes

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

        public OpenZfsFileSystemArgs.Builder copyTagsToVolumes​(java.lang.Boolean copyTagsToVolumes)
        Parameters:
        copyTagsToVolumes - Whether tags for the file system should be copied to snapshots. Default value is false.
        Returns:
        builder
      • dailyAutomaticBackupStartTime

        public OpenZfsFileSystemArgs.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. Requires `automaticBackupRetentionDays` to be set.
        Returns:
        builder
      • dailyAutomaticBackupStartTime

        public OpenZfsFileSystemArgs.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. Requires `automaticBackupRetentionDays` to be set.
        Returns:
        builder
      • deleteOptions

        public OpenZfsFileSystemArgs.Builder deleteOptions​(@Nullable
                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> deleteOptions)
        Parameters:
        deleteOptions - List of delete options, which at present supports only one value that specifies whether to delete all child volumes and snapshots when the file system is deleted. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`.
        Returns:
        builder
      • deleteOptions

        public OpenZfsFileSystemArgs.Builder deleteOptions​(java.util.List<java.lang.String> deleteOptions)
        Parameters:
        deleteOptions - List of delete options, which at present supports only one value that specifies whether to delete all child volumes and snapshots when the file system is deleted. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`.
        Returns:
        builder
      • deleteOptions

        public OpenZfsFileSystemArgs.Builder deleteOptions​(java.lang.String... deleteOptions)
        Parameters:
        deleteOptions - List of delete options, which at present supports only one value that specifies whether to delete all child volumes and snapshots when the file system is deleted. Valid values: `DELETE_CHILD_VOLUMES_AND_SNAPSHOTS`.
        Returns:
        builder
      • deploymentType

        public OpenZfsFileSystemArgs.Builder deploymentType​(com.pulumi.core.Output<java.lang.String> deploymentType)
        Parameters:
        deploymentType - Filesystem deployment type. See the [AWS API documentation](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystemOpenZFSConfiguration.html#FSx-Type-CreateFileSystemOpenZFSConfiguration-DeploymentType) for a list of valid values.
        Returns:
        builder
      • deploymentType

        public OpenZfsFileSystemArgs.Builder deploymentType​(java.lang.String deploymentType)
        Parameters:
        deploymentType - Filesystem deployment type. See the [AWS API documentation](https://docs.aws.amazon.com/fsx/latest/APIReference/API_CreateFileSystemOpenZFSConfiguration.html#FSx-Type-CreateFileSystemOpenZFSConfiguration-DeploymentType) for a list of valid values.
        Returns:
        builder
      • diskIopsConfiguration

        public OpenZfsFileSystemArgs.Builder diskIopsConfiguration​(@Nullable
                                                                   com.pulumi.core.Output<OpenZfsFileSystemDiskIopsConfigurationArgs> diskIopsConfiguration)
        Parameters:
        diskIopsConfiguration - SSD IOPS configuration for the Amazon FSx for OpenZFS file system. See `diskIopsConfiguration` Block for details.
        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
      • finalBackupTags

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

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

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

        public OpenZfsFileSystemArgs.Builder readCacheConfiguration​(@Nullable
                                                                    com.pulumi.core.Output<OpenZfsFileSystemReadCacheConfigurationArgs> readCacheConfiguration)
        Parameters:
        readCacheConfiguration - Configuration block for optional provisioned SSD read cache on file systems that use the Intelligent-Tiering storage class. Required when `storageType` is set to `INTELLIGENT_TIERING`. See `readCacheConfiguration` Block for details.
        Returns:
        builder
      • readCacheConfiguration

        public OpenZfsFileSystemArgs.Builder readCacheConfiguration​(OpenZfsFileSystemReadCacheConfigurationArgs readCacheConfiguration)
        Parameters:
        readCacheConfiguration - Configuration block for optional provisioned SSD read cache on file systems that use the Intelligent-Tiering storage class. Required when `storageType` is set to `INTELLIGENT_TIERING`. See `readCacheConfiguration` Block for details.
        Returns:
        builder
      • region

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

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

        public OpenZfsFileSystemArgs.Builder rootVolumeConfiguration​(OpenZfsFileSystemRootVolumeConfigurationArgs rootVolumeConfiguration)
        Parameters:
        rootVolumeConfiguration - Configuration for the root volume of the file system. All other volumes are children or the root volume. See `rootVolumeConfiguration` Block for details.
        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 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 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 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 - 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 - 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 - 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 - Storage capacity (GiB) of the file system. Valid values between `64` and `524288`. Required when `storageType` is set to `SSD`. Must not be set when `storageType` is set to `INTELLIGENT_TIERING`.
        Returns:
        builder
      • storageCapacity

        public OpenZfsFileSystemArgs.Builder storageCapacity​(java.lang.Integer storageCapacity)
        Parameters:
        storageCapacity - Storage capacity (GiB) of the file system. Valid values between `64` and `524288`. Required when `storageType` is set to `SSD`. Must not be set when `storageType` is set to `INTELLIGENT_TIERING`.
        Returns:
        builder
      • storageType

        public OpenZfsFileSystemArgs.Builder storageType​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - Filesystem storage type. Valid values are `SSD` and `INTELLIGENT_TIERING`. `INTELLIGENT_TIERING` requires `deploymentType` to be `MULTI_AZ_1`.
        Returns:
        builder
      • storageType

        public OpenZfsFileSystemArgs.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - Filesystem storage type. Valid values are `SSD` and `INTELLIGENT_TIERING`. `INTELLIGENT_TIERING` requires `deploymentType` to be `MULTI_AZ_1`.
        Returns:
        builder
      • subnetIds

        public OpenZfsFileSystemArgs.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.
        Returns:
        builder
      • subnetIds

        public OpenZfsFileSystemArgs.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.
        Returns:
        builder
      • subnetIds

        public OpenZfsFileSystemArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - 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 - 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 OpenZfsFileSystemArgs.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 OpenZfsFileSystemArgs.Builder throughputCapacity​(com.pulumi.core.Output<java.lang.Integer> throughputCapacity)
        Parameters:
        throughputCapacity - Throughput (MB/s) of the file system. Valid values depend on `deploymentType`. 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`. The following arguments are optional:
        Returns:
        builder
      • throughputCapacity

        public OpenZfsFileSystemArgs.Builder throughputCapacity​(java.lang.Integer throughputCapacity)
        Parameters:
        throughputCapacity - Throughput (MB/s) of the file system. Valid values depend on `deploymentType`. 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`. The following arguments are optional:
        Returns:
        builder
      • weeklyMaintenanceStartTime

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