Class Layer

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

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

    • Layer

      public Layer()
  • Method Details

    • setLayerDigest

      public void setLayerDigest(String layerDigest)

      The sha256 digest of the image layer.

      Parameters:
      layerDigest - The sha256 digest of the image layer.
    • getLayerDigest

      public String getLayerDigest()

      The sha256 digest of the image layer.

      Returns:
      The sha256 digest of the image layer.
    • withLayerDigest

      public Layer withLayerDigest(String layerDigest)

      The sha256 digest of the image layer.

      Parameters:
      layerDigest - The sha256 digest of the image layer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLayerAvailability

      public void setLayerAvailability(String layerAvailability)

      The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.

      Parameters:
      layerAvailability - The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.
      See Also:
    • getLayerAvailability

      public String getLayerAvailability()

      The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.

      Returns:
      The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.
      See Also:
    • withLayerAvailability

      public Layer withLayerAvailability(String layerAvailability)

      The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.

      Parameters:
      layerAvailability - The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setLayerAvailability

      public void setLayerAvailability(LayerAvailability layerAvailability)

      The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.

      Parameters:
      layerAvailability - The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.
      See Also:
    • withLayerAvailability

      public Layer withLayerAvailability(LayerAvailability layerAvailability)

      The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.

      Parameters:
      layerAvailability - The availability status of the image layer. Valid values are AVAILABLE and UNAVAILABLE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • setLayerSize

      public void setLayerSize(Long layerSize)

      The size, in bytes, of the image layer.

      Parameters:
      layerSize - The size, in bytes, of the image layer.
    • getLayerSize

      public Long getLayerSize()

      The size, in bytes, of the image layer.

      Returns:
      The size, in bytes, of the image layer.
    • withLayerSize

      public Layer withLayerSize(Long layerSize)

      The size, in bytes, of the image layer.

      Parameters:
      layerSize - The size, in bytes, of the image layer.
      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 Layer clone()
      Overrides:
      clone in class Object