Struct aws_sdk_iotwireless::operation::start_single_wireless_device_import_task::builders::StartSingleWirelessDeviceImportTaskInputBuilder
source · #[non_exhaustive]pub struct StartSingleWirelessDeviceImportTaskInputBuilder { /* private fields */ }
Expand description
A builder for StartSingleWirelessDeviceImportTaskInput
.
Implementations§
source§impl StartSingleWirelessDeviceImportTaskInputBuilder
impl StartSingleWirelessDeviceImportTaskInputBuilder
sourcepub fn destination_name(self, input: impl Into<String>) -> Self
pub fn destination_name(self, input: impl Into<String>) -> Self
The name of the Sidewalk destination that describes the IoT rule to route messages from the device in the import task that will be onboarded to AWS IoT Wireless.
This field is required.sourcepub fn set_destination_name(self, input: Option<String>) -> Self
pub fn set_destination_name(self, input: Option<String>) -> Self
The name of the Sidewalk destination that describes the IoT rule to route messages from the device in the import task that will be onboarded to AWS IoT Wireless.
sourcepub fn get_destination_name(&self) -> &Option<String>
pub fn get_destination_name(&self) -> &Option<String>
The name of the Sidewalk destination that describes the IoT rule to route messages from the device in the import task that will be onboarded to AWS IoT Wireless.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
sourcepub fn device_name(self, input: impl Into<String>) -> Self
pub fn device_name(self, input: impl Into<String>) -> Self
The name of the wireless device for which an import task is being started.
sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
The name of the wireless device for which an import task is being started.
sourcepub fn get_device_name(&self) -> &Option<String>
pub fn get_device_name(&self) -> &Option<String>
The name of the wireless device for which an import task is being started.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
sourcepub fn sidewalk(self, input: SidewalkSingleStartImportInfo) -> Self
pub fn sidewalk(self, input: SidewalkSingleStartImportInfo) -> Self
The Sidewalk-related parameters for importing a single wireless device.
This field is required.sourcepub fn set_sidewalk(self, input: Option<SidewalkSingleStartImportInfo>) -> Self
pub fn set_sidewalk(self, input: Option<SidewalkSingleStartImportInfo>) -> Self
The Sidewalk-related parameters for importing a single wireless device.
sourcepub fn get_sidewalk(&self) -> &Option<SidewalkSingleStartImportInfo>
pub fn get_sidewalk(&self) -> &Option<SidewalkSingleStartImportInfo>
The Sidewalk-related parameters for importing a single wireless device.
sourcepub fn build(
self
) -> Result<StartSingleWirelessDeviceImportTaskInput, BuildError>
pub fn build( self ) -> Result<StartSingleWirelessDeviceImportTaskInput, BuildError>
Consumes the builder and constructs a StartSingleWirelessDeviceImportTaskInput
.
source§impl StartSingleWirelessDeviceImportTaskInputBuilder
impl StartSingleWirelessDeviceImportTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartSingleWirelessDeviceImportTaskOutput, SdkError<StartSingleWirelessDeviceImportTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartSingleWirelessDeviceImportTaskOutput, SdkError<StartSingleWirelessDeviceImportTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartSingleWirelessDeviceImportTaskInputBuilder
impl Clone for StartSingleWirelessDeviceImportTaskInputBuilder
source§fn clone(&self) -> StartSingleWirelessDeviceImportTaskInputBuilder
fn clone(&self) -> StartSingleWirelessDeviceImportTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartSingleWirelessDeviceImportTaskInputBuilder
impl Default for StartSingleWirelessDeviceImportTaskInputBuilder
source§fn default() -> StartSingleWirelessDeviceImportTaskInputBuilder
fn default() -> StartSingleWirelessDeviceImportTaskInputBuilder
source§impl PartialEq for StartSingleWirelessDeviceImportTaskInputBuilder
impl PartialEq for StartSingleWirelessDeviceImportTaskInputBuilder
source§fn eq(&self, other: &StartSingleWirelessDeviceImportTaskInputBuilder) -> bool
fn eq(&self, other: &StartSingleWirelessDeviceImportTaskInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartSingleWirelessDeviceImportTaskInputBuilder
Auto Trait Implementations§
impl Freeze for StartSingleWirelessDeviceImportTaskInputBuilder
impl RefUnwindSafe for StartSingleWirelessDeviceImportTaskInputBuilder
impl Send for StartSingleWirelessDeviceImportTaskInputBuilder
impl Sync for StartSingleWirelessDeviceImportTaskInputBuilder
impl Unpin for StartSingleWirelessDeviceImportTaskInputBuilder
impl UnwindSafe for StartSingleWirelessDeviceImportTaskInputBuilder
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