public class InstanceBlockDeviceMappingSpecification
extends java.lang.Object
implements java.io.Serializable
Specifies how an instance's block devices should be mapped on a running instance.
| コンストラクタと説明 |
|---|
InstanceBlockDeviceMappingSpecification() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
int |
hashCode() |
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.
|
public java.lang.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(java.lang.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(java.lang.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 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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object