Class Image

java.lang.Object
com.amazonaws.services.ecr.model.Image
All Implemented Interfaces:
Serializable, Cloneable

public class Image extends Object implements Serializable, Cloneable

Object representing an image.

See Also:
  • Constructor Details

    • Image

      public Image()
  • Method Details

    • setRegistryId

      public void setRegistryId(String registryId)

      The AWS account ID associated with the registry containing the image.

      Parameters:
      registryId - The AWS account ID associated with the registry containing the image.
    • getRegistryId

      public String getRegistryId()

      The AWS account ID associated with the registry containing the image.

      Returns:
      The AWS account ID associated with the registry containing the image.
    • withRegistryId

      public Image withRegistryId(String registryId)

      The AWS account ID associated with the registry containing the image.

      Parameters:
      registryId - The AWS account ID associated with the registry containing the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRepositoryName

      public void setRepositoryName(String repositoryName)

      The name of the repository associated with the image.

      Parameters:
      repositoryName - The name of the repository associated with the image.
    • getRepositoryName

      public String getRepositoryName()

      The name of the repository associated with the image.

      Returns:
      The name of the repository associated with the image.
    • withRepositoryName

      public Image withRepositoryName(String repositoryName)

      The name of the repository associated with the image.

      Parameters:
      repositoryName - The name of the repository associated with the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setImageId

      public void setImageId(ImageIdentifier imageId)

      An object containing the image tag and image digest associated with an image.

      Parameters:
      imageId - An object containing the image tag and image digest associated with an image.
    • getImageId

      public ImageIdentifier getImageId()

      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.
    • withImageId

      public Image withImageId(ImageIdentifier imageId)

      An object containing the image tag and image digest associated with an image.

      Parameters:
      imageId - An object containing the image tag and image digest associated with an image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setImageManifest

      public void setImageManifest(String imageManifest)

      The image manifest associated with the image.

      Parameters:
      imageManifest - The image manifest associated with the image.
    • getImageManifest

      public String getImageManifest()

      The image manifest associated with the image.

      Returns:
      The image manifest associated with the image.
    • withImageManifest

      public Image withImageManifest(String imageManifest)

      The image manifest associated with the image.

      Parameters:
      imageManifest - The image manifest associated with the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Image clone()
      Overrides:
      clone in class Object