Class ListImagesResult
- java.lang.Object
-
- com.amazonaws.services.ecr.model.ListImagesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListImagesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListImagesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListImagesResult
clone()
boolean
equals(Object obj)
List<ImageIdentifier>
getImageIds()
The list of image IDs for the requested repository.String
getNextToken()
ThenextToken
value to include in a futureListImages
request.int
hashCode()
void
setImageIds(Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.void
setNextToken(String nextToken)
ThenextToken
value to include in a futureListImages
request.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListImagesResult
withImageIds(ImageIdentifier... imageIds)
The list of image IDs for the requested repository.ListImagesResult
withImageIds(Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.ListImagesResult
withNextToken(String nextToken)
ThenextToken
value to include in a futureListImages
request.
-
-
-
Method Detail
-
getImageIds
public List<ImageIdentifier> getImageIds()
The list of image IDs for the requested repository.
- Returns:
- The list of image IDs for the requested repository.
-
setImageIds
public void setImageIds(Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.
- Parameters:
imageIds
- The list of image IDs for the requested repository.
-
withImageIds
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)
orwithImageIds(java.util.Collection)
if you want to override the existing values.- Parameters:
imageIds
- The list of image IDs for the requested repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withImageIds
public ListImagesResult withImageIds(Collection<ImageIdentifier> imageIds)
The list of image IDs for the requested repository.
- Parameters:
imageIds
- The list of image IDs for the requested repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
nextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
public ListImagesResult withNextToken(String nextToken)
The
nextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListImages
request. When the results of aListImages
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- 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 ListImagesResult clone()
-
-