public class BatchDeleteImageResult
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<ImageIdentifier> |
imageIds
The image IDs of the deleted images.
|
Constructor and Description |
---|
BatchDeleteImageResult() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteImageResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ImageFailure> |
getFailures()
Any failures associated with the call.
|
java.util.List<ImageIdentifier> |
getImageIds()
The image IDs of the deleted images.
|
int |
hashCode() |
void |
setFailures(java.util.Collection<ImageFailure> failures)
Any failures associated with the call.
|
void |
setImageIds(java.util.Collection<ImageIdentifier> imageIds)
The image IDs of the deleted images.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchDeleteImageResult |
withFailures(java.util.Collection<ImageFailure> failures)
Any failures associated with the call.
|
BatchDeleteImageResult |
withFailures(ImageFailure... failures)
Any failures associated with the call.
|
BatchDeleteImageResult |
withImageIds(java.util.Collection<ImageIdentifier> imageIds)
The image IDs of the deleted images.
|
BatchDeleteImageResult |
withImageIds(ImageIdentifier... imageIds)
The image IDs of the deleted images.
|
private java.util.List<ImageIdentifier> imageIds
The image IDs of the deleted images.
private java.util.List<ImageFailure> failures
Any failures associated with the call.
public java.util.List<ImageIdentifier> getImageIds()
The image IDs of the deleted images.
public void setImageIds(java.util.Collection<ImageIdentifier> imageIds)
The image IDs of the deleted images.
imageIds
- The image IDs of the deleted images.public BatchDeleteImageResult withImageIds(ImageIdentifier... imageIds)
The image IDs of the deleted images.
NOTE: This method appends the values to the existing list (if
any). Use setImageIds(java.util.Collection)
or
withImageIds(java.util.Collection)
if you want to override the
existing values.
imageIds
- The image IDs of the deleted images.public BatchDeleteImageResult withImageIds(java.util.Collection<ImageIdentifier> imageIds)
The image IDs of the deleted images.
imageIds
- The image IDs of the deleted images.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 BatchDeleteImageResult 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 BatchDeleteImageResult 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 BatchDeleteImageResult clone()
clone
in class java.lang.Object