@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskInfo extends Object implements Serializable, Cloneable, StructuredPojo
Describes a disk.
Constructor and Description |
---|
DiskInfo() |
Modifier and Type | Method and Description |
---|---|
DiskInfo |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
String |
getName()
The disk name.
|
String |
getPath()
The disk path.
|
Integer |
getSizeInGb()
The size of the disk in GB (
32 ). |
int |
hashCode() |
Boolean |
isSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsSystemDisk(Boolean isSystemDisk)
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
void |
setName(String name)
The disk name.
|
void |
setPath(String path)
The disk path.
|
void |
setSizeInGb(Integer sizeInGb)
The size of the disk in GB (
32 ). |
String |
toString()
Returns a string representation of this object.
|
DiskInfo |
withIsSystemDisk(Boolean isSystemDisk)
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
DiskInfo |
withName(String name)
The disk name.
|
DiskInfo |
withPath(String path)
The disk path.
|
DiskInfo |
withSizeInGb(Integer sizeInGb)
The size of the disk in GB (
32 ). |
public void setName(String name)
The disk name.
name
- The disk name.public String getName()
The disk name.
public DiskInfo withName(String name)
The disk name.
name
- The disk name.public void setPath(String path)
The disk path.
path
- The disk path.public String getPath()
The disk path.
public DiskInfo withPath(String path)
The disk path.
path
- The disk path.public void setSizeInGb(Integer sizeInGb)
The size of the disk in GB (32
).
sizeInGb
- The size of the disk in GB (32
).public Integer getSizeInGb()
The size of the disk in GB (32
).
32
).public DiskInfo withSizeInGb(Integer sizeInGb)
The size of the disk in GB (32
).
sizeInGb
- The size of the disk in GB (32
).public void setIsSystemDisk(Boolean isSystemDisk)
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
isSystemDisk
- A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).public Boolean getIsSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
public DiskInfo withIsSystemDisk(Boolean isSystemDisk)
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
isSystemDisk
- A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).public Boolean isSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.