Struct aws_sdk_connect::operation::update_user_security_profiles::builders::UpdateUserSecurityProfilesInputBuilder
source · #[non_exhaustive]pub struct UpdateUserSecurityProfilesInputBuilder { /* private fields */ }Expand description
A builder for UpdateUserSecurityProfilesInput.
Implementations§
source§impl UpdateUserSecurityProfilesInputBuilder
impl UpdateUserSecurityProfilesInputBuilder
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 security_profile_ids.
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 user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier of the user account.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateUserSecurityProfilesInput, BuildError>
pub fn build(self) -> Result<UpdateUserSecurityProfilesInput, BuildError>
Consumes the builder and constructs a UpdateUserSecurityProfilesInput.
source§impl UpdateUserSecurityProfilesInputBuilder
impl UpdateUserSecurityProfilesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateUserSecurityProfilesOutput, SdkError<UpdateUserSecurityProfilesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateUserSecurityProfilesOutput, SdkError<UpdateUserSecurityProfilesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateUserSecurityProfilesInputBuilder
impl Clone for UpdateUserSecurityProfilesInputBuilder
source§fn clone(&self) -> UpdateUserSecurityProfilesInputBuilder
fn clone(&self) -> UpdateUserSecurityProfilesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateUserSecurityProfilesInputBuilder
impl Default for UpdateUserSecurityProfilesInputBuilder
source§fn default() -> UpdateUserSecurityProfilesInputBuilder
fn default() -> UpdateUserSecurityProfilesInputBuilder
source§impl PartialEq for UpdateUserSecurityProfilesInputBuilder
impl PartialEq for UpdateUserSecurityProfilesInputBuilder
source§fn eq(&self, other: &UpdateUserSecurityProfilesInputBuilder) -> bool
fn eq(&self, other: &UpdateUserSecurityProfilesInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateUserSecurityProfilesInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateUserSecurityProfilesInputBuilder
impl RefUnwindSafe for UpdateUserSecurityProfilesInputBuilder
impl Send for UpdateUserSecurityProfilesInputBuilder
impl Sync for UpdateUserSecurityProfilesInputBuilder
impl Unpin for UpdateUserSecurityProfilesInputBuilder
impl UnwindSafe for UpdateUserSecurityProfilesInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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