@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskIopsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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).
Constructor and Description |
---|
DiskIopsConfiguration() |
Modifier and Type | Method and Description |
---|---|
DiskIopsConfiguration |
clone() |
boolean |
equals(Object obj) |
Long |
getIops()
The total number of SSD IOPS provisioned for the file system.
|
String |
getMode()
Specifies whether the file system is using the
AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED value. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIops(Long iops)
The total number of SSD IOPS provisioned for the file system.
|
void |
setMode(String mode)
Specifies whether the file system is using the
AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED value. |
String |
toString()
Returns a string representation of this object.
|
DiskIopsConfiguration |
withIops(Long iops)
The total number of SSD IOPS provisioned for the file system.
|
DiskIopsConfiguration |
withMode(DiskIopsConfigurationMode mode)
Specifies whether the file system is using the
AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED value. |
DiskIopsConfiguration |
withMode(String mode)
Specifies whether the file system is using the
AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED value. |
public void setMode(String mode)
Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED
value.
mode
- Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB
of storage capacity, or if it using a USER_PROVISIONED
value.DiskIopsConfigurationMode
public String getMode()
Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED
value.
AUTOMATIC
setting of SSD IOPS of 3 IOPS per
GB of storage capacity, or if it using a USER_PROVISIONED
value.DiskIopsConfigurationMode
public DiskIopsConfiguration withMode(String mode)
Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED
value.
mode
- Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB
of storage capacity, or if it using a USER_PROVISIONED
value.DiskIopsConfigurationMode
public DiskIopsConfiguration withMode(DiskIopsConfigurationMode mode)
Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB of
storage capacity, or if it using a USER_PROVISIONED
value.
mode
- Specifies whether the file system is using the AUTOMATIC
setting of SSD IOPS of 3 IOPS per GB
of storage capacity, or if it using a USER_PROVISIONED
value.DiskIopsConfigurationMode
public void setIops(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 HAPairs
and
StorageCapacity
. The minimum value is calculated as StorageCapacity
* 3 *
HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as 200,000
* HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is outside of
the minimum or maximum values.
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 HAPairs
and
StorageCapacity
. The minimum value is calculated as StorageCapacity
3 *
HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as
200,000 * HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is
outside of the minimum or maximum values.
public Long getIops()
The total number of SSD IOPS provisioned for the file system.
The minimum and maximum values for this property depend on the value of HAPairs
and
StorageCapacity
. The minimum value is calculated as StorageCapacity
* 3 *
HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as 200,000
* HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is outside of
the minimum or maximum values.
The minimum and maximum values for this property depend on the value of HAPairs
and
StorageCapacity
. The minimum value is calculated as StorageCapacity
3 *
HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as
200,000 * HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is
outside of the minimum or maximum values.
public DiskIopsConfiguration withIops(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 HAPairs
and
StorageCapacity
. The minimum value is calculated as StorageCapacity
* 3 *
HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as 200,000
* HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is outside of
the minimum or maximum values.
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 HAPairs
and
StorageCapacity
. The minimum value is calculated as StorageCapacity
3 *
HAPairs
(3 IOPS per GB of StorageCapacity
). The maximum value is calculated as
200,000 * HAPairs
.
Amazon FSx responds with an HTTP status code 400 (Bad Request) if the value of Iops
is
outside of the minimum or maximum values.
public String toString()
toString
in class Object
Object.toString()
public DiskIopsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.