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 ListImagesResultclone()booleanequals(Object obj)List<ImageIdentifier>getImageIds()The list of image IDs for the requested repository.StringgetNextToken()ThenextTokenvalue to include in a futureListImagesrequest.inthashCode()voidsetImageIds(Collection<ImageIdentifier> imageIds)The list of image IDs for the requested repository.voidsetNextToken(String nextToken)ThenextTokenvalue to include in a futureListImagesrequest.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListImagesResultwithImageIds(ImageIdentifier... imageIds)The list of image IDs for the requested repository.ListImagesResultwithImageIds(Collection<ImageIdentifier> imageIds)The list of image IDs for the requested repository.ListImagesResultwithNextToken(String nextToken)ThenextTokenvalue to include in a futureListImagesrequest.
-
-
-
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
nextTokenvalue to include in a futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextTokenvalue to include in a futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- The
nextTokenvalue to include in a futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
withNextToken
public ListImagesResult withNextToken(String nextToken)
The
nextTokenvalue to include in a futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListImagesrequest. When the results of aListImagesrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListImagesResult clone()
-
-