Struct aws_sdk_apprunner::model::image_repository::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ImageRepository
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn image_identifier(self, input: impl Into<String>) -> Self
pub fn image_identifier(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_image_identifier(self, input: Option<String>) -> Self
pub fn set_image_identifier(self, input: Option<String>) -> Self
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.
sourcepub fn image_configuration(self, input: ImageConfiguration) -> Self
pub fn image_configuration(self, input: ImageConfiguration) -> Self
Configuration for running the identified image.
sourcepub fn set_image_configuration(self, input: Option<ImageConfiguration>) -> Self
pub fn set_image_configuration(self, input: Option<ImageConfiguration>) -> Self
Configuration for running the identified image.
sourcepub fn image_repository_type(self, input: ImageRepositoryType) -> Self
pub fn image_repository_type(self, input: ImageRepositoryType) -> Self
The type of the image repository. This reflects the repository provider and whether the repository is private or public.
sourcepub fn set_image_repository_type(
self,
input: Option<ImageRepositoryType>
) -> Self
pub fn set_image_repository_type(
self,
input: Option<ImageRepositoryType>
) -> Self
The type of the image repository. This reflects the repository provider and whether the repository is private or public.
sourcepub fn build(self) -> ImageRepository
pub fn build(self) -> ImageRepository
Consumes the builder and constructs a ImageRepository
.