public class ListImagesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.List<ImageIdentifier> |
imageIds
The list of image IDs for the requested repository.
|
private java.lang.String |
nextToken
The
nextToken value to include in a future
ListImages request. |
Constructor and Description |
---|
ListImagesResult() |
Modifier and Type | Method and Description |
---|---|
ListImagesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<ImageIdentifier> |
getImageIds()
The list of image IDs for the requested repository.
|
java.lang.String |
getNextToken()
The
nextToken value to include in a future
ListImages request. |
int |
hashCode() |
void |
setImageIds(java.util.Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.
|
void |
setNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListImages request. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListImagesResult |
withImageIds(java.util.Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.
|
ListImagesResult |
withImageIds(ImageIdentifier... imageIds)
The list of image IDs for the requested repository.
|
ListImagesResult |
withNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListImages request. |
private java.util.List<ImageIdentifier> imageIds
The list of image IDs for the requested repository.
private java.lang.String nextToken
The nextToken
value to include in a future
ListImages
request. When the results of a
ListImages
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 java.util.List<ImageIdentifier> getImageIds()
The list of image IDs for the requested repository.
public void setImageIds(java.util.Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.
imageIds
- The list of image IDs for the requested repository.public ListImagesResult withImageIds(ImageIdentifier... imageIds)
The list of image IDs for the requested repository.
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 list of image IDs for the requested repository.public ListImagesResult withImageIds(java.util.Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.
imageIds
- The list of image IDs for the requested repository.public void setNextToken(java.lang.String nextToken)
The nextToken
value to include in a future
ListImages
request. When the results of a
ListImages
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
ListImages
request. When the results of a
ListImages
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 java.lang.String getNextToken()
The nextToken
value to include in a future
ListImages
request. When the results of a
ListImages
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
ListImages
request. When the results of a
ListImages
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 ListImagesResult withNextToken(java.lang.String nextToken)
The nextToken
value to include in a future
ListImages
request. When the results of a
ListImages
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
ListImages
request. When the results of a
ListImages
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 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 ListImagesResult clone()
clone
in class java.lang.Object