@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecoveryInstanceDisk extends Object implements Serializable, Cloneable, StructuredPojo
An object representing a block storage device on the Recovery Instance.
Constructor and Description |
---|
RecoveryInstanceDisk() |
Modifier and Type | Method and Description |
---|---|
RecoveryInstanceDisk |
clone() |
boolean |
equals(Object obj) |
Long |
getBytes()
The amount of storage on the disk in bytes.
|
String |
getEbsVolumeID()
The EBS Volume ID of this disk.
|
String |
getInternalDeviceName()
The internal device name of this disk.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBytes(Long bytes)
The amount of storage on the disk in bytes.
|
void |
setEbsVolumeID(String ebsVolumeID)
The EBS Volume ID of this disk.
|
void |
setInternalDeviceName(String internalDeviceName)
The internal device name of this disk.
|
String |
toString()
Returns a string representation of this object.
|
RecoveryInstanceDisk |
withBytes(Long bytes)
The amount of storage on the disk in bytes.
|
RecoveryInstanceDisk |
withEbsVolumeID(String ebsVolumeID)
The EBS Volume ID of this disk.
|
RecoveryInstanceDisk |
withInternalDeviceName(String internalDeviceName)
The internal device name of this disk.
|
public void setBytes(Long bytes)
The amount of storage on the disk in bytes.
bytes
- The amount of storage on the disk in bytes.public Long getBytes()
The amount of storage on the disk in bytes.
public RecoveryInstanceDisk withBytes(Long bytes)
The amount of storage on the disk in bytes.
bytes
- The amount of storage on the disk in bytes.public void setEbsVolumeID(String ebsVolumeID)
The EBS Volume ID of this disk.
ebsVolumeID
- The EBS Volume ID of this disk.public String getEbsVolumeID()
The EBS Volume ID of this disk.
public RecoveryInstanceDisk withEbsVolumeID(String ebsVolumeID)
The EBS Volume ID of this disk.
ebsVolumeID
- The EBS Volume ID of this disk.public void setInternalDeviceName(String internalDeviceName)
The internal device name of this disk. This is the name that is visible on the machine itself and not from the EC2 console.
internalDeviceName
- The internal device name of this disk. This is the name that is visible on the machine itself and not from
the EC2 console.public String getInternalDeviceName()
The internal device name of this disk. This is the name that is visible on the machine itself and not from the EC2 console.
public RecoveryInstanceDisk withInternalDeviceName(String internalDeviceName)
The internal device name of this disk. This is the name that is visible on the machine itself and not from the EC2 console.
internalDeviceName
- The internal device name of this disk. This is the name that is visible on the machine itself and not from
the EC2 console.public String toString()
toString
in class Object
Object.toString()
public RecoveryInstanceDisk clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.