@Generated(value="software.amazon.awssdk:codegen") public final class BlockDeviceMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
Describes a block device mapping.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BlockDeviceMapping.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BlockDeviceMapping.Builder |
builder() |
String |
deviceName()
The device name exposed to the EC2 instance (for example,
/dev/sdh or xvdh). |
Ebs |
ebs()
The information about the Amazon EBS volume.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
noDevice()
Suppresses a device mapping.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BlockDeviceMapping.Builder> |
serializableBuilderClass() |
BlockDeviceMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
virtualName()
The name of the virtual device (for example,
ephemeral0). |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String virtualName()
The name of the virtual device (for example, ephemeral0).
ephemeral0).public String deviceName()
The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more
information, see Device Naming
on Linux Instances in the Amazon EC2 User Guide for Linux Instances.
/dev/sdh or xvdh).
For more information, see Device Naming on Linux
Instances in the Amazon EC2 User Guide for Linux Instances.public Ebs ebs()
The information about the Amazon EBS volume.
public Boolean noDevice()
Suppresses a device mapping.
If this parameter is true for the root device, the instance might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches a replacement instance.
If this parameter is true for the root device, the instance might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches a replacement instance.
public BlockDeviceMapping.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>public static BlockDeviceMapping.Builder builder()
public static Class<? extends BlockDeviceMapping.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.