Struct aws_sdk_iotfleetwise::operation::batch_create_vehicle::builders::BatchCreateVehicleInputBuilder
source · #[non_exhaustive]pub struct BatchCreateVehicleInputBuilder { /* private fields */ }
Expand description
A builder for BatchCreateVehicleInput
.
Implementations§
source§impl BatchCreateVehicleInputBuilder
impl BatchCreateVehicleInputBuilder
sourcepub fn vehicles(self, input: CreateVehicleRequestItem) -> Self
pub fn vehicles(self, input: CreateVehicleRequestItem) -> Self
Appends an item to vehicles
.
To override the contents of this collection use set_vehicles
.
A list of information about each vehicle to create. For more information, see the API data type.
sourcepub fn set_vehicles(self, input: Option<Vec<CreateVehicleRequestItem>>) -> Self
pub fn set_vehicles(self, input: Option<Vec<CreateVehicleRequestItem>>) -> Self
A list of information about each vehicle to create. For more information, see the API data type.
sourcepub fn get_vehicles(&self) -> &Option<Vec<CreateVehicleRequestItem>>
pub fn get_vehicles(&self) -> &Option<Vec<CreateVehicleRequestItem>>
A list of information about each vehicle to create. For more information, see the API data type.
sourcepub fn build(self) -> Result<BatchCreateVehicleInput, BuildError>
pub fn build(self) -> Result<BatchCreateVehicleInput, BuildError>
Consumes the builder and constructs a BatchCreateVehicleInput
.
source§impl BatchCreateVehicleInputBuilder
impl BatchCreateVehicleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchCreateVehicleOutput, SdkError<BatchCreateVehicleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchCreateVehicleOutput, SdkError<BatchCreateVehicleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchCreateVehicleInputBuilder
impl Clone for BatchCreateVehicleInputBuilder
source§fn clone(&self) -> BatchCreateVehicleInputBuilder
fn clone(&self) -> BatchCreateVehicleInputBuilder
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 BatchCreateVehicleInputBuilder
impl Default for BatchCreateVehicleInputBuilder
source§fn default() -> BatchCreateVehicleInputBuilder
fn default() -> BatchCreateVehicleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchCreateVehicleInputBuilder
impl PartialEq for BatchCreateVehicleInputBuilder
source§fn eq(&self, other: &BatchCreateVehicleInputBuilder) -> bool
fn eq(&self, other: &BatchCreateVehicleInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCreateVehicleInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchCreateVehicleInputBuilder
impl Send for BatchCreateVehicleInputBuilder
impl Sync for BatchCreateVehicleInputBuilder
impl Unpin for BatchCreateVehicleInputBuilder
impl UnwindSafe for BatchCreateVehicleInputBuilder
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
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>
Creates a shared type from an unshared type.