Struct aws_sdk_connect::operation::update_user_security_profiles::builders::UpdateUserSecurityProfilesFluentBuilder
source · pub struct UpdateUserSecurityProfilesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateUserSecurityProfiles
.
Assigns the specified security profiles to the specified user.
Implementations§
source§impl UpdateUserSecurityProfilesFluentBuilder
impl UpdateUserSecurityProfilesFluentBuilder
sourcepub fn as_input(&self) -> &UpdateUserSecurityProfilesInputBuilder
pub fn as_input(&self) -> &UpdateUserSecurityProfilesInputBuilder
Access the UpdateUserSecurityProfiles as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateUserSecurityProfilesOutput, SdkError<UpdateUserSecurityProfilesError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateUserSecurityProfilesOutput, SdkError<UpdateUserSecurityProfilesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<UpdateUserSecurityProfilesOutput, UpdateUserSecurityProfilesError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateUserSecurityProfilesOutput, UpdateUserSecurityProfilesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn security_profile_ids(self, input: impl Into<String>) -> Self
pub fn security_profile_ids(self, input: impl Into<String>) -> Self
Appends an item to SecurityProfileIds
.
To override the contents of this collection use set_security_profile_ids
.
The identifiers of the security profiles for the user.
sourcepub fn set_security_profile_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_profile_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of the security profiles for the user.
sourcepub fn get_security_profile_ids(&self) -> &Option<Vec<String>>
pub fn get_security_profile_ids(&self) -> &Option<Vec<String>>
The identifiers of the security profiles for the user.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user account.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier of the user account.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Trait Implementations§
source§impl Clone for UpdateUserSecurityProfilesFluentBuilder
impl Clone for UpdateUserSecurityProfilesFluentBuilder
source§fn clone(&self) -> UpdateUserSecurityProfilesFluentBuilder
fn clone(&self) -> UpdateUserSecurityProfilesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateUserSecurityProfilesFluentBuilder
impl !RefUnwindSafe for UpdateUserSecurityProfilesFluentBuilder
impl Send for UpdateUserSecurityProfilesFluentBuilder
impl Sync for UpdateUserSecurityProfilesFluentBuilder
impl Unpin for UpdateUserSecurityProfilesFluentBuilder
impl !UnwindSafe for UpdateUserSecurityProfilesFluentBuilder
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
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)
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>
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>
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 more