@Stability(value=Experimental) public static final class ImageRepository.Builder extends Object implements software.amazon.jsii.Builder<ImageRepository>
ImageRepository| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ImageRepository |
build()
Builds the configured instance.
|
ImageRepository.Builder |
imageConfiguration(ImageConfiguration imageConfiguration)
Sets the value of
ImageRepository.getImageConfiguration() |
ImageRepository.Builder |
imageIdentifier(String imageIdentifier)
Sets the value of
ImageRepository.getImageIdentifier() |
ImageRepository.Builder |
imageRepositoryType(ImageRepositoryType imageRepositoryType)
Sets the value of
ImageRepository.getImageRepositoryType() |
@Stability(value=Experimental) public ImageRepository.Builder imageIdentifier(String imageIdentifier)
ImageRepository.getImageIdentifier()imageIdentifier - The identifier of the image. This parameter is required.
For ECR_PUBLIC imageRepositoryType, the identifier domain should
always be public.ecr.aws. For ECR, the pattern should be
([0-9]{12}.dkr.ecr.[a-z\-]+-[0-9]{1}.amazonaws.com\/.*).this@Stability(value=Experimental) public ImageRepository.Builder imageRepositoryType(ImageRepositoryType imageRepositoryType)
ImageRepository.getImageRepositoryType()imageRepositoryType - The type of the image repository. This parameter is required.
This reflects the repository provider and whether
the repository is private or public.this@Stability(value=Experimental) public ImageRepository.Builder imageConfiguration(ImageConfiguration imageConfiguration)
ImageRepository.getImageConfiguration()imageConfiguration - Configuration for running the identified image.this@Stability(value=Experimental) public ImageRepository build()
build in interface software.amazon.jsii.Builder<ImageRepository>ImageRepositoryNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.