Struct aws_sdk_iotfleetwise::operation::batch_create_vehicle::builders::BatchCreateVehicleOutputBuilder
source · #[non_exhaustive]pub struct BatchCreateVehicleOutputBuilder { /* private fields */ }Expand description
A builder for BatchCreateVehicleOutput.
Implementations§
source§impl BatchCreateVehicleOutputBuilder
impl BatchCreateVehicleOutputBuilder
sourcepub fn vehicles(self, input: CreateVehicleResponseItem) -> Self
pub fn vehicles(self, input: CreateVehicleResponseItem) -> Self
Appends an item to vehicles.
To override the contents of this collection use set_vehicles.
A list of information about a batch of created vehicles. For more information, see the API data type.
sourcepub fn set_vehicles(self, input: Option<Vec<CreateVehicleResponseItem>>) -> Self
pub fn set_vehicles(self, input: Option<Vec<CreateVehicleResponseItem>>) -> Self
A list of information about a batch of created vehicles. For more information, see the API data type.
sourcepub fn errors(self, input: CreateVehicleError) -> Self
pub fn errors(self, input: CreateVehicleError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of information about creation errors, or an empty list if there aren't any errors.
sourcepub fn set_errors(self, input: Option<Vec<CreateVehicleError>>) -> Self
pub fn set_errors(self, input: Option<Vec<CreateVehicleError>>) -> Self
A list of information about creation errors, or an empty list if there aren't any errors.
sourcepub fn build(self) -> BatchCreateVehicleOutput
pub fn build(self) -> BatchCreateVehicleOutput
Consumes the builder and constructs a BatchCreateVehicleOutput.
Trait Implementations§
source§impl Clone for BatchCreateVehicleOutputBuilder
impl Clone for BatchCreateVehicleOutputBuilder
source§fn clone(&self) -> BatchCreateVehicleOutputBuilder
fn clone(&self) -> BatchCreateVehicleOutputBuilder
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 BatchCreateVehicleOutputBuilder
impl Default for BatchCreateVehicleOutputBuilder
source§fn default() -> BatchCreateVehicleOutputBuilder
fn default() -> BatchCreateVehicleOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchCreateVehicleOutputBuilder> for BatchCreateVehicleOutputBuilder
impl PartialEq<BatchCreateVehicleOutputBuilder> for BatchCreateVehicleOutputBuilder
source§fn eq(&self, other: &BatchCreateVehicleOutputBuilder) -> bool
fn eq(&self, other: &BatchCreateVehicleOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchCreateVehicleOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchCreateVehicleOutputBuilder
impl Send for BatchCreateVehicleOutputBuilder
impl Sync for BatchCreateVehicleOutputBuilder
impl Unpin for BatchCreateVehicleOutputBuilder
impl UnwindSafe for BatchCreateVehicleOutputBuilder
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