Struct aws_sdk_iotwireless::operation::update_resource_position::builders::UpdateResourcePositionInputBuilder
source · #[non_exhaustive]pub struct UpdateResourcePositionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateResourcePositionInput
.
Implementations§
source§impl UpdateResourcePositionInputBuilder
impl UpdateResourcePositionInputBuilder
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.
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 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.
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 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.
sourcepub fn build(self) -> Result<UpdateResourcePositionInput, BuildError>
pub fn build(self) -> Result<UpdateResourcePositionInput, BuildError>
Consumes the builder and constructs a UpdateResourcePositionInput
.
source§impl UpdateResourcePositionInputBuilder
impl UpdateResourcePositionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateResourcePositionOutput, SdkError<UpdateResourcePositionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateResourcePositionOutput, SdkError<UpdateResourcePositionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateResourcePositionInputBuilder
impl Clone for UpdateResourcePositionInputBuilder
source§fn clone(&self) -> UpdateResourcePositionInputBuilder
fn clone(&self) -> UpdateResourcePositionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateResourcePositionInputBuilder
impl Default for UpdateResourcePositionInputBuilder
source§fn default() -> UpdateResourcePositionInputBuilder
fn default() -> UpdateResourcePositionInputBuilder
source§impl PartialEq for UpdateResourcePositionInputBuilder
impl PartialEq for UpdateResourcePositionInputBuilder
source§fn eq(&self, other: &UpdateResourcePositionInputBuilder) -> bool
fn eq(&self, other: &UpdateResourcePositionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResourcePositionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateResourcePositionInputBuilder
impl RefUnwindSafe for UpdateResourcePositionInputBuilder
impl Send for UpdateResourcePositionInputBuilder
impl Sync for UpdateResourcePositionInputBuilder
impl Unpin for UpdateResourcePositionInputBuilder
impl UnwindSafe for UpdateResourcePositionInputBuilder
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> 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