|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.BlockDeviceMapping
public class BlockDeviceMapping
The BlockDeviceMappingItemType data type.
Constructor Summary | |
---|---|
BlockDeviceMapping()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDeviceName()
Specifies the device name (e.g., /dev/sdh ). |
EbsBlockDevice |
getEbs()
Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched. |
java.lang.String |
getNoDevice()
Specifies the device name to suppress during instance launch. |
java.lang.String |
getVirtualName()
Specifies the virtual device name. |
int |
hashCode()
|
void |
setDeviceName(java.lang.String deviceName)
Specifies the device name (e.g., /dev/sdh ). |
void |
setEbs(EbsBlockDevice ebs)
Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched. |
void |
setNoDevice(java.lang.String noDevice)
Specifies the device name to suppress during instance launch. |
void |
setVirtualName(java.lang.String virtualName)
Specifies the virtual device name. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BlockDeviceMapping |
withDeviceName(java.lang.String deviceName)
Specifies the device name (e.g., /dev/sdh ). |
BlockDeviceMapping |
withEbs(EbsBlockDevice ebs)
Specifies parameters used to automatically setup Amazon EBS volumes when the instance is launched. |
BlockDeviceMapping |
withNoDevice(java.lang.String noDevice)
Specifies the device name to suppress during instance launch. |
BlockDeviceMapping |
withVirtualName(java.lang.String virtualName)
Specifies the virtual device name. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlockDeviceMapping()
Method Detail |
---|
public java.lang.String getVirtualName()
public void setVirtualName(java.lang.String virtualName)
virtualName
- Specifies the virtual device name.public BlockDeviceMapping withVirtualName(java.lang.String virtualName)
Returns a reference to this object so that method calls can be chained together.
virtualName
- Specifies the virtual device name.
public java.lang.String getDeviceName()
/dev/sdh
).
/dev/sdh
).public void setDeviceName(java.lang.String deviceName)
/dev/sdh
).
deviceName
- Specifies the device name (e.g., /dev/sdh
).public BlockDeviceMapping withDeviceName(java.lang.String deviceName)
/dev/sdh
).
Returns a reference to this object so that method calls can be chained together.
deviceName
- Specifies the device name (e.g., /dev/sdh
).
public EbsBlockDevice getEbs()
public void setEbs(EbsBlockDevice ebs)
ebs
- Specifies parameters used to automatically setup Amazon EBS volumes
when the instance is launched.public BlockDeviceMapping withEbs(EbsBlockDevice ebs)
Returns a reference to this object so that method calls can be chained together.
ebs
- Specifies parameters used to automatically setup Amazon EBS volumes
when the instance is launched.
public java.lang.String getNoDevice()
public void setNoDevice(java.lang.String noDevice)
noDevice
- Specifies the device name to suppress during instance launch.public BlockDeviceMapping withNoDevice(java.lang.String noDevice)
Returns a reference to this object so that method calls can be chained together.
noDevice
- Specifies the device name to suppress during instance launch.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |