@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 or Amazon FSx for OpenZFS file system. The default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per GB of storage. The configuration consists of the total number of provisioned SSD IOPS and how the amount was provisioned (by the customer or by the system).
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 number of IOPS for the file system is using the system default (
AUTOMATIC ) or
was provisioned by the customer (USER_PROVISIONED ). |
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 number of IOPS for the file system is using the system default (
AUTOMATIC ) or
was provisioned by the customer (USER_PROVISIONED ). |
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 number of IOPS for the file system is using the system default (
AUTOMATIC ) or
was provisioned by the customer (USER_PROVISIONED ). |
DiskIopsConfiguration |
withMode(String mode)
Specifies whether the number of IOPS for the file system is using the system default (
AUTOMATIC ) or
was provisioned by the customer (USER_PROVISIONED ). |
public void setMode(String mode)
Specifies whether the number of IOPS for the file system is using the system default (AUTOMATIC
) or
was provisioned by the customer (USER_PROVISIONED
).
mode
- Specifies whether the number of IOPS for the file system is using the system default (
AUTOMATIC
) or was provisioned by the customer (USER_PROVISIONED
).DiskIopsConfigurationMode
public String getMode()
Specifies whether the number of IOPS for the file system is using the system default (AUTOMATIC
) or
was provisioned by the customer (USER_PROVISIONED
).
AUTOMATIC
) or was provisioned by the customer (USER_PROVISIONED
).DiskIopsConfigurationMode
public DiskIopsConfiguration withMode(String mode)
Specifies whether the number of IOPS for the file system is using the system default (AUTOMATIC
) or
was provisioned by the customer (USER_PROVISIONED
).
mode
- Specifies whether the number of IOPS for the file system is using the system default (
AUTOMATIC
) or was provisioned by the customer (USER_PROVISIONED
).DiskIopsConfigurationMode
public DiskIopsConfiguration withMode(DiskIopsConfigurationMode mode)
Specifies whether the number of IOPS for the file system is using the system default (AUTOMATIC
) or
was provisioned by the customer (USER_PROVISIONED
).
mode
- Specifies whether the number of IOPS for the file system is using the system default (
AUTOMATIC
) or was provisioned by the customer (USER_PROVISIONED
).DiskIopsConfigurationMode
public void setIops(Long iops)
The total number of SSD IOPS provisioned for the file system.
iops
- The total number of SSD IOPS provisioned for the file system.public Long getIops()
The total number of SSD IOPS provisioned for the file system.
public DiskIopsConfiguration withIops(Long iops)
The total number of SSD IOPS provisioned for the file system.
iops
- The total number of SSD IOPS provisioned for the file system.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.