@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateBlockDeviceMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>
Describes a block device mapping.
Modifier and Type | Class and Description |
---|---|
static interface |
LaunchTemplateBlockDeviceMapping.Builder |
Modifier and Type | Method and Description |
---|---|
static LaunchTemplateBlockDeviceMapping.Builder |
builder() |
String |
deviceName()
The device name.
|
LaunchTemplateEbsBlockDevice |
ebs()
Information about the block device for an EBS volume.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
noDevice()
To omit the device from the block device mapping, specify an empty string.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LaunchTemplateBlockDeviceMapping.Builder> |
serializableBuilderClass() |
LaunchTemplateBlockDeviceMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
virtualName()
The virtual device name (ephemeralN).
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String deviceName()
The device name.
public final String virtualName()
The virtual device name (ephemeralN).
public final LaunchTemplateEbsBlockDevice ebs()
Information about the block device for an EBS volume.
public final String noDevice()
To omit the device from the block device mapping, specify an empty string.
public LaunchTemplateBlockDeviceMapping.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>
public static LaunchTemplateBlockDeviceMapping.Builder builder()
public static Class<? extends LaunchTemplateBlockDeviceMapping.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.