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 ==
.