Package com.pulumi.aws.fsx
Class OntapFileSystemArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.fsx.OntapFileSystemArgs.Builder
-
- Enclosing class:
- OntapFileSystemArgs
public static final class OntapFileSystemArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(OntapFileSystemArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OntapFileSystemArgs.BuilderautomaticBackupRetentionDays(com.pulumi.core.Output<java.lang.Integer> automaticBackupRetentionDays)OntapFileSystemArgs.BuilderautomaticBackupRetentionDays(java.lang.Integer automaticBackupRetentionDays)OntapFileSystemArgsbuild()OntapFileSystemArgs.BuilderdailyAutomaticBackupStartTime(com.pulumi.core.Output<java.lang.String> dailyAutomaticBackupStartTime)OntapFileSystemArgs.BuilderdailyAutomaticBackupStartTime(java.lang.String dailyAutomaticBackupStartTime)OntapFileSystemArgs.BuilderdeploymentType(com.pulumi.core.Output<java.lang.String> deploymentType)OntapFileSystemArgs.BuilderdeploymentType(java.lang.String deploymentType)OntapFileSystemArgs.BuilderdiskIopsConfiguration(OntapFileSystemDiskIopsConfigurationArgs diskIopsConfiguration)OntapFileSystemArgs.BuilderdiskIopsConfiguration(com.pulumi.core.Output<OntapFileSystemDiskIopsConfigurationArgs> diskIopsConfiguration)OntapFileSystemArgs.BuilderendpointIpAddressRange(com.pulumi.core.Output<java.lang.String> endpointIpAddressRange)OntapFileSystemArgs.BuilderendpointIpAddressRange(java.lang.String endpointIpAddressRange)OntapFileSystemArgs.BuilderfsxAdminPassword(com.pulumi.core.Output<java.lang.String> fsxAdminPassword)OntapFileSystemArgs.BuilderfsxAdminPassword(java.lang.String fsxAdminPassword)OntapFileSystemArgs.BuilderhaPairs(com.pulumi.core.Output<java.lang.Integer> haPairs)OntapFileSystemArgs.BuilderhaPairs(java.lang.Integer haPairs)OntapFileSystemArgs.BuilderkmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)OntapFileSystemArgs.BuilderkmsKeyId(java.lang.String kmsKeyId)OntapFileSystemArgs.BuildernetworkType(com.pulumi.core.Output<java.lang.String> networkType)OntapFileSystemArgs.BuildernetworkType(java.lang.String networkType)OntapFileSystemArgs.BuilderpreferredSubnetId(com.pulumi.core.Output<java.lang.String> preferredSubnetId)OntapFileSystemArgs.BuilderpreferredSubnetId(java.lang.String preferredSubnetId)OntapFileSystemArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)OntapFileSystemArgs.Builderregion(java.lang.String region)OntapFileSystemArgs.BuilderrouteTableIds(com.pulumi.core.Output<java.util.List<java.lang.String>> routeTableIds)OntapFileSystemArgs.BuilderrouteTableIds(java.lang.String... routeTableIds)OntapFileSystemArgs.BuilderrouteTableIds(java.util.List<java.lang.String> routeTableIds)OntapFileSystemArgs.BuildersecurityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)OntapFileSystemArgs.BuildersecurityGroupIds(java.lang.String... securityGroupIds)OntapFileSystemArgs.BuildersecurityGroupIds(java.util.List<java.lang.String> securityGroupIds)OntapFileSystemArgs.BuilderstorageCapacity(com.pulumi.core.Output<java.lang.Integer> storageCapacity)OntapFileSystemArgs.BuilderstorageCapacity(java.lang.Integer storageCapacity)OntapFileSystemArgs.BuilderstorageType(com.pulumi.core.Output<java.lang.String> storageType)OntapFileSystemArgs.BuilderstorageType(java.lang.String storageType)OntapFileSystemArgs.BuildersubnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)OntapFileSystemArgs.BuildersubnetIds(java.lang.String... subnetIds)OntapFileSystemArgs.BuildersubnetIds(java.util.List<java.lang.String> subnetIds)OntapFileSystemArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)OntapFileSystemArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)OntapFileSystemArgs.BuilderthroughputCapacity(com.pulumi.core.Output<java.lang.Integer> throughputCapacity)OntapFileSystemArgs.BuilderthroughputCapacity(java.lang.Integer throughputCapacity)OntapFileSystemArgs.BuilderthroughputCapacityPerHaPair(com.pulumi.core.Output<java.lang.Integer> throughputCapacityPerHaPair)OntapFileSystemArgs.BuilderthroughputCapacityPerHaPair(java.lang.Integer throughputCapacityPerHaPair)OntapFileSystemArgs.BuilderweeklyMaintenanceStartTime(com.pulumi.core.Output<java.lang.String> weeklyMaintenanceStartTime)OntapFileSystemArgs.BuilderweeklyMaintenanceStartTime(java.lang.String weeklyMaintenanceStartTime)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(OntapFileSystemArgs defaults)
-
-
Method Detail
-
automaticBackupRetentionDays
public OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.Builder deploymentType(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 OntapFileSystemArgs.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 OntapFileSystemArgs.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
-
diskIopsConfiguration
public OntapFileSystemArgs.Builder diskIopsConfiguration(OntapFileSystemDiskIopsConfigurationArgs diskIopsConfiguration)
- Parameters:
diskIopsConfiguration- SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system. See `diskIopsConfiguration` below.- Returns:
- builder
-
endpointIpAddressRange
public OntapFileSystemArgs.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 OntapFileSystemArgs.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
-
fsxAdminPassword
public OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.Builder networkType(java.lang.String networkType)
- Parameters:
networkType- Network type. Valid values are `IPV4` and `DUAL`. Default value is `IPV4`.- Returns:
- builder
-
preferredSubnetId
public OntapFileSystemArgs.Builder preferredSubnetId(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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.Builder storageCapacity(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 OntapFileSystemArgs.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 OntapFileSystemArgs.Builder storageType(@Nullable com.pulumi.core.Output<java.lang.String> storageType)
- Parameters:
storageType- Filesystem storage type. Defaults to `SSD`.- Returns:
- builder
-
storageType
public OntapFileSystemArgs.Builder storageType(java.lang.String storageType)
- Parameters:
storageType- Filesystem storage type. Defaults to `SSD`.- Returns:
- builder
-
subnetIds
public OntapFileSystemArgs.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. Up to 2 subnets can be provided.- Returns:
- builder
-
subnetIds
public OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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 OntapFileSystemArgs.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
-
weeklyMaintenanceStartTime
public OntapFileSystemArgs.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 OntapFileSystemArgs.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
-
build
public OntapFileSystemArgs build()
-
-