Interface Layer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Layer.Builder,Layer>, SdkBuilder<Layer.Builder,Layer>, SdkPojo
Enclosing class:
Layer

public static interface Layer.Builder extends SdkPojo, CopyableBuilder<Layer.Builder,Layer>
  • Method Details

    • 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

      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:
    • 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.