public class BatchGetImageResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<ImageFailure> |
failures
Any failures associated with the call.
|
private java.util.List<Image> |
images
A list of image objects corresponding to the image references in the
request.
|
Constructor and Description |
---|
BatchGetImageResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetImageResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ImageFailure> |
getFailures()
Any failures associated with the call.
|
java.util.List<Image> |
getImages()
A list of image objects corresponding to the image references in the
request.
|
int |
hashCode() |
void |
setFailures(java.util.Collection<ImageFailure> failures)
Any failures associated with the call.
|
void |
setImages(java.util.Collection<Image> images)
A list of image objects corresponding to the image references in the
request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetImageResult |
withFailures(java.util.Collection<ImageFailure> failures)
Any failures associated with the call.
|
BatchGetImageResult |
withFailures(ImageFailure... failures)
Any failures associated with the call.
|
BatchGetImageResult |
withImages(java.util.Collection<Image> images)
A list of image objects corresponding to the image references in the
request.
|
BatchGetImageResult |
withImages(Image... images)
A list of image objects corresponding to the image references in the
request.
|
private java.util.List<Image> images
A list of image objects corresponding to the image references in the request.
private java.util.List<ImageFailure> failures
Any failures associated with the call.
public java.util.List<Image> getImages()
A list of image objects corresponding to the image references in the request.
public void setImages(java.util.Collection<Image> images)
A list of image objects corresponding to the image references in the request.
images
- A list of image objects corresponding to the image references in
the request.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)
or
withImages(java.util.Collection)
if you want to override the
existing values.
images
- A list of image objects corresponding to the image references in
the request.public BatchGetImageResult withImages(java.util.Collection<Image> images)
A list of image objects corresponding to the image references in the request.
images
- A list of image objects corresponding to the image references in
the request.public java.util.List<ImageFailure> getFailures()
Any failures associated with the call.
public void setFailures(java.util.Collection<ImageFailure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.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)
or
withFailures(java.util.Collection)
if you want to override the
existing values.
failures
- Any failures associated with the call.public BatchGetImageResult withFailures(java.util.Collection<ImageFailure> failures)
Any failures associated with the call.
failures
- Any failures associated with the call.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BatchGetImageResult clone()
clone
in class java.lang.Object