Class OntapFileSystemState.Builder

  • Enclosing class:
    OntapFileSystemState

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

      • arn

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

        public OntapFileSystemState.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 OntapFileSystemState.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
      • dailyAutomaticBackupStartTime

        public OntapFileSystemState.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 OntapFileSystemState.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
      • deploymentType

        public OntapFileSystemState.Builder deploymentType​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> deploymentType)
        Parameters:
        deploymentType - Filesystem deployment type. Supports `MULTI_AZ_1`, `MULTI_AZ_2`, `SINGLE_AZ_1`, and `SINGLE_AZ_2`.
        Returns:
        builder
      • deploymentType

        public OntapFileSystemState.Builder deploymentType​(java.lang.String deploymentType)
        Parameters:
        deploymentType - Filesystem deployment type. Supports `MULTI_AZ_1`, `MULTI_AZ_2`, `SINGLE_AZ_1`, and `SINGLE_AZ_2`.
        Returns:
        builder
      • diskIopsConfiguration

        public OntapFileSystemState.Builder diskIopsConfiguration​(@Nullable
                                                                  com.pulumi.core.Output<OntapFileSystemDiskIopsConfigurationArgs> diskIopsConfiguration)
        Parameters:
        diskIopsConfiguration - SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See `diskIopsConfiguration` below.
        Returns:
        builder
      • dnsName

        public OntapFileSystemState.Builder dnsName​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> dnsName)
        Parameters:
        dnsName - Domain Name Service (DNS) name for the file system. You can mount your file system using its DNS name.
        Returns:
        builder
      • dnsName

        public OntapFileSystemState.Builder dnsName​(java.lang.String dnsName)
        Parameters:
        dnsName - Domain Name Service (DNS) name for the file system. You can mount your file system using its DNS name.
        Returns:
        builder
      • endpointIpAddressRange

        public OntapFileSystemState.Builder endpointIpAddressRange​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> endpointIpAddressRange)
        Parameters:
        endpointIpAddressRange - IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.\* range. Note that the 198.19.\* range is also used by AWS services such as WorkSpaces and AppStream 2.0 for their [management network interfaces](https://docs.aws.amazon.com/appstream2/latest/developerguide/management_ports.html).
        Returns:
        builder
      • endpointIpAddressRange

        public OntapFileSystemState.Builder endpointIpAddressRange​(java.lang.String endpointIpAddressRange)
        Parameters:
        endpointIpAddressRange - IP address range in which the endpoints to access your file system will be created. By default, Amazon FSx selects an unused IP address range for you from the 198.19.\* range. Note that the 198.19.\* range is also used by AWS services such as WorkSpaces and AppStream 2.0 for their [management network interfaces](https://docs.aws.amazon.com/appstream2/latest/developerguide/management_ports.html).
        Returns:
        builder
      • endpoints

        public OntapFileSystemState.Builder endpoints​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<OntapFileSystemEndpointArgs>> endpoints)
        Parameters:
        endpoints - Endpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See `endpoints` below.
        Returns:
        builder
      • endpoints

        public OntapFileSystemState.Builder endpoints​(java.util.List<OntapFileSystemEndpointArgs> endpoints)
        Parameters:
        endpoints - Endpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See `endpoints` below.
        Returns:
        builder
      • endpoints

        public OntapFileSystemState.Builder endpoints​(OntapFileSystemEndpointArgs... endpoints)
        Parameters:
        endpoints - Endpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See `endpoints` below.
        Returns:
        builder
      • fsxAdminPassword

        public OntapFileSystemState.Builder fsxAdminPassword​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> fsxAdminPassword)
        Parameters:
        fsxAdminPassword - ONTAP administrative password for the fsxadmin user that you can use to administer your file system using the ONTAP CLI and REST API.
        Returns:
        builder
      • fsxAdminPassword

        public OntapFileSystemState.Builder fsxAdminPassword​(java.lang.String fsxAdminPassword)
        Parameters:
        fsxAdminPassword - ONTAP administrative password for the fsxadmin user that you can use to administer your file system using the ONTAP CLI and REST API.
        Returns:
        builder
      • haPairs

        public OntapFileSystemState.Builder haPairs​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> haPairs)
        Parameters:
        haPairs - Number of haPairs to deploy for the file system. Valid value is 1 for `SINGLE_AZ_1` or `MULTI_AZ_1` and `MULTI_AZ_2`. Valid values are 1 through 12 for `SINGLE_AZ_2`.
        Returns:
        builder
      • haPairs

        public OntapFileSystemState.Builder haPairs​(java.lang.Integer haPairs)
        Parameters:
        haPairs - Number of haPairs to deploy for the file system. Valid value is 1 for `SINGLE_AZ_1` or `MULTI_AZ_1` and `MULTI_AZ_2`. Valid values are 1 through 12 for `SINGLE_AZ_2`.
        Returns:
        builder
      • kmsKeyId

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

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

        public OntapFileSystemState.Builder preferredSubnetId​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> preferredSubnetId)
        Parameters:
        preferredSubnetId - ID for a subnet. A subnet is a range of IP addresses in your VPC.
        Returns:
        builder
      • preferredSubnetId

        public OntapFileSystemState.Builder preferredSubnetId​(java.lang.String preferredSubnetId)
        Parameters:
        preferredSubnetId - ID for a subnet. A subnet is a range of IP addresses in your VPC.
        Returns:
        builder
      • region

        public OntapFileSystemState.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 OntapFileSystemState.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
      • routeTableIds

        public OntapFileSystemState.Builder routeTableIds​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> routeTableIds)
        Parameters:
        routeTableIds - VPC route tables in which your file system's endpoints will be created. 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 OntapFileSystemState.Builder routeTableIds​(java.util.List<java.lang.String> routeTableIds)
        Parameters:
        routeTableIds - VPC route tables in which your file system's endpoints will be created. 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 OntapFileSystemState.Builder routeTableIds​(java.lang.String... routeTableIds)
        Parameters:
        routeTableIds - VPC route tables in which your file system's endpoints will be created. 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 OntapFileSystemState.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 OntapFileSystemState.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 OntapFileSystemState.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
      • storageCapacity

        public OntapFileSystemState.Builder storageCapacity​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> storageCapacity)
        Parameters:
        storageCapacity - Storage capacity (GiB) of the file system. Valid values between `1024` and `196608` for file systems with deploymentType `SINGLE_AZ_1` and `MULTI_AZ_1`. Valid values are between `1024` and `524288` for `MULTI_AZ_2`. Valid values between `1024` (`1024` per ha pair) and `1048576` for file systems with deploymentType `SINGLE_AZ_2`. For `SINGLE_AZ_2`, the `1048576` (1PB) maximum is only supported when using 2 or more ha_pairs, the maximum is `524288` (512TB) when using 1 ha_pair.
        Returns:
        builder
      • storageCapacity

        public OntapFileSystemState.Builder storageCapacity​(java.lang.Integer storageCapacity)
        Parameters:
        storageCapacity - Storage capacity (GiB) of the file system. Valid values between `1024` and `196608` for file systems with deploymentType `SINGLE_AZ_1` and `MULTI_AZ_1`. Valid values are between `1024` and `524288` for `MULTI_AZ_2`. Valid values between `1024` (`1024` per ha pair) and `1048576` for file systems with deploymentType `SINGLE_AZ_2`. For `SINGLE_AZ_2`, the `1048576` (1PB) maximum is only supported when using 2 or more ha_pairs, the maximum is `524288` (512TB) when using 1 ha_pair.
        Returns:
        builder
      • storageType

        public OntapFileSystemState.Builder storageType​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> storageType)
        Parameters:
        storageType - Filesystem storage type. Defaults to `SSD`.
        Returns:
        builder
      • storageType

        public OntapFileSystemState.Builder storageType​(java.lang.String storageType)
        Parameters:
        storageType - Filesystem storage type. Defaults to `SSD`.
        Returns:
        builder
      • subnetIds

        public OntapFileSystemState.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. Up to 2 subnets can be provided.
        Returns:
        builder
      • subnetIds

        public OntapFileSystemState.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. Up to 2 subnets can be provided.
        Returns:
        builder
      • subnetIds

        public OntapFileSystemState.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - List of IDs for the subnets that the file system will be accessible from. Up to 2 subnets can be provided.
        Returns:
        builder
      • tags

        public OntapFileSystemState.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 OntapFileSystemState.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 OntapFileSystemState.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 OntapFileSystemState.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 OntapFileSystemState.Builder throughputCapacity​(@Nullable
                                                               com.pulumi.core.Output<java.lang.Integer> throughputCapacity)
        Parameters:
        throughputCapacity - Sets the throughput capacity (in MBps) for the file system that you're creating. Valid values are `128`, `256`, `512`, `1024`, `2048`, and `4096`. This parameter is only supported when not using the haPairs parameter. Either throughputCapacity or throughputCapacityPerHaPair must be specified.
        Returns:
        builder
      • throughputCapacity

        public OntapFileSystemState.Builder throughputCapacity​(java.lang.Integer throughputCapacity)
        Parameters:
        throughputCapacity - Sets the throughput capacity (in MBps) for the file system that you're creating. Valid values are `128`, `256`, `512`, `1024`, `2048`, and `4096`. This parameter is only supported when not using the haPairs parameter. Either throughputCapacity or throughputCapacityPerHaPair must be specified.
        Returns:
        builder
      • throughputCapacityPerHaPair

        public OntapFileSystemState.Builder throughputCapacityPerHaPair​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.Integer> throughputCapacityPerHaPair)
        Parameters:
        throughputCapacityPerHaPair - Sets the per-HA-pair throughput capacity (in MBps) for the file system that you're creating, as opposed to `throughputCapacity` which specifies the total throughput capacity for the file system. Valid value for `MULTI_AZ_1` and `SINGLE_AZ_1` are `128`, `256`, `512`, `1024`, `2048`, and `4096`. Valid values for deployment type `MULTI_AZ_2` and `SINGLE_AZ_2` are `384`,`768`,`1536`,`3072`,`6144` where `haPairs` is `1`. Valid values for deployment type `SINGLE_AZ_2` are `1536`, `3072`, and `6144` where `haPairs` is greater than 1. This parameter is only supported when specifying the haPairs parameter. Either throughputCapacity or throughputCapacityPerHaPair must be specified.
        Returns:
        builder
      • throughputCapacityPerHaPair

        public OntapFileSystemState.Builder throughputCapacityPerHaPair​(java.lang.Integer throughputCapacityPerHaPair)
        Parameters:
        throughputCapacityPerHaPair - Sets the per-HA-pair throughput capacity (in MBps) for the file system that you're creating, as opposed to `throughputCapacity` which specifies the total throughput capacity for the file system. Valid value for `MULTI_AZ_1` and `SINGLE_AZ_1` are `128`, `256`, `512`, `1024`, `2048`, and `4096`. Valid values for deployment type `MULTI_AZ_2` and `SINGLE_AZ_2` are `384`,`768`,`1536`,`3072`,`6144` where `haPairs` is `1`. Valid values for deployment type `SINGLE_AZ_2` are `1536`, `3072`, and `6144` where `haPairs` is greater than 1. This parameter is only supported when specifying the haPairs parameter. Either throughputCapacity or throughputCapacityPerHaPair must be specified.
        Returns:
        builder
      • vpcId

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

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