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 for BatchCreateVehicleOutputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for BatchCreateVehicleOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchCreateVehicleOutputBuilder
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
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