ToCopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
@Generated("software.amazon.awssdk:codegen") public class BlockDeviceMapping extends Object implements ToCopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
Describes a block device mapping.
Modifier and Type | Class | Description |
---|---|---|
static interface |
BlockDeviceMapping.Builder |
Modifier and Type | Method | 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) |
|
int |
hashCode() |
|
Boolean |
noDevice() |
Suppresses a device mapping.
|
static Class<? extends BlockDeviceMapping.Builder> |
serializableBuilderClass() |
|
BlockDeviceMapping.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
virtualName() |
The name of the virtual device (for example,
ephemeral0 ). |
public 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
).
/dev/sdh
or xvdh
).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. Auto Scaling launches a replacement instance if the instance fails the health check.
If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.
public BlockDeviceMapping.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BlockDeviceMapping.Builder,BlockDeviceMapping>
public static BlockDeviceMapping.Builder builder()
public static Class<? extends BlockDeviceMapping.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.