public class InstanceBlockDeviceMapping
extends java.lang.Object
implements java.io.Serializable
Describes how block devices are mapped on an Amazon EC2 instance.
| コンストラクタと説明 |
|---|
InstanceBlockDeviceMapping() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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. |
EbsInstanceBlockDevice |
getEbs()
The optional EBS device mapped to the specified 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(EbsInstanceBlockDevice ebs)
The optional EBS device mapped to the specified device name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceBlockDeviceMapping |
withDeviceName(java.lang.String deviceName)
The device name (e.g.,
/dev/sdh) at which the block
device is exposed on the instance. |
InstanceBlockDeviceMapping |
withEbs(EbsInstanceBlockDevice ebs)
The optional EBS device mapped to the specified 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 InstanceBlockDeviceMapping 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 EbsInstanceBlockDevice getEbs()
public void setEbs(EbsInstanceBlockDevice ebs)
ebs - The optional EBS device mapped to the specified device name.public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDevice ebs)
Returns a reference to this object so that method calls can be chained together.
ebs - The optional EBS device mapped to the specified device name.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