Class BatchCheckLayerAvailabilityResult

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

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

    • BatchCheckLayerAvailabilityResult

      public BatchCheckLayerAvailabilityResult()
  • Method Details

    • getLayers

      public List<Layer> getLayers()

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

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

      public void setLayers(Collection<Layer> layers)

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

      Parameters:
      layers - A list of image layer objects corresponding to the image layer references in the request.
    • withLayers

      public BatchCheckLayerAvailabilityResult withLayers(Layer... layers)

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

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

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

      public BatchCheckLayerAvailabilityResult withLayers(Collection<Layer> layers)

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

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

      public List<LayerFailure> getFailures()

      Any failures associated with the call.

      Returns:
      Any failures associated with the call.
    • setFailures

      public void setFailures(Collection<LayerFailure> failures)

      Any failures associated with the call.

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

      public BatchCheckLayerAvailabilityResult withFailures(LayerFailure... 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

      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

      Overrides:
      clone in class Object