Struct aws_sdk_iotwireless::operation::get_resource_position::builders::GetResourcePositionFluentBuilder
source · pub struct GetResourcePositionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetResourcePosition
.
Get the position information for a given wireless device or a wireless gateway resource. The position information uses the World Geodetic System (WGS84).
Implementations§
source§impl GetResourcePositionFluentBuilder
impl GetResourcePositionFluentBuilder
sourcepub fn as_input(&self) -> &GetResourcePositionInputBuilder
pub fn as_input(&self) -> &GetResourcePositionInputBuilder
Access the GetResourcePosition as a reference.
sourcepub async fn send(
self
) -> Result<GetResourcePositionOutput, SdkError<GetResourcePositionError, HttpResponse>>
pub async fn send( self ) -> Result<GetResourcePositionOutput, SdkError<GetResourcePositionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetResourcePositionOutput, GetResourcePositionError, Self>
pub fn customize( self ) -> CustomizableOperation<GetResourcePositionOutput, GetResourcePositionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for GetResourcePositionFluentBuilder
impl Clone for GetResourcePositionFluentBuilder
source§fn clone(&self) -> GetResourcePositionFluentBuilder
fn clone(&self) -> GetResourcePositionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more