|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceBlockDeviceMapping
public class InstanceBlockDeviceMapping
Describes how block devices are mapped on an Amazon EC2 instance.
Constructor Summary | |
---|---|
InstanceBlockDeviceMapping()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDeviceName()
The device name (e.g., /dev/sdh ) at which the block
device is exposed on the instance. |
EbsInstanceBlockDevice |
getEbs()
The optional EBS device mapped to the specified device name. |
int |
hashCode()
|
void |
setDeviceName(String deviceName)
The device name (e.g., /dev/sdh ) at which the block
device is exposed on the instance. |
void |
setEbs(EbsInstanceBlockDevice ebs)
The optional EBS device mapped to the specified device name. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceBlockDeviceMapping |
withDeviceName(String deviceName)
The device name (e.g., /dev/sdh ) at which the block
device is exposed on the instance. |
InstanceBlockDeviceMapping |
withEbs(EbsInstanceBlockDevice ebs)
The optional EBS device mapped to the specified device name. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceBlockDeviceMapping()
Method Detail |
---|
public String getDeviceName()
/dev/sdh
) at which the block
device is exposed on the instance.
/dev/sdh
) at which the block
device is exposed on the instance.public void setDeviceName(String deviceName)
/dev/sdh
) at which the block
device is exposed on the instance.
deviceName
- The device name (e.g., /dev/sdh
) at which the block
device is exposed on the instance.public InstanceBlockDeviceMapping withDeviceName(String deviceName)
/dev/sdh
) at which the block
device is exposed on the instance.
Returns a reference to this object so that method calls can be chained together.
deviceName
- The device name (e.g., /dev/sdh
) at which the block
device is exposed on the instance.
public EbsInstanceBlockDevice getEbs()
public void setEbs(EbsInstanceBlockDevice ebs)
ebs
- The optional EBS device mapped to the specified device name.public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDevice ebs)
Returns a reference to this object so that method calls can be chained together.
ebs
- The optional EBS device mapped to the specified device name.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |