public class InstanceBlockDeviceMapping
extends java.lang.Object
implements java.io.Serializable
Describes a block device mapping.
| Constructor and Description | 
|---|
InstanceBlockDeviceMapping()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.lang.String | 
getDeviceName()
The device name exposed to the instance (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(java.lang.String deviceName)
The device name exposed to the instance (for example,
  
/dev/sdh or xvdh). | 
void | 
setEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up EBS volumes when the instance
 is launched. 
 | 
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 exposed to the instance (for example,
  
/dev/sdh or xvdh). | 
InstanceBlockDeviceMapping | 
withEbs(EbsInstanceBlockDevice ebs)
Parameters used to automatically set up EBS volumes when the instance
 is launched. 
 | 
public java.lang.String getDeviceName()
/dev/sdh or xvdh)./dev/sdh or xvdh).public void setDeviceName(java.lang.String deviceName)
/dev/sdh or xvdh).deviceName - The device name exposed to the instance (for example,
         /dev/sdh or xvdh).public InstanceBlockDeviceMapping withDeviceName(java.lang.String deviceName)
/dev/sdh or xvdh).
 Returns a reference to this object so that method calls can be chained together.
deviceName - The device name exposed to the instance (for example,
         /dev/sdh or xvdh).public EbsInstanceBlockDevice getEbs()
public void setEbs(EbsInstanceBlockDevice ebs)
ebs - Parameters used to automatically set up 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 EBS volumes when the instance
         is launched.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.