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