#[non_exhaustive]pub struct OutputResourcesBuilder { /* private fields */ }
Expand description
A builder for OutputResources
.
Implementations§
source§impl OutputResourcesBuilder
impl OutputResourcesBuilder
sourcepub fn amis(self, input: Ami) -> Self
pub fn amis(self, input: Ami) -> Self
Appends an item to amis
.
To override the contents of this collection use set_amis
.
The Amazon EC2 AMIs created by this image.
sourcepub fn set_amis(self, input: Option<Vec<Ami>>) -> Self
pub fn set_amis(self, input: Option<Vec<Ami>>) -> Self
The Amazon EC2 AMIs created by this image.
sourcepub fn containers(self, input: Container) -> Self
pub fn containers(self, input: Container) -> Self
Appends an item to containers
.
To override the contents of this collection use set_containers
.
Container images that the pipeline has generated and stored in the output repository.
sourcepub fn set_containers(self, input: Option<Vec<Container>>) -> Self
pub fn set_containers(self, input: Option<Vec<Container>>) -> Self
Container images that the pipeline has generated and stored in the output repository.
sourcepub fn get_containers(&self) -> &Option<Vec<Container>>
pub fn get_containers(&self) -> &Option<Vec<Container>>
Container images that the pipeline has generated and stored in the output repository.
sourcepub fn build(self) -> OutputResources
pub fn build(self) -> OutputResources
Consumes the builder and constructs a OutputResources
.
Trait Implementations§
source§impl Clone for OutputResourcesBuilder
impl Clone for OutputResourcesBuilder
source§fn clone(&self) -> OutputResourcesBuilder
fn clone(&self) -> OutputResourcesBuilder
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 OutputResourcesBuilder
impl Debug for OutputResourcesBuilder
source§impl Default for OutputResourcesBuilder
impl Default for OutputResourcesBuilder
source§fn default() -> OutputResourcesBuilder
fn default() -> OutputResourcesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OutputResourcesBuilder
impl PartialEq for OutputResourcesBuilder
source§fn eq(&self, other: &OutputResourcesBuilder) -> bool
fn eq(&self, other: &OutputResourcesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutputResourcesBuilder
Auto Trait Implementations§
impl Freeze for OutputResourcesBuilder
impl RefUnwindSafe for OutputResourcesBuilder
impl Send for OutputResourcesBuilder
impl Sync for OutputResourcesBuilder
impl Unpin for OutputResourcesBuilder
impl UnwindSafe for OutputResourcesBuilder
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.