Interface ImageRepository.Builder

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

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

    • imageIdentifier

      ImageRepository.Builder imageIdentifier(String imageIdentifier)

      The identifier of an image.

      For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.

      Parameters:
      imageIdentifier - The identifier of an image.

      For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.

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

      ImageRepository.Builder imageConfiguration(ImageConfiguration imageConfiguration)

      Configuration for running the identified image.

      Parameters:
      imageConfiguration - Configuration for running the identified image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageConfiguration

      default ImageRepository.Builder imageConfiguration(Consumer<ImageConfiguration.Builder> imageConfiguration)

      Configuration for running the identified image.

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

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

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

      ImageRepository.Builder imageRepositoryType(String imageRepositoryType)

      The type of the image repository. This reflects the repository provider and whether the repository is private or public.

      Parameters:
      imageRepositoryType - The type of the image repository. This reflects the repository provider and whether the repository is private or public.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • imageRepositoryType

      ImageRepository.Builder imageRepositoryType(ImageRepositoryType imageRepositoryType)

      The type of the image repository. This reflects the repository provider and whether the repository is private or public.

      Parameters:
      imageRepositoryType - The type of the image repository. This reflects the repository provider and whether the repository is private or public.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: