Class DiskImage
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.DiskImage
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DiskImage.Builder,DiskImage>
@Generated("software.amazon.awssdk:codegen") public final class DiskImage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DiskImage.Builder,DiskImage>
Describes a disk image.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DiskImage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskImage.Builder
builder()
String
description()
A description of the disk image.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
DiskImageDetail
image()
Information about the disk image.List<SdkField<?>>
sdkFields()
static Class<? extends DiskImage.Builder>
serializableBuilderClass()
DiskImage.Builder
toBuilder()
String
toString()
Returns a string representation of this object.VolumeDetail
volume()
Information about the volume.-
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
-
description
public final String description()
A description of the disk image.
- Returns:
- A description of the disk image.
-
image
public final DiskImageDetail image()
Information about the disk image.
- Returns:
- Information about the disk image.
-
volume
public final VolumeDetail volume()
Information about the volume.
- Returns:
- Information about the volume.
-
toBuilder
public DiskImage.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DiskImage.Builder,DiskImage>
-
builder
public static DiskImage.Builder builder()
-
serializableBuilderClass
public static Class<? extends DiskImage.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-