Class DiskIopsConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.fsx.model.DiskIopsConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DiskIopsConfiguration.Builder,DiskIopsConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DiskIopsConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DiskIopsConfiguration.Builder,DiskIopsConfiguration>
The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP, Amazon FSx for Windows File Server, or FSx for OpenZFS file system. By default, Amazon FSx automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how it is was provisioned, or the mode (by the customer or by Amazon FSx).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDiskIopsConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskIopsConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longiops()The total number of SSD IOPS provisioned for the file system.DiskIopsConfigurationModemode()Specifies whether the file system is using theAUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, , or if it using aUSER_PROVISIONEDvalue.StringmodeAsString()Specifies whether the file system is using theAUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, , or if it using aUSER_PROVISIONEDvalue.List<SdkField<?>>sdkFields()static Class<? extends DiskIopsConfiguration.Builder>serializableBuilderClass()DiskIopsConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of 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
-
mode
public final DiskIopsConfigurationMode mode()
Specifies whether the file system is using the
AUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, , or if it using aUSER_PROVISIONEDvalue.If the service returns an enum value that is not available in the current SDK version,
modewill returnDiskIopsConfigurationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- Specifies whether the file system is using the
AUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, , or if it using aUSER_PROVISIONEDvalue. - See Also:
DiskIopsConfigurationMode
-
modeAsString
public final String modeAsString()
Specifies whether the file system is using the
AUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, , or if it using aUSER_PROVISIONEDvalue.If the service returns an enum value that is not available in the current SDK version,
modewill returnDiskIopsConfigurationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- Specifies whether the file system is using the
AUTOMATICsetting of SSD IOPS of 3 IOPS per GB of storage capacity, , or if it using aUSER_PROVISIONEDvalue. - See Also:
DiskIopsConfigurationMode
-
iops
public final Long iops()
The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of
HAPairsandStorageCapacity. The minimum value is calculated asStorageCapacity* 3 *HAPairs(3 IOPS per GB ofStorageCapacity). The maximum value is calculated as 200,000 *HAPairs.Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of
Iopsis outside of the minimum or maximum values.- Returns:
- The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of
HAPairsandStorageCapacity. The minimum value is calculated asStorageCapacity* 3 *HAPairs(3 IOPS per GB ofStorageCapacity). The maximum value is calculated as 200,000 *HAPairs.Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of
Iopsis outside of the minimum or maximum values.
-
toBuilder
public DiskIopsConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DiskIopsConfiguration.Builder,DiskIopsConfiguration>
-
builder
public static DiskIopsConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DiskIopsConfiguration.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.
-
-