Interface Image.Builder

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

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

    • registryId

      Image.Builder registryId(String registryId)

      The Amazon Web Services account ID associated with the registry containing the image.

      Parameters:
      registryId - The Amazon Web Services account ID associated with the registry containing the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      Image.Builder repositoryName(String repositoryName)

      The name of the repository associated with the image.

      Parameters:
      repositoryName - The name of the repository associated with the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageId

      Image.Builder imageId(ImageIdentifier imageId)

      An object containing the image tag and image digest associated with an image.

      Parameters:
      imageId - An object containing the image tag and image digest associated with an image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageId

      default Image.Builder imageId(Consumer<ImageIdentifier.Builder> imageId)

      An object containing the image tag and image digest associated with an image.

      This is a convenience method that creates an instance of the ImageIdentifier.Builder avoiding the need to create one manually via ImageIdentifier.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to imageId(ImageIdentifier).

      Parameters:
      imageId - a consumer that will call methods on ImageIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • imageManifest

      Image.Builder imageManifest(String imageManifest)

      The image manifest associated with the image.

      Parameters:
      imageManifest - The image manifest associated with the image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageManifestMediaType

      Image.Builder imageManifestMediaType(String imageManifestMediaType)

      The manifest media type of the image.

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