Class OntapFileSystemConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.OntapFileSystemConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OntapFileSystemConfiguration.Builder,OntapFileSystemConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class OntapFileSystemConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OntapFileSystemConfiguration.Builder,OntapFileSystemConfiguration>
Configuration for the FSx for NetApp ONTAP file system.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOntapFileSystemConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerautomaticBackupRetentionDays()Returns the value of the AutomaticBackupRetentionDays property for this object.static OntapFileSystemConfiguration.Builderbuilder()StringdailyAutomaticBackupStartTime()Returns the value of the DailyAutomaticBackupStartTime property for this object.OntapDeploymentTypedeploymentType()Specifies the FSx for ONTAP file system deployment type in use in the file system.StringdeploymentTypeAsString()Specifies the FSx for ONTAP file system deployment type in use in the file system.DiskIopsConfigurationdiskIopsConfiguration()The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.StringendpointIpAddressRange()(Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system will be created.FileSystemEndpointsendpoints()TheManagementandInterclusterendpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfsxAdminPassword()You can use thefsxadminuser account to access the NetApp ONTAP CLI and REST API.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)IntegerhaPairs()Specifies how many high-availability (HA) file server pairs the file system will have.inthashCode()booleanhasRouteTableIds()For responses, this returns true if the service returned a value for the RouteTableIds property.StringpreferredSubnetId()Returns the value of the PreferredSubnetId property for this object.List<String>routeTableIds()(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends OntapFileSystemConfiguration.Builder>serializableBuilderClass()IntegerthroughputCapacity()Returns the value of the ThroughputCapacity property for this object.IntegerthroughputCapacityPerHAPair()Use to choose the throughput capacity per HA pair.OntapFileSystemConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringweeklyMaintenanceStartTime()Returns the value of the WeeklyMaintenanceStartTime property for this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
automaticBackupRetentionDays
public final Integer automaticBackupRetentionDays()
Returns the value of the AutomaticBackupRetentionDays property for this object.- Returns:
- The value of the AutomaticBackupRetentionDays property for this object.
-
dailyAutomaticBackupStartTime
public final String dailyAutomaticBackupStartTime()
Returns the value of the DailyAutomaticBackupStartTime property for this object.- Returns:
- The value of the DailyAutomaticBackupStartTime property for this object.
-
deploymentType
public final OntapDeploymentType 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.
If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnOntapDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- 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.
-
- See Also:
OntapDeploymentType
-
-
deploymentTypeAsString
public final String deploymentTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnOntapDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- 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.
-
- See Also:
OntapDeploymentType
-
-
endpointIpAddressRange
public final String 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:
- (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.
-
endpoints
public final FileSystemEndpoints 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.- Returns:
- The
ManagementandInterclusterendpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror.
-
diskIopsConfiguration
public final DiskIopsConfiguration diskIopsConfiguration()
The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.
- Returns:
- The SSD IOPS configuration for the ONTAP file system, specifying the number of provisioned IOPS and the provision mode.
-
preferredSubnetId
public final String preferredSubnetId()
Returns the value of the PreferredSubnetId property for this object.- Returns:
- The value of the PreferredSubnetId property for this object.
-
hasRouteTableIds
public final boolean hasRouteTableIds()
For responses, this returns true if the service returned a value for the RouteTableIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
routeTableIds
public final List<String> routeTableIds()
(Multi-AZ only) The VPC route tables in which your file system's endpoints are created.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasRouteTableIds()method.- Returns:
- (Multi-AZ only) The VPC route tables in which your file system's endpoints are created.
-
throughputCapacity
public final Integer throughputCapacity()
Returns the value of the ThroughputCapacity property for this object.- Returns:
- The value of the ThroughputCapacity property for this object.
-
weeklyMaintenanceStartTime
public final String weeklyMaintenanceStartTime()
Returns the value of the WeeklyMaintenanceStartTime property for this object.- Returns:
- The value of the WeeklyMaintenanceStartTime property for this object.
-
fsxAdminPassword
public final String 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.- Returns:
- You can use the
fsxadminuser account to access the NetApp ONTAP CLI and REST API. The password value is always redacted in the response.
-
haPairs
public final Integer 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.
- Returns:
- 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.
-
-
-
throughputCapacityPerHAPair
public final 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.
- Returns:
- 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.
-
-
-
toBuilder
public OntapFileSystemConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OntapFileSystemConfiguration.Builder,OntapFileSystemConfiguration>
-
builder
public static OntapFileSystemConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends OntapFileSystemConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-