@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceBlockDeviceMapping extends Object implements Serializable, Cloneable
Describes a block device mapping.
Constructor and Description |
---|
InstanceBlockDeviceMapping() |
Modifier and Type | Method and Description |
---|---|
InstanceBlockDeviceMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceName()
The device name (for example,
/dev/sdh or xvdh ). |
EbsInstanceBlockDevice |
getEbs()
Parameters used to automatically set up EBS volumes when the instance is launched.
|
int |
hashCode() |
void |
setDeviceName(String deviceName)
The device name (for example,
/dev/sdh or xvdh ). |
void |
setEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.
|
String |
toString()
Returns a string representation of this object.
|
InstanceBlockDeviceMapping |
withDeviceName(String deviceName)
The device name (for example,
/dev/sdh or xvdh ). |
InstanceBlockDeviceMapping |
withEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.
|
public void setDeviceName(String deviceName)
The device name (for example, /dev/sdh
or xvdh
).
deviceName
- The device name (for example, /dev/sdh
or xvdh
).public String getDeviceName()
The device name (for example, /dev/sdh
or xvdh
).
/dev/sdh
or xvdh
).public InstanceBlockDeviceMapping withDeviceName(String deviceName)
The device name (for example, /dev/sdh
or xvdh
).
deviceName
- The device name (for example, /dev/sdh
or xvdh
).public void setEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.
ebs
- Parameters used to automatically set up EBS volumes when the instance is launched.public EbsInstanceBlockDevice getEbs()
Parameters used to automatically set up EBS volumes when the instance is launched.
public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up EBS volumes when the instance is launched.
ebs
- Parameters used to automatically set up EBS volumes when the instance is launched.public String toString()
toString
in class Object
Object.toString()
public InstanceBlockDeviceMapping clone()