Class Image
- java.lang.Object
-
- software.amazon.awssdk.services.ecr.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 representing 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 containing the image tag and image digest associated with an image.StringimageManifest()The image manifest associated with the image.StringimageManifestMediaType()The manifest media type of the image.StringregistryId()The Amazon Web Services account ID associated with the registry containing the image.StringrepositoryName()The name of the repository associated with the image.Map<String,SdkField<?>>sdkFieldNameToField()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 associated with the registry containing the image.
- Returns:
- The Amazon Web Services account ID associated with the registry containing the image.
-
repositoryName
public final String repositoryName()
The name of the repository associated with the image.
- Returns:
- The name of the repository associated with the image.
-
imageId
public final ImageIdentifier imageId()
An object containing the image tag and image digest associated with an image.
- Returns:
- An object containing the image tag and image digest associated with an image.
-
imageManifest
public final String imageManifest()
The image manifest associated with the image.
- Returns:
- The image manifest 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-