#[non_exhaustive]pub struct DeviceUnderTestBuilder { /* private fields */ }
Expand description
A builder for DeviceUnderTest
.
Implementations§
source§impl DeviceUnderTestBuilder
impl DeviceUnderTestBuilder
sourcepub fn set_thing_arn(self, input: Option<String>) -> Self
pub fn set_thing_arn(self, input: Option<String>) -> Self
Lists device's thing ARN.
sourcepub fn get_thing_arn(&self) -> &Option<String>
pub fn get_thing_arn(&self) -> &Option<String>
Lists device's thing ARN.
sourcepub fn certificate_arn(self, input: impl Into<String>) -> Self
pub fn certificate_arn(self, input: impl Into<String>) -> Self
Lists device's certificate ARN.
sourcepub fn set_certificate_arn(self, input: Option<String>) -> Self
pub fn set_certificate_arn(self, input: Option<String>) -> Self
Lists device's certificate ARN.
sourcepub fn get_certificate_arn(&self) -> &Option<String>
pub fn get_certificate_arn(&self) -> &Option<String>
Lists device's certificate ARN.
sourcepub fn device_role_arn(self, input: impl Into<String>) -> Self
pub fn device_role_arn(self, input: impl Into<String>) -> Self
Lists device's role ARN.
sourcepub fn set_device_role_arn(self, input: Option<String>) -> Self
pub fn set_device_role_arn(self, input: Option<String>) -> Self
Lists device's role ARN.
sourcepub fn get_device_role_arn(&self) -> &Option<String>
pub fn get_device_role_arn(&self) -> &Option<String>
Lists device's role ARN.
sourcepub fn build(self) -> DeviceUnderTest
pub fn build(self) -> DeviceUnderTest
Consumes the builder and constructs a DeviceUnderTest
.
Trait Implementations§
source§impl Clone for DeviceUnderTestBuilder
impl Clone for DeviceUnderTestBuilder
source§fn clone(&self) -> DeviceUnderTestBuilder
fn clone(&self) -> DeviceUnderTestBuilder
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 DeviceUnderTestBuilder
impl Debug for DeviceUnderTestBuilder
source§impl Default for DeviceUnderTestBuilder
impl Default for DeviceUnderTestBuilder
source§fn default() -> DeviceUnderTestBuilder
fn default() -> DeviceUnderTestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeviceUnderTestBuilder
impl PartialEq for DeviceUnderTestBuilder
source§fn eq(&self, other: &DeviceUnderTestBuilder) -> bool
fn eq(&self, other: &DeviceUnderTestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceUnderTestBuilder
Auto Trait Implementations§
impl Freeze for DeviceUnderTestBuilder
impl RefUnwindSafe for DeviceUnderTestBuilder
impl Send for DeviceUnderTestBuilder
impl Sync for DeviceUnderTestBuilder
impl Unpin for DeviceUnderTestBuilder
impl UnwindSafe for DeviceUnderTestBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.