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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BatchCheckLayerAvailabilityOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchCheckLayerAvailabilityOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.