Class InstanceBlockDeviceMapping
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.InstanceBlockDeviceMapping
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>
@Generated("software.amazon.awssdk:codegen") public final class InstanceBlockDeviceMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>
Defines block device mappings for the instance used to configure your image.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceBlockDeviceMapping.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceBlockDeviceMapping.Builderbuilder()StringdeviceName()The device to which these mappings apply.EbsInstanceBlockDeviceSpecificationebs()Use to manage Amazon EBS-specific configuration for this mapping.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnoDevice()Use to remove a mapping from the base image.List<SdkField<?>>sdkFields()static Class<? extends InstanceBlockDeviceMapping.Builder>serializableBuilderClass()InstanceBlockDeviceMapping.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvirtualName()Use to manage instance ephemeral devices.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deviceName
public final String deviceName()
The device to which these mappings apply.
- Returns:
- The device to which these mappings apply.
-
ebs
public final EbsInstanceBlockDeviceSpecification ebs()
Use to manage Amazon EBS-specific configuration for this mapping.
- Returns:
- Use to manage Amazon EBS-specific configuration for this mapping.
-
virtualName
public final String virtualName()
Use to manage instance ephemeral devices.
- Returns:
- Use to manage instance ephemeral devices.
-
noDevice
public final String noDevice()
Use to remove a mapping from the base image.
- Returns:
- Use to remove a mapping from the base image.
-
toBuilder
public InstanceBlockDeviceMapping.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceBlockDeviceMapping.Builder,InstanceBlockDeviceMapping>
-
builder
public static InstanceBlockDeviceMapping.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceBlockDeviceMapping.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-