@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeImagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeImagesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeImagesResult |
clone() |
boolean |
equals(Object obj) |
List<Image> |
getImages()
Information about the images.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setImages(Collection<Image> images)
Information about the images.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object.
|
DescribeImagesResult |
withImages(Collection<Image> images)
Information about the images.
|
DescribeImagesResult |
withImages(Image... images)
Information about the images.
|
DescribeImagesResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Image> getImages()
Information about the images.
public void setImages(Collection<Image> images)
Information about the images.
images
- Information about the images.public DescribeImagesResult withImages(Image... images)
Information about the images.
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
- Information about the images.public DescribeImagesResult withImages(Collection<Image> images)
Information about the images.
images
- Information about the images.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public DescribeImagesResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public DescribeImagesResult clone()