Class Image
- java.lang.Object
-
- software.amazon.awssdk.services.ecrpublic.model.Image
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Image.Builder,Image>
@Generated("software.amazon.awssdk:codegen") public final class Image extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Image.Builder,Image>
An object that represents an Amazon ECR image.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Image.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImageIdentifierimageId()An object that contains the image tag and image digest associated with an image.StringimageManifest()The image manifest that's associated with the image.StringimageManifestMediaType()The manifest media type of the image.StringregistryId()The Amazon Web Services account ID that's associated with the registry containing the image.StringrepositoryName()The name of the repository that's associated with the image.List<SdkField<?>>sdkFields()static Class<? extends Image.Builder>serializableBuilderClass()Image.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
-
registryId
public final String registryId()
The Amazon Web Services account ID that's associated with the registry containing the image.
- Returns:
- The Amazon Web Services account ID that's associated with the registry containing the image.
-
repositoryName
public final String repositoryName()
The name of the repository that's associated with the image.
- Returns:
- The name of the repository that's associated with the image.
-
imageId
public final ImageIdentifier imageId()
An object that contains the image tag and image digest associated with an image.
- Returns:
- An object that contains the image tag and image digest associated with an image.
-
imageManifest
public final String imageManifest()
The image manifest that's associated with the image.
- Returns:
- The image manifest that's associated with the image.
-
imageManifestMediaType
public final String imageManifestMediaType()
The manifest media type of the image.
- Returns:
- The manifest media type of the image.
-
toBuilder
public Image.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Image.Builder,Image>
-
builder
public static Image.Builder builder()
-
serializableBuilderClass
public static Class<? extends Image.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.
-
-