|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceBlockDeviceMappingSpecification
public class InstanceBlockDeviceMappingSpecification
Specifies how an instance's block devices should be mapped on a running instance.
Constructor Summary | |
---|---|
InstanceBlockDeviceMappingSpecification()
|
Method Summary | |
---|---|
String |
getDeviceName()
The device name (e.g., /dev/sdh ) at which the block
device is exposed on the instance. |
EbsInstanceBlockDeviceSpecification |
getEbs()
The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance. |
String |
getNoDevice()
When set to the empty string, specifies that the device name in this object should not be mapped to any real device. |
String |
getVirtualName()
The virtual device name. |
void |
setDeviceName(String deviceName)
The device name (e.g., /dev/sdh ) at which the block
device is exposed on the instance. |
void |
setEbs(EbsInstanceBlockDeviceSpecification ebs)
The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance. |
void |
setNoDevice(String noDevice)
When set to the empty string, specifies that the device name in this object should not be mapped to any real device. |
void |
setVirtualName(String virtualName)
The virtual device name. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceBlockDeviceMappingSpecification |
withDeviceName(String deviceName)
The device name (e.g., /dev/sdh ) at which the block
device is exposed on the instance. |
InstanceBlockDeviceMappingSpecification |
withEbs(EbsInstanceBlockDeviceSpecification ebs)
The EBS instance block device specification describing the EBS block device to map to the specified device name on a running instance. |
InstanceBlockDeviceMappingSpecification |
withNoDevice(String noDevice)
When set to the empty string, specifies that the device name in this object should not be mapped to any real device. |
InstanceBlockDeviceMappingSpecification |
withVirtualName(String virtualName)
The virtual device name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceBlockDeviceMappingSpecification()
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 InstanceBlockDeviceMappingSpecification 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 EbsInstanceBlockDeviceSpecification getEbs()
public void setEbs(EbsInstanceBlockDeviceSpecification ebs)
ebs
- The EBS instance block device specification describing the EBS block
device to map to the specified device name on a running instance.public InstanceBlockDeviceMappingSpecification withEbs(EbsInstanceBlockDeviceSpecification ebs)
Returns a reference to this object so that method calls can be chained together.
ebs
- The EBS instance block device specification describing the EBS block
device to map to the specified device name on a running instance.
public String getVirtualName()
public void setVirtualName(String virtualName)
virtualName
- The virtual device name.public InstanceBlockDeviceMappingSpecification withVirtualName(String virtualName)
Returns a reference to this object so that method calls can be chained together.
virtualName
- The virtual device name.
public String getNoDevice()
public void setNoDevice(String noDevice)
noDevice
- When set to the empty string, specifies that the device name in this
object should not be mapped to any real device.public InstanceBlockDeviceMappingSpecification withNoDevice(String noDevice)
Returns a reference to this object so that method calls can be chained together.
noDevice
- When set to the empty string, specifies that the device name in this
object should not be mapped to any real device.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |