Struct aws_sdk_iotfleetwise::operation::batch_update_vehicle::builders::BatchUpdateVehicleOutputBuilder
source · #[non_exhaustive]pub struct BatchUpdateVehicleOutputBuilder { /* private fields */ }Expand description
A builder for BatchUpdateVehicleOutput.
Implementations§
source§impl BatchUpdateVehicleOutputBuilder
impl BatchUpdateVehicleOutputBuilder
sourcepub fn vehicles(self, input: UpdateVehicleResponseItem) -> Self
pub fn vehicles(self, input: UpdateVehicleResponseItem) -> Self
Appends an item to vehicles.
To override the contents of this collection use set_vehicles.
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
sourcepub fn set_vehicles(self, input: Option<Vec<UpdateVehicleResponseItem>>) -> Self
pub fn set_vehicles(self, input: Option<Vec<UpdateVehicleResponseItem>>) -> Self
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
sourcepub fn get_vehicles(&self) -> &Option<Vec<UpdateVehicleResponseItem>>
pub fn get_vehicles(&self) -> &Option<Vec<UpdateVehicleResponseItem>>
A list of information about the batch of updated vehicles.
This list contains only unique IDs for the vehicles that were updated.
sourcepub fn errors(self, input: UpdateVehicleError) -> Self
pub fn errors(self, input: UpdateVehicleError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
sourcepub fn set_errors(self, input: Option<Vec<UpdateVehicleError>>) -> Self
pub fn set_errors(self, input: Option<Vec<UpdateVehicleError>>) -> Self
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
sourcepub fn get_errors(&self) -> &Option<Vec<UpdateVehicleError>>
pub fn get_errors(&self) -> &Option<Vec<UpdateVehicleError>>
A list of information about errors returned while updating a batch of vehicles, or, if there aren't any errors, an empty list.
sourcepub fn build(self) -> BatchUpdateVehicleOutput
pub fn build(self) -> BatchUpdateVehicleOutput
Consumes the builder and constructs a BatchUpdateVehicleOutput.
Trait Implementations§
source§impl Clone for BatchUpdateVehicleOutputBuilder
impl Clone for BatchUpdateVehicleOutputBuilder
source§fn clone(&self) -> BatchUpdateVehicleOutputBuilder
fn clone(&self) -> BatchUpdateVehicleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchUpdateVehicleOutputBuilder
impl Default for BatchUpdateVehicleOutputBuilder
source§fn default() -> BatchUpdateVehicleOutputBuilder
fn default() -> BatchUpdateVehicleOutputBuilder
source§impl PartialEq for BatchUpdateVehicleOutputBuilder
impl PartialEq for BatchUpdateVehicleOutputBuilder
source§fn eq(&self, other: &BatchUpdateVehicleOutputBuilder) -> bool
fn eq(&self, other: &BatchUpdateVehicleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchUpdateVehicleOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchUpdateVehicleOutputBuilder
impl RefUnwindSafe for BatchUpdateVehicleOutputBuilder
impl Send for BatchUpdateVehicleOutputBuilder
impl Sync for BatchUpdateVehicleOutputBuilder
impl Unpin for BatchUpdateVehicleOutputBuilder
impl UnwindSafe for BatchUpdateVehicleOutputBuilder
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
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)
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>
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>
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 more