|
|||||||
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 | |
---|---|
java.lang.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. |
java.lang.String |
getNoDevice()
When set to the empty string, specifies that the device name in this object should not be mapped to any real device. |
java.lang.String |
getVirtualName()
The virtual device name. |
void |
setDeviceName(java.lang.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(java.lang.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(java.lang.String virtualName)
The virtual device name. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceBlockDeviceMappingSpecification |
withDeviceName(java.lang.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(java.lang.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(java.lang.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 java.lang.String getDeviceName()
public void setDeviceName(java.lang.String deviceName)
deviceName
- The device name (e.g., /dev/sdh) at which the block device is exposed
on the instance.public InstanceBlockDeviceMappingSpecification withDeviceName(java.lang.String deviceName)
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 java.lang.String getVirtualName()
public void setVirtualName(java.lang.String virtualName)
virtualName
- The virtual device name.public InstanceBlockDeviceMappingSpecification withVirtualName(java.lang.String virtualName)
Returns a reference to this object so that method calls can be chained together.
virtualName
- The virtual device name.
public java.lang.String getNoDevice()
public void setNoDevice(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |