@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceStorageInfo extends Object implements Serializable, Cloneable
Describes the instance store features that are supported by the instance type.
Constructor and Description |
---|
InstanceStorageInfo() |
Modifier and Type | Method and Description |
---|---|
InstanceStorageInfo |
clone() |
boolean |
equals(Object obj) |
List<DiskInfo> |
getDisks()
Describes the disks that are available for the instance type.
|
String |
getEncryptionSupport()
Indicates whether data is encrypted at rest.
|
String |
getNvmeSupport()
Indicates whether non-volatile memory express (NVMe) is supported.
|
Long |
getTotalSizeInGB()
The total size of the disks, in GB.
|
int |
hashCode() |
void |
setDisks(Collection<DiskInfo> disks)
Describes the disks that are available for the instance type.
|
void |
setEncryptionSupport(String encryptionSupport)
Indicates whether data is encrypted at rest.
|
void |
setNvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
|
void |
setTotalSizeInGB(Long totalSizeInGB)
The total size of the disks, in GB.
|
String |
toString()
Returns a string representation of this object.
|
InstanceStorageInfo |
withDisks(Collection<DiskInfo> disks)
Describes the disks that are available for the instance type.
|
InstanceStorageInfo |
withDisks(DiskInfo... disks)
Describes the disks that are available for the instance type.
|
InstanceStorageInfo |
withEncryptionSupport(InstanceStorageEncryptionSupport encryptionSupport)
Indicates whether data is encrypted at rest.
|
InstanceStorageInfo |
withEncryptionSupport(String encryptionSupport)
Indicates whether data is encrypted at rest.
|
InstanceStorageInfo |
withNvmeSupport(EphemeralNvmeSupport nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
|
InstanceStorageInfo |
withNvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
|
InstanceStorageInfo |
withTotalSizeInGB(Long totalSizeInGB)
The total size of the disks, in GB.
|
public void setTotalSizeInGB(Long totalSizeInGB)
The total size of the disks, in GB.
totalSizeInGB
- The total size of the disks, in GB.public Long getTotalSizeInGB()
The total size of the disks, in GB.
public InstanceStorageInfo withTotalSizeInGB(Long totalSizeInGB)
The total size of the disks, in GB.
totalSizeInGB
- The total size of the disks, in GB.public List<DiskInfo> getDisks()
Describes the disks that are available for the instance type.
public void setDisks(Collection<DiskInfo> disks)
Describes the disks that are available for the instance type.
disks
- Describes the disks that are available for the instance type.public InstanceStorageInfo withDisks(DiskInfo... disks)
Describes the disks that are available for the instance type.
NOTE: This method appends the values to the existing list (if any). Use
setDisks(java.util.Collection)
or withDisks(java.util.Collection)
if you want to override the
existing values.
disks
- Describes the disks that are available for the instance type.public InstanceStorageInfo withDisks(Collection<DiskInfo> disks)
Describes the disks that are available for the instance type.
disks
- Describes the disks that are available for the instance type.public void setNvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported.EphemeralNvmeSupport
public String getNvmeSupport()
Indicates whether non-volatile memory express (NVMe) is supported.
EphemeralNvmeSupport
public InstanceStorageInfo withNvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported.EphemeralNvmeSupport
public InstanceStorageInfo withNvmeSupport(EphemeralNvmeSupport nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported.EphemeralNvmeSupport
public void setEncryptionSupport(String encryptionSupport)
Indicates whether data is encrypted at rest.
encryptionSupport
- Indicates whether data is encrypted at rest.InstanceStorageEncryptionSupport
public String getEncryptionSupport()
Indicates whether data is encrypted at rest.
InstanceStorageEncryptionSupport
public InstanceStorageInfo withEncryptionSupport(String encryptionSupport)
Indicates whether data is encrypted at rest.
encryptionSupport
- Indicates whether data is encrypted at rest.InstanceStorageEncryptionSupport
public InstanceStorageInfo withEncryptionSupport(InstanceStorageEncryptionSupport encryptionSupport)
Indicates whether data is encrypted at rest.
encryptionSupport
- Indicates whether data is encrypted at rest.InstanceStorageEncryptionSupport
public String toString()
toString
in class Object
Object.toString()
public InstanceStorageInfo clone()