Class OpenZfsFileSystemState.Builder

  • Enclosing class:
    OpenZfsFileSystemState

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

      • arn

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

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

        public OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.Builder deploymentType​(@Nullable
                                                             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 OpenZfsFileSystemState.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
      • dnsName

        public OpenZfsFileSystemState.Builder dnsName​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> dnsName)
        Parameters:
        dnsName - DNS name for the file system, e.g., `fs-12345678.fsx.us-west-2.amazonaws.com`
        Returns:
        builder
      • dnsName

        public OpenZfsFileSystemState.Builder dnsName​(java.lang.String dnsName)
        Parameters:
        dnsName - DNS name for the file system, e.g., `fs-12345678.fsx.us-west-2.amazonaws.com`
        Returns:
        builder
      • endpointIpAddress

        public OpenZfsFileSystemState.Builder endpointIpAddress​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> endpointIpAddress)
        Parameters:
        endpointIpAddress - IP address of the endpoint that is used to access data or to manage the file system.
        Returns:
        builder
      • endpointIpAddress

        public OpenZfsFileSystemState.Builder endpointIpAddress​(java.lang.String endpointIpAddress)
        Parameters:
        endpointIpAddress - IP address of the endpoint that is used to access data or to manage the file system.
        Returns:
        builder
      • endpointIpAddressRange

        public OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 The first network interface returned is the primary network interface.
        Returns:
        builder
      • networkInterfaceIds

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

        public OpenZfsFileSystemState.Builder networkInterfaceIds​(java.lang.String... networkInterfaceIds)
        Parameters:
        networkInterfaceIds - Set of Elastic Network Interface identifiers from which the file system is accessible The first network interface returned is the primary network interface.
        Returns:
        builder
      • networkType

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

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

        public OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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 OpenZfsFileSystemState.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
      • rootVolumeId

        public OpenZfsFileSystemState.Builder rootVolumeId​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> rootVolumeId)
        Parameters:
        rootVolumeId - Identifier of the root volume, e.g., `fsvol-12345678`
        Returns:
        builder
      • rootVolumeId

        public OpenZfsFileSystemState.Builder rootVolumeId​(java.lang.String rootVolumeId)
        Parameters:
        rootVolumeId - Identifier of the root volume, e.g., `fsvol-12345678`
        Returns:
        builder
      • routeTableIds

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

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

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

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