Struct aws_sdk_iot::types::builders::RegistrationConfigBuilder
source · #[non_exhaustive]pub struct RegistrationConfigBuilder { /* private fields */ }
Expand description
A builder for RegistrationConfig
.
Implementations§
source§impl RegistrationConfigBuilder
impl RegistrationConfigBuilder
sourcepub fn template_body(self, input: impl Into<String>) -> Self
pub fn template_body(self, input: impl Into<String>) -> Self
The template body.
sourcepub fn set_template_body(self, input: Option<String>) -> Self
pub fn set_template_body(self, input: Option<String>) -> Self
The template body.
sourcepub fn get_template_body(&self) -> &Option<String>
pub fn get_template_body(&self) -> &Option<String>
The template body.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the provisioning template.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the provisioning template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the provisioning template.
sourcepub fn build(self) -> RegistrationConfig
pub fn build(self) -> RegistrationConfig
Consumes the builder and constructs a RegistrationConfig
.
Trait Implementations§
source§impl Clone for RegistrationConfigBuilder
impl Clone for RegistrationConfigBuilder
source§fn clone(&self) -> RegistrationConfigBuilder
fn clone(&self) -> RegistrationConfigBuilder
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 RegistrationConfigBuilder
impl Debug for RegistrationConfigBuilder
source§impl Default for RegistrationConfigBuilder
impl Default for RegistrationConfigBuilder
source§fn default() -> RegistrationConfigBuilder
fn default() -> RegistrationConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RegistrationConfigBuilder
impl PartialEq for RegistrationConfigBuilder
source§fn eq(&self, other: &RegistrationConfigBuilder) -> bool
fn eq(&self, other: &RegistrationConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegistrationConfigBuilder
Auto Trait Implementations§
impl Freeze for RegistrationConfigBuilder
impl RefUnwindSafe for RegistrationConfigBuilder
impl Send for RegistrationConfigBuilder
impl Sync for RegistrationConfigBuilder
impl Unpin for RegistrationConfigBuilder
impl UnwindSafe for RegistrationConfigBuilder
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.