@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()
Array describing the disks that are available for the instance type.
|
Long |
getTotalSizeInGB()
The total size of the disks, in GB.
|
int |
hashCode() |
void |
setDisks(Collection<DiskInfo> disks)
Array describing the disks that are available for the instance type.
|
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)
Array describing the disks that are available for the instance type.
|
InstanceStorageInfo |
withDisks(DiskInfo... disks)
Array describing the disks that are available for the instance type.
|
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()
Array describing the disks that are available for the instance type.
public void setDisks(Collection<DiskInfo> disks)
Array describing the disks that are available for the instance type.
disks
- Array describing the disks that are available for the instance type.public InstanceStorageInfo withDisks(DiskInfo... disks)
Array describing 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
- Array describing the disks that are available for the instance type.public InstanceStorageInfo withDisks(Collection<DiskInfo> disks)
Array describing the disks that are available for the instance type.
disks
- Array describing the disks that are available for the instance type.public String toString()
toString
in class Object
Object.toString()
public InstanceStorageInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.