@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskInfo extends Object implements Serializable, Cloneable
Describes a disk.
Constructor and Description |
---|
DiskInfo() |
Modifier and Type | Method and Description |
---|---|
DiskInfo |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of disks with this configuration.
|
Long |
getSizeInGB()
The size of the disk in GB.
|
String |
getType()
The type of disk.
|
int |
hashCode() |
void |
setCount(Integer count)
The number of disks with this configuration.
|
void |
setSizeInGB(Long sizeInGB)
The size of the disk in GB.
|
void |
setType(String type)
The type of disk.
|
String |
toString()
Returns a string representation of this object.
|
DiskInfo |
withCount(Integer count)
The number of disks with this configuration.
|
DiskInfo |
withSizeInGB(Long sizeInGB)
The size of the disk in GB.
|
DiskInfo |
withType(DiskType type)
The type of disk.
|
DiskInfo |
withType(String type)
The type of disk.
|
public void setSizeInGB(Long sizeInGB)
The size of the disk in GB.
sizeInGB
- The size of the disk in GB.public Long getSizeInGB()
The size of the disk in GB.
public DiskInfo withSizeInGB(Long sizeInGB)
The size of the disk in GB.
sizeInGB
- The size of the disk in GB.public void setCount(Integer count)
The number of disks with this configuration.
count
- The number of disks with this configuration.public Integer getCount()
The number of disks with this configuration.
public DiskInfo withCount(Integer count)
The number of disks with this configuration.
count
- The number of disks with this configuration.public void setType(String type)
The type of disk.
type
- The type of disk.DiskType
public DiskInfo withType(String type)
The type of disk.
type
- The type of disk.DiskType
public DiskInfo withType(DiskType type)
The type of disk.
type
- The type of disk.DiskType
public String toString()
toString
in class Object
Object.toString()