Struct aws_sdk_iotsitewise::operation::batch_associate_project_assets::builders::BatchAssociateProjectAssetsOutputBuilder
source · #[non_exhaustive]pub struct BatchAssociateProjectAssetsOutputBuilder { /* private fields */ }Expand description
A builder for BatchAssociateProjectAssetsOutput.
Implementations§
source§impl BatchAssociateProjectAssetsOutputBuilder
impl BatchAssociateProjectAssetsOutputBuilder
sourcepub fn errors(self, input: AssetErrorDetails) -> Self
pub fn errors(self, input: AssetErrorDetails) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of associated error information, if any.
sourcepub fn set_errors(self, input: Option<Vec<AssetErrorDetails>>) -> Self
pub fn set_errors(self, input: Option<Vec<AssetErrorDetails>>) -> Self
A list of associated error information, if any.
sourcepub fn get_errors(&self) -> &Option<Vec<AssetErrorDetails>>
pub fn get_errors(&self) -> &Option<Vec<AssetErrorDetails>>
A list of associated error information, if any.
sourcepub fn build(self) -> BatchAssociateProjectAssetsOutput
pub fn build(self) -> BatchAssociateProjectAssetsOutput
Consumes the builder and constructs a BatchAssociateProjectAssetsOutput.
Trait Implementations§
source§impl Clone for BatchAssociateProjectAssetsOutputBuilder
impl Clone for BatchAssociateProjectAssetsOutputBuilder
source§fn clone(&self) -> BatchAssociateProjectAssetsOutputBuilder
fn clone(&self) -> BatchAssociateProjectAssetsOutputBuilder
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 BatchAssociateProjectAssetsOutputBuilder
impl Default for BatchAssociateProjectAssetsOutputBuilder
source§fn default() -> BatchAssociateProjectAssetsOutputBuilder
fn default() -> BatchAssociateProjectAssetsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchAssociateProjectAssetsOutputBuilder
impl PartialEq for BatchAssociateProjectAssetsOutputBuilder
source§fn eq(&self, other: &BatchAssociateProjectAssetsOutputBuilder) -> bool
fn eq(&self, other: &BatchAssociateProjectAssetsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchAssociateProjectAssetsOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchAssociateProjectAssetsOutputBuilder
impl RefUnwindSafe for BatchAssociateProjectAssetsOutputBuilder
impl Send for BatchAssociateProjectAssetsOutputBuilder
impl Sync for BatchAssociateProjectAssetsOutputBuilder
impl Unpin for BatchAssociateProjectAssetsOutputBuilder
impl UnwindSafe for BatchAssociateProjectAssetsOutputBuilder
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.