@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceStorageInfo extends Object implements Serializable, Cloneable
Describes the disks that are available for 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 |
getNvmeSupport()
Indicates whether non-volatile memory express (NVMe) is supported for instance store.
|
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 |
setNvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported for instance store.
|
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 |
withNvmeSupport(EphemeralNvmeSupport nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported for instance store.
|
InstanceStorageInfo |
withNvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported for instance store.
|
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 for instance store.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported for instance store.EphemeralNvmeSupport
public String getNvmeSupport()
Indicates whether non-volatile memory express (NVMe) is supported for instance store.
EphemeralNvmeSupport
public InstanceStorageInfo withNvmeSupport(String nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported for instance store.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported for instance store.EphemeralNvmeSupport
public InstanceStorageInfo withNvmeSupport(EphemeralNvmeSupport nvmeSupport)
Indicates whether non-volatile memory express (NVMe) is supported for instance store.
nvmeSupport
- Indicates whether non-volatile memory express (NVMe) is supported for instance store.EphemeralNvmeSupport
public String toString()
toString
in class Object
Object.toString()
public InstanceStorageInfo clone()