#[non_exhaustive]pub struct ContainerRecipeSummaryBuilder { /* private fields */ }
Expand description
A builder for ContainerRecipeSummary
.
Implementations§
source§impl ContainerRecipeSummaryBuilder
impl ContainerRecipeSummaryBuilder
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 get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
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 get_container_type(&self) -> &Option<ContainerType>
pub fn get_container_type(&self) -> &Option<ContainerType>
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 get_platform(&self) -> &Option<Platform>
pub fn get_platform(&self) -> &Option<Platform>
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 get_parent_image(&self) -> &Option<String>
pub fn get_parent_image(&self) -> &Option<String>
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.
sourcepub fn get_date_created(&self) -> &Option<String>
pub fn get_date_created(&self) -> &Option<String>
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.
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
.
Trait Implementations§
source§impl Clone for ContainerRecipeSummaryBuilder
impl Clone for ContainerRecipeSummaryBuilder
source§fn clone(&self) -> ContainerRecipeSummaryBuilder
fn clone(&self) -> ContainerRecipeSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ContainerRecipeSummaryBuilder
impl Default for ContainerRecipeSummaryBuilder
source§fn default() -> ContainerRecipeSummaryBuilder
fn default() -> ContainerRecipeSummaryBuilder
source§impl PartialEq for ContainerRecipeSummaryBuilder
impl PartialEq for ContainerRecipeSummaryBuilder
source§fn eq(&self, other: &ContainerRecipeSummaryBuilder) -> bool
fn eq(&self, other: &ContainerRecipeSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerRecipeSummaryBuilder
Auto Trait Implementations§
impl Freeze for ContainerRecipeSummaryBuilder
impl RefUnwindSafe for ContainerRecipeSummaryBuilder
impl Send for ContainerRecipeSummaryBuilder
impl Sync for ContainerRecipeSummaryBuilder
impl Unpin for ContainerRecipeSummaryBuilder
impl UnwindSafe for ContainerRecipeSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more