Class ImageAncestryEntry
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ImageAncestryEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageAncestryEntry.Builder,ImageAncestryEntry>
@Generated("software.amazon.awssdk:codegen") public final class ImageAncestryEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageAncestryEntry.Builder,ImageAncestryEntry>
Information about a single AMI in the ancestry chain and its source (parent) AMI.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageAncestryEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageAncestryEntry.Builderbuilder()InstantcreationDate()The date and time when this AMI was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimageId()The ID of this AMI.StringimageOwnerAlias()The owner alias (amazon|aws-backup-vault|aws-marketplace) of this AMI, if one is assigned.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImageAncestryEntry.Builder>serializableBuilderClass()StringsourceImageId()The ID of the parent AMI.StringsourceImageRegion()The Amazon Web Services Region of the parent AMI.ImageAncestryEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
creationDate
public final Instant creationDate()
The date and time when this AMI was created.
- Returns:
- The date and time when this AMI was created.
-
imageId
public final String imageId()
The ID of this AMI.
- Returns:
- The ID of this AMI.
-
imageOwnerAlias
public final String imageOwnerAlias()
The owner alias (
amazon|aws-backup-vault|aws-marketplace) of this AMI, if one is assigned. Otherwise, the value isnull.- Returns:
- The owner alias (
amazon|aws-backup-vault|aws-marketplace) of this AMI, if one is assigned. Otherwise, the value isnull.
-
sourceImageId
public final String sourceImageId()
The ID of the parent AMI.
- Returns:
- The ID of the parent AMI.
-
sourceImageRegion
public final String sourceImageRegion()
The Amazon Web Services Region of the parent AMI.
- Returns:
- The Amazon Web Services Region of the parent AMI.
-
toBuilder
public ImageAncestryEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageAncestryEntry.Builder,ImageAncestryEntry>
-
builder
public static ImageAncestryEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageAncestryEntry.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-