@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiskMap extends Object implements Serializable, Cloneable, StructuredPojo
Describes a block storage disk mapping.
| Constructor and Description |
|---|
DiskMap() |
| Modifier and Type | Method and Description |
|---|---|
DiskMap |
clone() |
boolean |
equals(Object obj) |
String |
getNewDiskName()
The new disk name (
my-new-disk). |
String |
getOriginalDiskPath()
The original disk path exposed to the instance (for example,
/dev/sdh). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNewDiskName(String newDiskName)
The new disk name (
my-new-disk). |
void |
setOriginalDiskPath(String originalDiskPath)
The original disk path exposed to the instance (for example,
/dev/sdh). |
String |
toString()
Returns a string representation of this object.
|
DiskMap |
withNewDiskName(String newDiskName)
The new disk name (
my-new-disk). |
DiskMap |
withOriginalDiskPath(String originalDiskPath)
The original disk path exposed to the instance (for example,
/dev/sdh). |
public void setOriginalDiskPath(String originalDiskPath)
The original disk path exposed to the instance (for example, /dev/sdh).
originalDiskPath - The original disk path exposed to the instance (for example, /dev/sdh).public String getOriginalDiskPath()
The original disk path exposed to the instance (for example, /dev/sdh).
/dev/sdh).public DiskMap withOriginalDiskPath(String originalDiskPath)
The original disk path exposed to the instance (for example, /dev/sdh).
originalDiskPath - The original disk path exposed to the instance (for example, /dev/sdh).public void setNewDiskName(String newDiskName)
The new disk name (my-new-disk).
newDiskName - The new disk name (my-new-disk).public String getNewDiskName()
The new disk name (my-new-disk).
my-new-disk).public DiskMap withNewDiskName(String newDiskName)
The new disk name (my-new-disk).
newDiskName - The new disk name (my-new-disk).public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.