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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageAncestryEntry.Builderbuilder()final InstantThe date and time when this AMI was created.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringimageId()The ID of this AMI.final StringThe owner alias (amazon|aws-backup-vault|aws-marketplace) of this AMI, if one is assigned.static Class<? extends ImageAncestryEntry.Builder>final StringThe ID of the parent AMI.final StringThe Amazon Web Services Region of the parent AMI.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
creationDate
The date and time when this AMI was created.
- Returns:
- The date and time when this AMI was created.
-
imageId
The ID of this AMI.
- Returns:
- The ID of this AMI.
-
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
The ID of the parent AMI.
- Returns:
- The ID of the parent AMI.
-
sourceImageRegion
The Amazon Web Services Region of the parent AMI.
- Returns:
- The Amazon Web Services Region of the parent AMI.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageAncestryEntry.Builder,ImageAncestryEntry>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-