Struct aws_sdk_iot::operation::attach_security_profile::builders::AttachSecurityProfileInputBuilder
source · #[non_exhaustive]pub struct AttachSecurityProfileInputBuilder { /* private fields */ }
Expand description
A builder for AttachSecurityProfileInput
.
Implementations§
source§impl AttachSecurityProfileInputBuilder
impl AttachSecurityProfileInputBuilder
sourcepub fn security_profile_name(self, input: impl Into<String>) -> Self
pub fn security_profile_name(self, input: impl Into<String>) -> Self
The security profile that is attached.
This field is required.sourcepub fn set_security_profile_name(self, input: Option<String>) -> Self
pub fn set_security_profile_name(self, input: Option<String>) -> Self
The security profile that is attached.
sourcepub fn get_security_profile_name(&self) -> &Option<String>
pub fn get_security_profile_name(&self) -> &Option<String>
The security profile that is attached.
sourcepub fn security_profile_target_arn(self, input: impl Into<String>) -> Self
pub fn security_profile_target_arn(self, input: impl Into<String>) -> Self
The ARN of the target (thing group) to which the security profile is attached.
This field is required.sourcepub fn set_security_profile_target_arn(self, input: Option<String>) -> Self
pub fn set_security_profile_target_arn(self, input: Option<String>) -> Self
The ARN of the target (thing group) to which the security profile is attached.
sourcepub fn get_security_profile_target_arn(&self) -> &Option<String>
pub fn get_security_profile_target_arn(&self) -> &Option<String>
The ARN of the target (thing group) to which the security profile is attached.
sourcepub fn build(self) -> Result<AttachSecurityProfileInput, BuildError>
pub fn build(self) -> Result<AttachSecurityProfileInput, BuildError>
Consumes the builder and constructs a AttachSecurityProfileInput
.
source§impl AttachSecurityProfileInputBuilder
impl AttachSecurityProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AttachSecurityProfileOutput, SdkError<AttachSecurityProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AttachSecurityProfileOutput, SdkError<AttachSecurityProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AttachSecurityProfileInputBuilder
impl Clone for AttachSecurityProfileInputBuilder
source§fn clone(&self) -> AttachSecurityProfileInputBuilder
fn clone(&self) -> AttachSecurityProfileInputBuilder
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 AttachSecurityProfileInputBuilder
impl Default for AttachSecurityProfileInputBuilder
source§fn default() -> AttachSecurityProfileInputBuilder
fn default() -> AttachSecurityProfileInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AttachSecurityProfileInputBuilder
impl PartialEq for AttachSecurityProfileInputBuilder
source§fn eq(&self, other: &AttachSecurityProfileInputBuilder) -> bool
fn eq(&self, other: &AttachSecurityProfileInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachSecurityProfileInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AttachSecurityProfileInputBuilder
impl Send for AttachSecurityProfileInputBuilder
impl Sync for AttachSecurityProfileInputBuilder
impl Unpin for AttachSecurityProfileInputBuilder
impl UnwindSafe for AttachSecurityProfileInputBuilder
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.