@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateBlockDeviceMapping extends Object implements Serializable, Cloneable
Describes a block device mapping.
Constructor and Description |
---|
LaunchTemplateBlockDeviceMapping() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateBlockDeviceMapping |
clone() |
boolean |
equals(Object obj) |
String |
getDeviceName()
The device name.
|
LaunchTemplateEbsBlockDevice |
getEbs()
Information about the block device for an EBS volume.
|
String |
getNoDevice()
Suppresses the specified device included in the block device mapping of the AMI.
|
String |
getVirtualName()
The virtual device name (ephemeralN).
|
int |
hashCode() |
void |
setDeviceName(String deviceName)
The device name.
|
void |
setEbs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.
|
void |
setNoDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
|
void |
setVirtualName(String virtualName)
The virtual device name (ephemeralN).
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateBlockDeviceMapping |
withDeviceName(String deviceName)
The device name.
|
LaunchTemplateBlockDeviceMapping |
withEbs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.
|
LaunchTemplateBlockDeviceMapping |
withNoDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
|
LaunchTemplateBlockDeviceMapping |
withVirtualName(String virtualName)
The virtual device name (ephemeralN).
|
public void setDeviceName(String deviceName)
The device name.
deviceName
- The device name.public String getDeviceName()
The device name.
public LaunchTemplateBlockDeviceMapping withDeviceName(String deviceName)
The device name.
deviceName
- The device name.public void setVirtualName(String virtualName)
The virtual device name (ephemeralN).
virtualName
- The virtual device name (ephemeralN).public String getVirtualName()
The virtual device name (ephemeralN).
public LaunchTemplateBlockDeviceMapping withVirtualName(String virtualName)
The virtual device name (ephemeralN).
virtualName
- The virtual device name (ephemeralN).public void setEbs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.
ebs
- Information about the block device for an EBS volume.public LaunchTemplateEbsBlockDevice getEbs()
Information about the block device for an EBS volume.
public LaunchTemplateBlockDeviceMapping withEbs(LaunchTemplateEbsBlockDevice ebs)
Information about the block device for an EBS volume.
ebs
- Information about the block device for an EBS volume.public void setNoDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
noDevice
- Suppresses the specified device included in the block device mapping of the AMI.public String getNoDevice()
Suppresses the specified device included in the block device mapping of the AMI.
public LaunchTemplateBlockDeviceMapping withNoDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
noDevice
- Suppresses the specified device included in the block device mapping of the AMI.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateBlockDeviceMapping clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.