Package com.amazonaws.services.ec2.model
Class DescribeImagesResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeImagesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeImagesResult extends Object implements Serializable, Cloneable
Contains the output of DescribeImages.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeImagesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeImagesResult
clone()
boolean
equals(Object obj)
List<Image>
getImages()
Information about one or more images.int
hashCode()
void
setImages(Collection<Image> images)
Information about one or more images.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeImagesResult
withImages(Image... images)
Information about one or more images.DescribeImagesResult
withImages(Collection<Image> images)
Information about one or more images.
-
-
-
Method Detail
-
getImages
public List<Image> getImages()
Information about one or more images.
- Returns:
- Information about one or more images.
-
setImages
public void setImages(Collection<Image> images)
Information about one or more images.
- Parameters:
images
- Information about one or more images.
-
withImages
public DescribeImagesResult withImages(Image... images)
Information about one or more images.
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
- Information about one or more images.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withImages
public DescribeImagesResult withImages(Collection<Image> images)
Information about one or more images.
- Parameters:
images
- Information about one or more images.- 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 DescribeImagesResult clone()
-
-