@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()
Suppresses the specified device included in the block device mapping of the AMI.
|
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 String deviceName()
The device name.
public String virtualName()
The virtual device name (ephemeralN).
public LaunchTemplateEbsBlockDevice ebs()
Information about the block device for an EBS volume.
public String noDevice()
Suppresses the specified device included in the block device mapping of the AMI.
public LaunchTemplateBlockDeviceMapping.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<LaunchTemplateBlockDeviceMapping.Builder,LaunchTemplateBlockDeviceMapping>
public static LaunchTemplateBlockDeviceMapping.Builder builder()
public static Class<? extends LaunchTemplateBlockDeviceMapping.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.