Class BatchGetImageResult

java.lang.Object
com.amazonaws.services.ecr.model.BatchGetImageResult
All Implemented Interfaces:
Serializable, Cloneable

public class BatchGetImageResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • BatchGetImageResult

      public BatchGetImageResult()
  • Method Details

    • getImages

      public List<Image> getImages()

      A list of image objects corresponding to the image references in the request.

      Returns:
      A list of image objects corresponding to the image references in the request.
    • setImages

      public void setImages(Collection<Image> images)

      A list of image objects corresponding to the image references in the request.

      Parameters:
      images - A list of image objects corresponding to the image references in the request.
    • withImages

      public BatchGetImageResult withImages(Image... images)

      A list of image objects corresponding to the image references in the request.

      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.

      Parameters:
      images - A list of image objects corresponding to the image references in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withImages

      public BatchGetImageResult withImages(Collection<Image> images)

      A list of image objects corresponding to the image references in the request.

      Parameters:
      images - A list of image objects corresponding to the image references in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getFailures

      public List<ImageFailure> getFailures()

      Any failures associated with the call.

      Returns:
      Any failures associated with the call.
    • setFailures

      public void setFailures(Collection<ImageFailure> failures)

      Any failures associated with the call.

      Parameters:
      failures - Any failures associated with the call.
    • withFailures

      public BatchGetImageResult withFailures(ImageFailure... failures)

      Any failures associated with the call.

      NOTE: This method appends the values to the existing list (if any). Use setFailures(java.util.Collection) or withFailures(java.util.Collection) if you want to override the existing values.

      Parameters:
      failures - Any failures associated with the call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withFailures

      public BatchGetImageResult withFailures(Collection<ImageFailure> failures)

      Any failures associated with the call.

      Parameters:
      failures - Any failures associated with the call.
      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public BatchGetImageResult clone()
      Overrides:
      clone in class Object