Struct aws_sdk_iotwireless::operation::get_resource_position::builders::GetResourcePositionInputBuilder
source · #[non_exhaustive]pub struct GetResourcePositionInputBuilder { /* private fields */ }Expand description
A builder for GetResourcePositionInput.
Implementations§
source§impl GetResourcePositionInputBuilder
impl GetResourcePositionInputBuilder
sourcepub fn resource_identifier(self, input: impl Into<String>) -> Self
pub fn resource_identifier(self, input: impl Into<String>) -> Self
The identifier of the resource for which position information is retrieved. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
This field is required.sourcepub fn set_resource_identifier(self, input: Option<String>) -> Self
pub fn set_resource_identifier(self, input: Option<String>) -> Self
The identifier of the resource for which position information is retrieved. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
sourcepub fn get_resource_identifier(&self) -> &Option<String>
pub fn get_resource_identifier(&self) -> &Option<String>
The identifier of the resource for which position information is retrieved. It can be the wireless device ID or the wireless gateway ID, depending on the resource type.
sourcepub fn resource_type(self, input: PositionResourceType) -> Self
pub fn resource_type(self, input: PositionResourceType) -> Self
The type of resource for which position information is retrieved, which can be a wireless device or a wireless gateway.
This field is required.sourcepub fn set_resource_type(self, input: Option<PositionResourceType>) -> Self
pub fn set_resource_type(self, input: Option<PositionResourceType>) -> Self
The type of resource for which position information is retrieved, which can be a wireless device or a wireless gateway.
sourcepub fn get_resource_type(&self) -> &Option<PositionResourceType>
pub fn get_resource_type(&self) -> &Option<PositionResourceType>
The type of resource for which position information is retrieved, which can be a wireless device or a wireless gateway.
sourcepub fn build(self) -> Result<GetResourcePositionInput, BuildError>
pub fn build(self) -> Result<GetResourcePositionInput, BuildError>
Consumes the builder and constructs a GetResourcePositionInput.
source§impl GetResourcePositionInputBuilder
impl GetResourcePositionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetResourcePositionOutput, SdkError<GetResourcePositionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetResourcePositionOutput, SdkError<GetResourcePositionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetResourcePositionInputBuilder
impl Clone for GetResourcePositionInputBuilder
source§fn clone(&self) -> GetResourcePositionInputBuilder
fn clone(&self) -> GetResourcePositionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetResourcePositionInputBuilder
impl Default for GetResourcePositionInputBuilder
source§fn default() -> GetResourcePositionInputBuilder
fn default() -> GetResourcePositionInputBuilder
source§impl PartialEq for GetResourcePositionInputBuilder
impl PartialEq for GetResourcePositionInputBuilder
source§fn eq(&self, other: &GetResourcePositionInputBuilder) -> bool
fn eq(&self, other: &GetResourcePositionInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetResourcePositionInputBuilder
Auto Trait Implementations§
impl Freeze for GetResourcePositionInputBuilder
impl RefUnwindSafe for GetResourcePositionInputBuilder
impl Send for GetResourcePositionInputBuilder
impl Sync for GetResourcePositionInputBuilder
impl Unpin for GetResourcePositionInputBuilder
impl UnwindSafe for GetResourcePositionInputBuilder
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> 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)
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>
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