Interface Layer.Builder

    • Method Detail

      • layerDigest

        Layer.Builder layerDigest​(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.
      • layerAvailability

        Layer.Builder layerAvailability​(String layerAvailability)

        The availability status of the image layer.

        Parameters:
        layerAvailability - The availability status of the image layer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LayerAvailability, LayerAvailability
      • layerAvailability

        Layer.Builder layerAvailability​(LayerAvailability layerAvailability)

        The availability status of the image layer.

        Parameters:
        layerAvailability - The availability status of the image layer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LayerAvailability, LayerAvailability
      • layerSize

        Layer.Builder layerSize​(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.
      • mediaType

        Layer.Builder mediaType​(String mediaType)

        The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.

        Parameters:
        mediaType - The media type of the layer, such as application/vnd.docker.image.rootfs.diff.tar.gzip or application/vnd.oci.image.layer.v1.tar+gzip.
        Returns:
        Returns a reference to this object so that method calls can be chained together.