Class Layer

    • Constructor Detail

      • Layer

        public Layer()
    • Method Detail

      • 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:
        LayerAvailability
      • 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:
        LayerAvailability
      • 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:
        LayerAvailability
      • 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:
        LayerAvailability
      • 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:
        LayerAvailability
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object