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 Image
clone()
boolean
equals(Object obj)
ImageIdentifier
getImageId()
An object containing the image tag and image digest associated with an image.String
getImageManifest()
The image manifest associated with the image.String
getRegistryId()
The AWS account ID associated with the registry containing the image.String
getRepositoryName()
The name of the repository associated with the image.int
hashCode()
void
setImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an image.void
setImageManifest(String imageManifest)
The image manifest associated with the image.void
setRegistryId(String registryId)
The AWS account ID associated with the registry containing the image.void
setRepositoryName(String repositoryName)
The name of the repository associated with the image.String
toString()
Returns a string representation of this object; useful for testing and debugging.Image
withImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an image.Image
withImageManifest(String imageManifest)
The image manifest associated with the image.Image
withRegistryId(String registryId)
The AWS account ID associated with the registry containing the image.Image
withRepositoryName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-