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 get_vehicles(&self) -> &Option<Vec<CreateVehicleResponseItem>>
pub fn get_vehicles(&self) -> &Option<Vec<CreateVehicleResponseItem>>
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 get_errors(&self) -> &Option<Vec<CreateVehicleError>>
pub fn get_errors(&self) -> &Option<Vec<CreateVehicleError>>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchCreateVehicleOutputBuilder
impl Default for BatchCreateVehicleOutputBuilder
source§fn default() -> BatchCreateVehicleOutputBuilder
fn default() -> BatchCreateVehicleOutputBuilder
source§impl PartialEq<BatchCreateVehicleOutputBuilder> for BatchCreateVehicleOutputBuilder
impl PartialEq<BatchCreateVehicleOutputBuilder> for BatchCreateVehicleOutputBuilder
source§fn eq(&self, other: &BatchCreateVehicleOutputBuilder) -> bool
fn eq(&self, other: &BatchCreateVehicleOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.