Struct aws_sdk_iotwireless::operation::update_resource_position::builders::UpdateResourcePositionFluentBuilder
source · pub struct UpdateResourcePositionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateResourcePosition
.
Update the position information of a given wireless device or a wireless gateway resource. The position coordinates are based on the World Geodetic System (WGS84).
Implementations§
source§impl UpdateResourcePositionFluentBuilder
impl UpdateResourcePositionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateResourcePositionInputBuilder
pub fn as_input(&self) -> &UpdateResourcePositionInputBuilder
Access the UpdateResourcePosition as a reference.
sourcepub async fn send(
self
) -> Result<UpdateResourcePositionOutput, SdkError<UpdateResourcePositionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateResourcePositionOutput, SdkError<UpdateResourcePositionError, 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<UpdateResourcePositionOutput, UpdateResourcePositionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateResourcePositionOutput, UpdateResourcePositionError, 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 updated. 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 updated. 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 updated. 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 updated, 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 updated, 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 updated, which can be a wireless device or a wireless gateway.
sourcepub fn geo_json_payload(self, input: Blob) -> Self
pub fn geo_json_payload(self, input: Blob) -> Self
The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
sourcepub fn set_geo_json_payload(self, input: Option<Blob>) -> Self
pub fn set_geo_json_payload(self, input: Option<Blob>) -> Self
The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
sourcepub fn get_geo_json_payload(&self) -> &Option<Blob>
pub fn get_geo_json_payload(&self) -> &Option<Blob>
The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
Trait Implementations§
source§impl Clone for UpdateResourcePositionFluentBuilder
impl Clone for UpdateResourcePositionFluentBuilder
source§fn clone(&self) -> UpdateResourcePositionFluentBuilder
fn clone(&self) -> UpdateResourcePositionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more