Interface ImageRepository.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ImageRepository.Builder,
,ImageRepository> SdkBuilder<ImageRepository.Builder,
,ImageRepository> SdkPojo
- Enclosing class:
ImageRepository
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImageRepository.Builder
imageConfiguration
(Consumer<ImageConfiguration.Builder> imageConfiguration) Configuration for running the identified image.imageConfiguration
(ImageConfiguration imageConfiguration) Configuration for running the identified image.imageIdentifier
(String imageIdentifier) The identifier of an image.imageRepositoryType
(String imageRepositoryType) The type of the image repository.imageRepositoryType
(ImageRepositoryType imageRepositoryType) The type of the image repository.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 theImageConfiguration.Builder
avoiding the need to create one manually viaImageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageConfiguration(ImageConfiguration)
.- Parameters:
imageConfiguration
- a consumer that will call methods onImageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-