#[non_exhaustive]pub struct SecurityProfileTargetMappingBuilder { /* private fields */ }
Expand description
A builder for SecurityProfileTargetMapping
.
Implementations§
source§impl SecurityProfileTargetMappingBuilder
impl SecurityProfileTargetMappingBuilder
sourcepub fn security_profile_identifier(
self,
input: SecurityProfileIdentifier,
) -> Self
pub fn security_profile_identifier( self, input: SecurityProfileIdentifier, ) -> Self
Information that identifies the security profile.
sourcepub fn set_security_profile_identifier(
self,
input: Option<SecurityProfileIdentifier>,
) -> Self
pub fn set_security_profile_identifier( self, input: Option<SecurityProfileIdentifier>, ) -> Self
Information that identifies the security profile.
sourcepub fn get_security_profile_identifier(
&self,
) -> &Option<SecurityProfileIdentifier>
pub fn get_security_profile_identifier( &self, ) -> &Option<SecurityProfileIdentifier>
Information that identifies the security profile.
sourcepub fn target(self, input: SecurityProfileTarget) -> Self
pub fn target(self, input: SecurityProfileTarget) -> Self
Information about the target (thing group) associated with the security profile.
sourcepub fn set_target(self, input: Option<SecurityProfileTarget>) -> Self
pub fn set_target(self, input: Option<SecurityProfileTarget>) -> Self
Information about the target (thing group) associated with the security profile.
sourcepub fn get_target(&self) -> &Option<SecurityProfileTarget>
pub fn get_target(&self) -> &Option<SecurityProfileTarget>
Information about the target (thing group) associated with the security profile.
sourcepub fn build(self) -> SecurityProfileTargetMapping
pub fn build(self) -> SecurityProfileTargetMapping
Consumes the builder and constructs a SecurityProfileTargetMapping
.
Trait Implementations§
source§impl Clone for SecurityProfileTargetMappingBuilder
impl Clone for SecurityProfileTargetMappingBuilder
source§fn clone(&self) -> SecurityProfileTargetMappingBuilder
fn clone(&self) -> SecurityProfileTargetMappingBuilder
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 Default for SecurityProfileTargetMappingBuilder
impl Default for SecurityProfileTargetMappingBuilder
source§fn default() -> SecurityProfileTargetMappingBuilder
fn default() -> SecurityProfileTargetMappingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SecurityProfileTargetMappingBuilder
impl PartialEq for SecurityProfileTargetMappingBuilder
source§fn eq(&self, other: &SecurityProfileTargetMappingBuilder) -> bool
fn eq(&self, other: &SecurityProfileTargetMappingBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SecurityProfileTargetMappingBuilder
Auto Trait Implementations§
impl Freeze for SecurityProfileTargetMappingBuilder
impl RefUnwindSafe for SecurityProfileTargetMappingBuilder
impl Send for SecurityProfileTargetMappingBuilder
impl Sync for SecurityProfileTargetMappingBuilder
impl Unpin for SecurityProfileTargetMappingBuilder
impl UnwindSafe for SecurityProfileTargetMappingBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.