@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListImagesResult() |
Modifier and Type | Method and Description |
---|---|
ListImagesResult |
clone() |
boolean |
equals(Object obj) |
List<Image> |
getImages()
A list of images and their properties.
|
String |
getNextToken()
A token for getting the next set of images, if there are any.
|
int |
hashCode() |
void |
setImages(Collection<Image> images)
A list of images and their properties.
|
void |
setNextToken(String nextToken)
A token for getting the next set of images, if there are any.
|
String |
toString()
Returns a string representation of this object.
|
ListImagesResult |
withImages(Collection<Image> images)
A list of images and their properties.
|
ListImagesResult |
withImages(Image... images)
A list of images and their properties.
|
ListImagesResult |
withNextToken(String nextToken)
A token for getting the next set of images, if there are any.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Image> getImages()
A list of images and their properties.
public void setImages(Collection<Image> images)
A list of images and their properties.
images
- A list of images and their properties.public ListImagesResult withImages(Image... images)
A list of images and their properties.
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 images and their properties.public ListImagesResult withImages(Collection<Image> images)
A list of images and their properties.
images
- A list of images and their properties.public void setNextToken(String nextToken)
A token for getting the next set of images, if there are any.
nextToken
- A token for getting the next set of images, if there are any.public String getNextToken()
A token for getting the next set of images, if there are any.
public ListImagesResult withNextToken(String nextToken)
A token for getting the next set of images, if there are any.
nextToken
- A token for getting the next set of images, if there are any.public String toString()
toString
in class Object
Object.toString()
public ListImagesResult clone()