Struct aws_sdk_ecr::operation::batch_check_layer_availability::builders::BatchCheckLayerAvailabilityOutputBuilder
source · #[non_exhaustive]pub struct BatchCheckLayerAvailabilityOutputBuilder { /* private fields */ }
Expand description
A builder for BatchCheckLayerAvailabilityOutput
.
Implementations§
source§impl BatchCheckLayerAvailabilityOutputBuilder
impl BatchCheckLayerAvailabilityOutputBuilder
sourcepub fn layers(self, input: Layer) -> Self
pub fn layers(self, input: Layer) -> Self
Appends an item to layers
.
To override the contents of this collection use set_layers
.
A list of image layer objects corresponding to the image layer references in the request.
sourcepub fn set_layers(self, input: Option<Vec<Layer>>) -> Self
pub fn set_layers(self, input: Option<Vec<Layer>>) -> Self
A list of image layer objects corresponding to the image layer references in the request.
sourcepub fn get_layers(&self) -> &Option<Vec<Layer>>
pub fn get_layers(&self) -> &Option<Vec<Layer>>
A list of image layer objects corresponding to the image layer references in the request.
sourcepub fn failures(self, input: LayerFailure) -> Self
pub fn failures(self, input: LayerFailure) -> Self
Appends an item to failures
.
To override the contents of this collection use set_failures
.
Any failures associated with the call.
sourcepub fn set_failures(self, input: Option<Vec<LayerFailure>>) -> Self
pub fn set_failures(self, input: Option<Vec<LayerFailure>>) -> Self
Any failures associated with the call.
sourcepub fn get_failures(&self) -> &Option<Vec<LayerFailure>>
pub fn get_failures(&self) -> &Option<Vec<LayerFailure>>
Any failures associated with the call.
sourcepub fn build(self) -> BatchCheckLayerAvailabilityOutput
pub fn build(self) -> BatchCheckLayerAvailabilityOutput
Consumes the builder and constructs a BatchCheckLayerAvailabilityOutput
.
Trait Implementations§
source§impl Clone for BatchCheckLayerAvailabilityOutputBuilder
impl Clone for BatchCheckLayerAvailabilityOutputBuilder
source§fn clone(&self) -> BatchCheckLayerAvailabilityOutputBuilder
fn clone(&self) -> BatchCheckLayerAvailabilityOutputBuilder
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 Default for BatchCheckLayerAvailabilityOutputBuilder
impl Default for BatchCheckLayerAvailabilityOutputBuilder
source§fn default() -> BatchCheckLayerAvailabilityOutputBuilder
fn default() -> BatchCheckLayerAvailabilityOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchCheckLayerAvailabilityOutputBuilder
impl PartialEq for BatchCheckLayerAvailabilityOutputBuilder
source§fn eq(&self, other: &BatchCheckLayerAvailabilityOutputBuilder) -> bool
fn eq(&self, other: &BatchCheckLayerAvailabilityOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCheckLayerAvailabilityOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchCheckLayerAvailabilityOutputBuilder
impl Send for BatchCheckLayerAvailabilityOutputBuilder
impl Sync for BatchCheckLayerAvailabilityOutputBuilder
impl Unpin for BatchCheckLayerAvailabilityOutputBuilder
impl UnwindSafe for BatchCheckLayerAvailabilityOutputBuilder
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>
Creates a shared type from an unshared type.