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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ImageRepository.BuilderimageConfiguration(Consumer<ImageConfiguration.Builder> imageConfiguration)Configuration for running the identified image.ImageRepository.BuilderimageConfiguration(ImageConfiguration imageConfiguration)Configuration for running the identified image.ImageRepository.BuilderimageIdentifier(String imageIdentifier)The identifier of an image.ImageRepository.BuilderimageRepositoryType(String imageRepositoryType)The type of the image repository.ImageRepository.BuilderimageRepositoryType(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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 theImageConfiguration.Builderavoiding the need to create one manually viaImageConfiguration.builder().When the
Consumercompletes,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:
imageConfiguration(ImageConfiguration)
-
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,ImageRepositoryType
-
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:
ImageRepositoryType,ImageRepositoryType
-
-