#[non_exhaustive]pub struct ImageRecipeSummaryBuilder { /* private fields */ }
Expand description
A builder for ImageRecipeSummary
.
Implementations§
source§impl ImageRecipeSummaryBuilder
impl ImageRecipeSummaryBuilder
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 image 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 image recipe.
sourcepub fn set_platform(self, input: Option<Platform>) -> Self
pub fn set_platform(self, input: Option<Platform>) -> Self
The platform of the image recipe.
sourcepub fn get_platform(&self) -> &Option<Platform>
pub fn get_platform(&self) -> &Option<Platform>
The platform of the image recipe.
sourcepub fn parent_image(self, input: impl Into<String>) -> Self
pub fn parent_image(self, input: impl Into<String>) -> Self
The base image of the image recipe.
sourcepub fn set_parent_image(self, input: Option<String>) -> Self
pub fn set_parent_image(self, input: Option<String>) -> Self
The base image of the image recipe.
sourcepub fn get_parent_image(&self) -> &Option<String>
pub fn get_parent_image(&self) -> &Option<String>
The base image of the image recipe.
sourcepub fn date_created(self, input: impl Into<String>) -> Self
pub fn date_created(self, input: impl Into<String>) -> Self
The date on which this image 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 on which this image recipe was created.
sourcepub fn get_date_created(&self) -> &Option<String>
pub fn get_date_created(&self) -> &Option<String>
The date on which this image recipe was created.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of the image recipe.
The tags of the image recipe.
The tags of the image recipe.
sourcepub fn build(self) -> ImageRecipeSummary
pub fn build(self) -> ImageRecipeSummary
Consumes the builder and constructs a ImageRecipeSummary
.
Trait Implementations§
source§impl Clone for ImageRecipeSummaryBuilder
impl Clone for ImageRecipeSummaryBuilder
source§fn clone(&self) -> ImageRecipeSummaryBuilder
fn clone(&self) -> ImageRecipeSummaryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageRecipeSummaryBuilder
impl Debug for ImageRecipeSummaryBuilder
source§impl Default for ImageRecipeSummaryBuilder
impl Default for ImageRecipeSummaryBuilder
source§fn default() -> ImageRecipeSummaryBuilder
fn default() -> ImageRecipeSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ImageRecipeSummaryBuilder
impl PartialEq for ImageRecipeSummaryBuilder
source§fn eq(&self, other: &ImageRecipeSummaryBuilder) -> bool
fn eq(&self, other: &ImageRecipeSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ImageRecipeSummaryBuilder
Auto Trait Implementations§
impl Freeze for ImageRecipeSummaryBuilder
impl RefUnwindSafe for ImageRecipeSummaryBuilder
impl Send for ImageRecipeSummaryBuilder
impl Sync for ImageRecipeSummaryBuilder
impl Unpin for ImageRecipeSummaryBuilder
impl UnwindSafe for ImageRecipeSummaryBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.