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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateUserSecurityProfilesOutput, UpdateUserSecurityProfilesError, Self>, SdkError<UpdateUserSecurityProfilesError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateUserSecurityProfilesOutput, UpdateUserSecurityProfilesError, Self>, SdkError<UpdateUserSecurityProfilesError>>
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 more