Interface EntitledImageDetail.Builder

  • Method Details

    • repositoryName

      EntitledImageDetail.Builder repositoryName(String repositoryName)

      The name of the premium repository where this image belongs.

      Parameters:
      repositoryName - The name of the premium repository where this image belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageDigest

      EntitledImageDetail.Builder imageDigest(String imageDigest)

      The sha256 digest of the image manifest.

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

      The list of tags that's associated with this image.

      Parameters:
      imageTags - The list of tags that's associated with this image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageTags

      EntitledImageDetail.Builder imageTags(String... imageTags)

      The list of tags that's associated with this image.

      Parameters:
      imageTags - The list of tags that's associated with this image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageSizeInBytes

      EntitledImageDetail.Builder imageSizeInBytes(Long imageSizeInBytes)

      The size, in bytes, of the image in the repository. If the image is a manifest list, this is the max size of all manifests in the list.

      Parameters:
      imageSizeInBytes - The size, in bytes, of the image in the repository. If the image is a manifest list, this is the max size of all manifests in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imagePushedAt

      EntitledImageDetail.Builder imagePushedAt(Instant imagePushedAt)

      The date and time that the image was pushed to the repository.

      Parameters:
      imagePushedAt - The date and time that the image was pushed to the repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageManifestMediaType

      EntitledImageDetail.Builder imageManifestMediaType(String imageManifestMediaType)

      The media type of the image manifest.

      Parameters:
      imageManifestMediaType - The media type of the image manifest.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artifactMediaType

      EntitledImageDetail.Builder artifactMediaType(String artifactMediaType)

      The artifact media type of the image.

      Parameters:
      artifactMediaType - The artifact media type of the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageStatus

      EntitledImageDetail.Builder imageStatus(String imageStatus)

      The status of the image. Valid values:

      • ACTIVE: The image isn't scheduled for deletion.

      • DEPRECATED: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.

      Parameters:
      imageStatus - The status of the image. Valid values:

      • ACTIVE: The image isn't scheduled for deletion.

      • DEPRECATED: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • imageStatus

      EntitledImageDetail.Builder imageStatus(ImageStatus imageStatus)

      The status of the image. Valid values:

      • ACTIVE: The image isn't scheduled for deletion.

      • DEPRECATED: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.

      Parameters:
      imageStatus - The status of the image. Valid values:

      • ACTIVE: The image isn't scheduled for deletion.

      • DEPRECATED: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheduledDeletionAt

      EntitledImageDetail.Builder scheduledDeletionAt(Instant scheduledDeletionAt)

      The date and time that the deprecated image is scheduled for deletion. This is the time of the SetImageStatus request plus the deprecation period. Amazon ECR deletes the image within 24 hours after this time. Amazon ECR returns this value only when the image status is DEPRECATED.

      Parameters:
      scheduledDeletionAt - The date and time that the deprecated image is scheduled for deletion. This is the time of the SetImageStatus request plus the deprecation period. Amazon ECR deletes the image within 24 hours after this time. Amazon ECR returns this value only when the image status is DEPRECATED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.