|
||||||||||
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 | |
---|---|
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. |
String |
getNoDevice()
Specifies the device name to suppress during instance launch. |
String |
getVirtualName()
Specifies the virtual device name. |
void |
setDeviceName(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(String noDevice)
Specifies the device name to suppress during instance launch. |
void |
setVirtualName(String virtualName)
Specifies the virtual device name. |
String |
toString()
|
BlockDeviceMapping |
withDeviceName(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(String noDevice)
Specifies the device name to suppress during instance launch. |
BlockDeviceMapping |
withVirtualName(String virtualName)
Specifies the virtual device name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlockDeviceMapping()
Method Detail |
---|
public String getVirtualName()
public void setVirtualName(String virtualName)
virtualName
- Specifies the virtual device name.public BlockDeviceMapping withVirtualName(String virtualName)
Returns a reference to this object so that method calls can be chained together.
virtualName
- Specifies the virtual device name.
public String getDeviceName()
public void setDeviceName(String deviceName)
deviceName
- Specifies the device name (e.g., /dev/sdh).public BlockDeviceMapping withDeviceName(String deviceName)
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 String getNoDevice()
public void setNoDevice(String noDevice)
noDevice
- Specifies the device name to suppress during instance launch.public BlockDeviceMapping withNoDevice(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 String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |