#[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
This method 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> 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.