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 ==.