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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Image()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Imageclone()booleanequals(Object obj)ImageIdentifiergetImageId()An object containing the image tag and image digest associated with an image.StringgetImageManifest()The image manifest associated with the image.StringgetRegistryId()The AWS account ID associated with the registry containing the image.StringgetRepositoryName()The name of the repository associated with the image.inthashCode()voidsetImageId(ImageIdentifier imageId)An object containing the image tag and image digest associated with an image.voidsetImageManifest(String imageManifest)The image manifest associated with the image.voidsetRegistryId(String registryId)The AWS account ID associated with the registry containing the image.voidsetRepositoryName(String repositoryName)The name of the repository associated with the image.StringtoString()Returns a string representation of this object; useful for testing and debugging.ImagewithImageId(ImageIdentifier imageId)An object containing the image tag and image digest associated with an image.ImagewithImageManifest(String imageManifest)The image manifest associated with the image.ImagewithRegistryId(String registryId)The AWS account ID associated with the registry containing the image.ImagewithRepositoryName(String repositoryName)The name of the repository associated with the image.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-