public class InstanceBlockDeviceMapping extends Object implements Serializable
Describes a block device mapping.
Constructor and Description |
---|
InstanceBlockDeviceMapping() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDeviceName()
The device name exposed to the instance (for example,
|
EbsInstanceBlockDevice |
getEbs()
Parameters used to automatically set up Amazon EBS volumes when the
instance is launched.
|
int |
hashCode() |
void |
setDeviceName(String deviceName)
The device name exposed to the instance (for example,
|
void |
setEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up Amazon EBS volumes when the
instance is launched.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceBlockDeviceMapping |
withDeviceName(String deviceName)
The device name exposed to the instance (for example,
|
InstanceBlockDeviceMapping |
withEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up Amazon EBS volumes when the
instance is launched.
|
public String getDeviceName()
public void setDeviceName(String deviceName)
deviceName
- The device name exposed to the instance (for example,
public InstanceBlockDeviceMapping withDeviceName(String deviceName)
Returns a reference to this object so that method calls can be chained together.
deviceName
- The device name exposed to the instance (for example,
public EbsInstanceBlockDevice getEbs()
public void setEbs(EbsInstanceBlockDevice ebs)
ebs
- Parameters used to automatically set up Amazon EBS volumes when the
instance is launched.public InstanceBlockDeviceMapping withEbs(EbsInstanceBlockDevice ebs)
Returns a reference to this object so that method calls can be chained together.
ebs
- Parameters used to automatically set up Amazon EBS volumes when the
instance is launched.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.