Interface OntapFileSystemConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OntapFileSystemConfiguration.Builder,,OntapFileSystemConfiguration> SdkBuilder<OntapFileSystemConfiguration.Builder,,OntapFileSystemConfiguration> SdkPojo
- Enclosing class:
OntapFileSystemConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionautomaticBackupRetentionDays(Integer automaticBackupRetentionDays) Sets the value of the AutomaticBackupRetentionDays property for this object.dailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) Sets the value of the DailyAutomaticBackupStartTime property for this object.deploymentType(String deploymentType) Specifies the FSx for ONTAP file system deployment type in use in the file system.deploymentType(OntapDeploymentType deploymentType) Specifies the FSx for ONTAP file system deployment type in use in the file system.diskIopsConfiguration(Consumer<DiskIopsConfiguration.Builder> diskIopsConfiguration) The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.diskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.endpointIpAddressRange(String endpointIpAddressRange) (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created.endpoints(Consumer<FileSystemEndpoints.Builder> endpoints) TheManagementandInterclusterendpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror.endpoints(FileSystemEndpoints endpoints) TheManagementandInterclusterendpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror.fsxAdminPassword(String fsxAdminPassword) You can use thefsxadminuser account to access the NetApp ONTAP CLI and REST API.Specifies how many high-availability (HA) file server pairs the file system will have.preferredSubnetId(String preferredSubnetId) Sets the value of the PreferredSubnetId property for this object.routeTableIds(String... routeTableIds) (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.routeTableIds(Collection<String> routeTableIds) (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.throughputCapacity(Integer throughputCapacity) Sets the value of the ThroughputCapacity property for this object.throughputCapacityPerHAPair(Integer throughputCapacityPerHAPair) Use to choose the throughput capacity per HA pair.weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) Sets the value of the WeeklyMaintenanceStartTime property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
automaticBackupRetentionDays
OntapFileSystemConfiguration.Builder automaticBackupRetentionDays(Integer automaticBackupRetentionDays) Sets the value of the AutomaticBackupRetentionDays property for this object.- Parameters:
automaticBackupRetentionDays- The new value for the AutomaticBackupRetentionDays property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dailyAutomaticBackupStartTime
OntapFileSystemConfiguration.Builder dailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) Sets the value of the DailyAutomaticBackupStartTime property for this object.- Parameters:
dailyAutomaticBackupStartTime- The new value for the DailyAutomaticBackupStartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentType
Specifies the FSx for ONTAP file system deployment type in use in the file system.
-
MULTI_AZ_1- A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system. -
MULTI_AZ_2- A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system. -
SINGLE_AZ_1- A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system. -
SINGLE_AZ_2- A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a second-generation FSx for ONTAP file system.
For information about the use cases for Multi-AZ and Single-AZ deployments, refer to Choosing Multi-AZ or Single-AZ file system deployment.
- Parameters:
deploymentType- Specifies the FSx for ONTAP file system deployment type in use in the file system.-
MULTI_AZ_1- A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system. -
MULTI_AZ_2- A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system. -
SINGLE_AZ_1- A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system. -
SINGLE_AZ_2- A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a second-generation FSx for ONTAP file system.
For information about the use cases for Multi-AZ and Single-AZ deployments, refer to Choosing Multi-AZ or Single-AZ file system deployment.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deploymentType
Specifies the FSx for ONTAP file system deployment type in use in the file system.
-
MULTI_AZ_1- A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system. -
MULTI_AZ_2- A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system. -
SINGLE_AZ_1- A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system. -
SINGLE_AZ_2- A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a second-generation FSx for ONTAP file system.
For information about the use cases for Multi-AZ and Single-AZ deployments, refer to Choosing Multi-AZ or Single-AZ file system deployment.
- Parameters:
deploymentType- Specifies the FSx for ONTAP file system deployment type in use in the file system.-
MULTI_AZ_1- A high availability file system configured for Multi-AZ redundancy to tolerate temporary Availability Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file system. -
MULTI_AZ_2- A high availability file system configured for Multi-AZ redundancy to tolerate temporary AZ unavailability. This is a second-generation FSx for ONTAP file system. -
SINGLE_AZ_1- A file system configured for Single-AZ redundancy. This is a first-generation FSx for ONTAP file system. -
SINGLE_AZ_2- A file system configured with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a second-generation FSx for ONTAP file system.
For information about the use cases for Multi-AZ and Single-AZ deployments, refer to Choosing Multi-AZ or Single-AZ file system deployment.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
endpointIpAddressRange
(Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API, Amazon FSx selects an unused IP address range for you from the 198.19.* range. By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses from the VPC’s primary CIDR range to use as the endpoint IP address range for the file system. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables.
- Parameters:
endpointIpAddressRange- (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created. By default in the Amazon FSx API, Amazon FSx selects an unused IP address range for you from the 198.19.* range. By default in the Amazon FSx console, Amazon FSx chooses the last 64 IP addresses from the VPC’s primary CIDR range to use as the endpoint IP address range for the file system. You can have overlapping endpoint IP addresses for file systems deployed in the same VPC/route tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The
ManagementandInterclusterendpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror.- Parameters:
endpoints- TheManagementandInterclusterendpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
default OntapFileSystemConfiguration.Builder endpoints(Consumer<FileSystemEndpoints.Builder> endpoints) The
This is a convenience method that creates an instance of theManagementandInterclusterendpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror.FileSystemEndpoints.Builderavoiding the need to create one manually viaFileSystemEndpoints.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(FileSystemEndpoints).- Parameters:
endpoints- a consumer that will call methods onFileSystemEndpoints.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
diskIopsConfiguration
OntapFileSystemConfiguration.Builder diskIopsConfiguration(DiskIopsConfiguration diskIopsConfiguration) The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.
- Parameters:
diskIopsConfiguration- The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskIopsConfiguration
default OntapFileSystemConfiguration.Builder diskIopsConfiguration(Consumer<DiskIopsConfiguration.Builder> diskIopsConfiguration) The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.
This is a convenience method that creates an instance of theDiskIopsConfiguration.Builderavoiding the need to create one manually viaDiskIopsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todiskIopsConfiguration(DiskIopsConfiguration).- Parameters:
diskIopsConfiguration- a consumer that will call methods onDiskIopsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preferredSubnetId
Sets the value of the PreferredSubnetId property for this object.- Parameters:
preferredSubnetId- The new value for the PreferredSubnetId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableIds
(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.
- Parameters:
routeTableIds- (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routeTableIds
(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.
- Parameters:
routeTableIds- (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throughputCapacity
Sets the value of the ThroughputCapacity property for this object.- Parameters:
throughputCapacity- The new value for the ThroughputCapacity property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weeklyMaintenanceStartTime
Sets the value of the WeeklyMaintenanceStartTime property for this object.- Parameters:
weeklyMaintenanceStartTime- The new value for the WeeklyMaintenanceStartTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fsxAdminPassword
You can use the
fsxadminuser account to access the NetApp ONTAP CLI and REST API. The password value is always redacted in the response.- Parameters:
fsxAdminPassword- You can use thefsxadminuser account to access the NetApp ONTAP CLI and REST API. The password value is always redacted in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
haPairs
Specifies how many high-availability (HA) file server pairs the file system will have. The default value is 1. The value of this property affects the values of
StorageCapacity,Iops, andThroughputCapacity. For more information, see High-availability (HA) pairs in the FSx for ONTAP user guide.Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The value of
HAPairsis less than 1 or greater than 12. -
The value of
HAPairsis greater than 1 and the value ofDeploymentTypeisSINGLE_AZ_1,MULTI_AZ_1, orMULTI_AZ_2.
- Parameters:
haPairs- Specifies how many high-availability (HA) file server pairs the file system will have. The default value is 1. The value of this property affects the values ofStorageCapacity,Iops, andThroughputCapacity. For more information, see High-availability (HA) pairs in the FSx for ONTAP user guide.Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The value of
HAPairsis less than 1 or greater than 12. -
The value of
HAPairsis greater than 1 and the value ofDeploymentTypeisSINGLE_AZ_1,MULTI_AZ_1, orMULTI_AZ_2.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
throughputCapacityPerHAPair
OntapFileSystemConfiguration.Builder throughputCapacityPerHAPair(Integer throughputCapacityPerHAPair) Use to choose the throughput capacity per HA pair. When the value of
HAPairsis equal to 1, the value ofThroughputCapacityPerHAPairis the total throughput for the file system.This field and
ThroughputCapacitycannot be defined in the same API call, but one is required.This field and
ThroughputCapacityare the same for file systems with one HA pair.-
For
SINGLE_AZ_1andMULTI_AZ_1file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. -
For
SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. -
For
MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The value of
ThroughputCapacityandThroughputCapacityPerHAPairare not the same value. -
The value of deployment type is
SINGLE_AZ_2andThroughputCapacity/ThroughputCapacityPerHAPairis not a valid HA pair (a value between 1 and 12). -
The value of
ThroughputCapacityPerHAPairis not a valid value.
- Parameters:
throughputCapacityPerHAPair- Use to choose the throughput capacity per HA pair. When the value ofHAPairsis equal to 1, the value ofThroughputCapacityPerHAPairis the total throughput for the file system.This field and
ThroughputCapacitycannot be defined in the same API call, but one is required.This field and
ThroughputCapacityare the same for file systems with one HA pair.-
For
SINGLE_AZ_1andMULTI_AZ_1file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps. -
For
SINGLE_AZ_2, valid values are 1536, 3072, or 6144 MBps. -
For
MULTI_AZ_2, valid values are 384, 768, 1536, 3072, or 6144 MBps.
Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:
-
The value of
ThroughputCapacityandThroughputCapacityPerHAPairare not the same value. -
The value of deployment type is
SINGLE_AZ_2andThroughputCapacity/ThroughputCapacityPerHAPairis not a valid HA pair (a value between 1 and 12). -
The value of
ThroughputCapacityPerHAPairis not a valid value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-