#[non_exhaustive]pub struct DeleteDeviceInputBuilder { /* private fields */ }
Expand description
A builder for DeleteDeviceInput
.
Implementations§
source§impl DeleteDeviceInputBuilder
impl DeleteDeviceInputBuilder
sourcepub fn global_network_id(self, input: impl Into<String>) -> Self
pub fn global_network_id(self, input: impl Into<String>) -> Self
The ID of the global network.
This field is required.sourcepub fn set_global_network_id(self, input: Option<String>) -> Self
pub fn set_global_network_id(self, input: Option<String>) -> Self
The ID of the global network.
sourcepub fn get_global_network_id(&self) -> &Option<String>
pub fn get_global_network_id(&self) -> &Option<String>
The ID of the global network.
sourcepub fn device_id(self, input: impl Into<String>) -> Self
pub fn device_id(self, input: impl Into<String>) -> Self
The ID of the device.
This field is required.sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The ID of the device.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The ID of the device.
sourcepub fn build(self) -> Result<DeleteDeviceInput, BuildError>
pub fn build(self) -> Result<DeleteDeviceInput, BuildError>
Consumes the builder and constructs a DeleteDeviceInput
.
source§impl DeleteDeviceInputBuilder
impl DeleteDeviceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteDeviceOutput, SdkError<DeleteDeviceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteDeviceOutput, SdkError<DeleteDeviceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteDeviceInputBuilder
impl Clone for DeleteDeviceInputBuilder
source§fn clone(&self) -> DeleteDeviceInputBuilder
fn clone(&self) -> DeleteDeviceInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeleteDeviceInputBuilder
impl Debug for DeleteDeviceInputBuilder
source§impl Default for DeleteDeviceInputBuilder
impl Default for DeleteDeviceInputBuilder
source§fn default() -> DeleteDeviceInputBuilder
fn default() -> DeleteDeviceInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteDeviceInputBuilder
impl PartialEq for DeleteDeviceInputBuilder
source§fn eq(&self, other: &DeleteDeviceInputBuilder) -> bool
fn eq(&self, other: &DeleteDeviceInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteDeviceInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteDeviceInputBuilder
impl RefUnwindSafe for DeleteDeviceInputBuilder
impl Send for DeleteDeviceInputBuilder
impl Sync for DeleteDeviceInputBuilder
impl Unpin for DeleteDeviceInputBuilder
impl UnwindSafe for DeleteDeviceInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.