@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<ImageDetail> |
getImageDetails()
A list of ImageDetail objects that contain data about the image.
|
String |
getNextToken()
The
nextToken value to include in a future DescribeImages request. |
int |
hashCode() |
void |
setImageDetails(Collection<ImageDetail> imageDetails)
A list of ImageDetail objects that contain data about the image.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future DescribeImages request. |
String |
toString()
Returns a string representation of this object.
|
DescribeImagesResult |
withImageDetails(Collection<ImageDetail> imageDetails)
A list of ImageDetail objects that contain data about the image.
|
DescribeImagesResult |
withImageDetails(ImageDetail... imageDetails)
A list of ImageDetail objects that contain data about the image.
|
DescribeImagesResult |
withNextToken(String nextToken)
The
nextToken value to include in a future DescribeImages request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ImageDetail> getImageDetails()
A list of ImageDetail objects that contain data about the image.
public void setImageDetails(Collection<ImageDetail> imageDetails)
A list of ImageDetail objects that contain data about the image.
imageDetails
- A list of ImageDetail objects that contain data about the image.public DescribeImagesResult withImageDetails(ImageDetail... imageDetails)
A list of ImageDetail objects that contain data about the image.
NOTE: This method appends the values to the existing list (if any). Use
setImageDetails(java.util.Collection)
or withImageDetails(java.util.Collection)
if you want to
override the existing values.
imageDetails
- A list of ImageDetail objects that contain data about the image.public DescribeImagesResult withImageDetails(Collection<ImageDetail> imageDetails)
A list of ImageDetail objects that contain data about the image.
imageDetails
- A list of ImageDetail objects that contain data about the image.public void setNextToken(String nextToken)
The nextToken
value to include in a future DescribeImages
request. When the results of
a DescribeImages
request exceed maxResults
, this value can be used to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future DescribeImages
request. When the
results of a DescribeImages
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to
return.public String getNextToken()
The nextToken
value to include in a future DescribeImages
request. When the results of
a DescribeImages
request exceed maxResults
, this value can be used to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
value to include in a future DescribeImages
request. When the
results of a DescribeImages
request exceed maxResults
, this value can be used
to retrieve the next page of results. This value is null
when there are no more results to
return.public DescribeImagesResult withNextToken(String nextToken)
The nextToken
value to include in a future DescribeImages
request. When the results of
a DescribeImages
request exceed maxResults
, this value can be used to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future DescribeImages
request. When the
results of a DescribeImages
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to
return.public String toString()
toString
in class Object
Object.toString()
public DescribeImagesResult clone()