pub struct Builder { /* private fields */ }
Expand description
A builder for ContainerRecipeSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the container recipe.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the container recipe.
sourcepub fn container_type(self, input: ContainerType) -> Self
pub fn container_type(self, input: ContainerType) -> Self
Specifies the type of container, such as "Docker".
sourcepub fn set_container_type(self, input: Option<ContainerType>) -> Self
pub fn set_container_type(self, input: Option<ContainerType>) -> Self
Specifies the type of container, such as "Docker".
sourcepub fn platform(self, input: Platform) -> Self
pub fn platform(self, input: Platform) -> Self
The system platform for the container, such as Windows or Linux.
sourcepub fn set_platform(self, input: Option<Platform>) -> Self
pub fn set_platform(self, input: Option<Platform>) -> Self
The system platform for the container, such as Windows or Linux.
sourcepub fn parent_image(self, input: impl Into<String>) -> Self
pub fn parent_image(self, input: impl Into<String>) -> Self
The base image for the container recipe.
sourcepub fn set_parent_image(self, input: Option<String>) -> Self
pub fn set_parent_image(self, input: Option<String>) -> Self
The base image for the container recipe.
sourcepub fn date_created(self, input: impl Into<String>) -> Self
pub fn date_created(self, input: impl Into<String>) -> Self
The date when this container recipe was created.
sourcepub fn set_date_created(self, input: Option<String>) -> Self
pub fn set_date_created(self, input: Option<String>) -> Self
The date when this container recipe was created.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
Tags that are attached to the container recipe.
Tags that are attached to the container recipe.
sourcepub fn build(self) -> ContainerRecipeSummary
pub fn build(self) -> ContainerRecipeSummary
Consumes the builder and constructs a ContainerRecipeSummary
.