Struct aws_sdk_iotwireless::operation::update_position::builders::UpdatePositionInputBuilder
source · #[non_exhaustive]pub struct UpdatePositionInputBuilder { /* private fields */ }Expand description
A builder for UpdatePositionInput.
Implementations§
source§impl UpdatePositionInputBuilder
impl UpdatePositionInputBuilder
sourcepub fn resource_identifier(self, input: impl Into<String>) -> Self
pub fn resource_identifier(self, input: impl Into<String>) -> Self
Resource identifier of the resource for which position is updated.
This field is required.sourcepub fn set_resource_identifier(self, input: Option<String>) -> Self
pub fn set_resource_identifier(self, input: Option<String>) -> Self
Resource identifier of the resource for which position is updated.
sourcepub fn get_resource_identifier(&self) -> &Option<String>
pub fn get_resource_identifier(&self) -> &Option<String>
Resource identifier of the resource for which position is updated.
sourcepub fn resource_type(self, input: PositionResourceType) -> Self
pub fn resource_type(self, input: PositionResourceType) -> Self
Resource type of the resource for which position is updated.
This field is required.sourcepub fn set_resource_type(self, input: Option<PositionResourceType>) -> Self
pub fn set_resource_type(self, input: Option<PositionResourceType>) -> Self
Resource type of the resource for which position is updated.
sourcepub fn get_resource_type(&self) -> &Option<PositionResourceType>
pub fn get_resource_type(&self) -> &Option<PositionResourceType>
Resource type of the resource for which position is updated.
sourcepub fn position(self, input: f32) -> Self
pub fn position(self, input: f32) -> Self
Appends an item to position.
To override the contents of this collection use set_position.
The position information of the resource.
sourcepub fn set_position(self, input: Option<Vec<f32>>) -> Self
pub fn set_position(self, input: Option<Vec<f32>>) -> Self
The position information of the resource.
sourcepub fn get_position(&self) -> &Option<Vec<f32>>
pub fn get_position(&self) -> &Option<Vec<f32>>
The position information of the resource.
sourcepub fn build(self) -> Result<UpdatePositionInput, BuildError>
pub fn build(self) -> Result<UpdatePositionInput, BuildError>
Consumes the builder and constructs a UpdatePositionInput.
source§impl UpdatePositionInputBuilder
impl UpdatePositionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdatePositionOutput, SdkError<UpdatePositionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdatePositionOutput, SdkError<UpdatePositionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdatePositionInputBuilder
impl Clone for UpdatePositionInputBuilder
source§fn clone(&self) -> UpdatePositionInputBuilder
fn clone(&self) -> UpdatePositionInputBuilder
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 Debug for UpdatePositionInputBuilder
impl Debug for UpdatePositionInputBuilder
source§impl Default for UpdatePositionInputBuilder
impl Default for UpdatePositionInputBuilder
source§fn default() -> UpdatePositionInputBuilder
fn default() -> UpdatePositionInputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for UpdatePositionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdatePositionInputBuilder
impl RefUnwindSafe for UpdatePositionInputBuilder
impl Send for UpdatePositionInputBuilder
impl Sync for UpdatePositionInputBuilder
impl Unpin for UpdatePositionInputBuilder
impl UnwindSafe for UpdatePositionInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.