Class BatchGetImageResult
- java.lang.Object
-
- com.amazonaws.services.ecr.model.BatchGetImageResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class BatchGetImageResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchGetImageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetImageResult
clone()
boolean
equals(Object obj)
List<ImageFailure>
getFailures()
Any failures associated with the call.List<Image>
getImages()
A list of image objects corresponding to the image references in the request.int
hashCode()
void
setFailures(Collection<ImageFailure> failures)
Any failures associated with the call.void
setImages(Collection<Image> images)
A list of image objects corresponding to the image references in the request.String
toString()
Returns a string representation of this object; useful for testing and debugging.BatchGetImageResult
withFailures(ImageFailure... failures)
Any failures associated with the call.BatchGetImageResult
withFailures(Collection<ImageFailure> failures)
Any failures associated with the call.BatchGetImageResult
withImages(Image... images)
A list of image objects corresponding to the image references in the request.BatchGetImageResult
withImages(Collection<Image> images)
A list of image objects corresponding to the image references in the request.
-
-
-
Method Detail
-
getImages
public List<Image> getImages()
A list of image objects corresponding to the image references in the request.
- Returns:
- A list of image objects corresponding to the image references in the request.
-
setImages
public void setImages(Collection<Image> images)
A list of image objects corresponding to the image references in the request.
- Parameters:
images
- A list of image objects corresponding to the image references in the request.
-
withImages
public BatchGetImageResult withImages(Image... images)
A list of image objects corresponding to the image references in the request.
NOTE: This method appends the values to the existing list (if any). Use
setImages(java.util.Collection)
orwithImages(java.util.Collection)
if you want to override the existing values.- Parameters:
images
- A list of image objects corresponding to the image references in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withImages
public BatchGetImageResult withImages(Collection<Image> images)
A list of image objects corresponding to the image references in the request.
- Parameters:
images
- A list of image objects corresponding to the image references in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFailures
public List<ImageFailure> getFailures()
Any failures associated with the call.
- Returns:
- Any failures associated with the call.
-
setFailures
public void setFailures(Collection<ImageFailure> failures)
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.
-
withFailures
public BatchGetImageResult withFailures(ImageFailure... failures)
Any failures associated with the call.
NOTE: This method appends the values to the existing list (if any). Use
setFailures(java.util.Collection)
orwithFailures(java.util.Collection)
if you want to override the existing values.- Parameters:
failures
- Any failures associated with the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFailures
public BatchGetImageResult withFailures(Collection<ImageFailure> failures)
Any failures associated with the call.
- Parameters:
failures
- Any failures associated with the call.- 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()
-
clone
public BatchGetImageResult clone()
-
-