Struct aws_sdk_opsworks::types::builders::UserProfileBuilder
source · #[non_exhaustive]pub struct UserProfileBuilder { /* private fields */ }
Expand description
A builder for UserProfile
.
Implementations§
source§impl UserProfileBuilder
impl UserProfileBuilder
sourcepub fn iam_user_arn(self, input: impl Into<String>) -> Self
pub fn iam_user_arn(self, input: impl Into<String>) -> Self
The user's IAM ARN.
sourcepub fn set_iam_user_arn(self, input: Option<String>) -> Self
pub fn set_iam_user_arn(self, input: Option<String>) -> Self
The user's IAM ARN.
sourcepub fn get_iam_user_arn(&self) -> &Option<String>
pub fn get_iam_user_arn(&self) -> &Option<String>
The user's IAM ARN.
sourcepub fn ssh_username(self, input: impl Into<String>) -> Self
pub fn ssh_username(self, input: impl Into<String>) -> Self
The user's SSH user name.
sourcepub fn set_ssh_username(self, input: Option<String>) -> Self
pub fn set_ssh_username(self, input: Option<String>) -> Self
The user's SSH user name.
sourcepub fn get_ssh_username(&self) -> &Option<String>
pub fn get_ssh_username(&self) -> &Option<String>
The user's SSH user name.
sourcepub fn ssh_public_key(self, input: impl Into<String>) -> Self
pub fn ssh_public_key(self, input: impl Into<String>) -> Self
The user's SSH public key.
sourcepub fn set_ssh_public_key(self, input: Option<String>) -> Self
pub fn set_ssh_public_key(self, input: Option<String>) -> Self
The user's SSH public key.
sourcepub fn get_ssh_public_key(&self) -> &Option<String>
pub fn get_ssh_public_key(&self) -> &Option<String>
The user's SSH public key.
sourcepub fn allow_self_management(self, input: bool) -> Self
pub fn allow_self_management(self, input: bool) -> Self
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
sourcepub fn set_allow_self_management(self, input: Option<bool>) -> Self
pub fn set_allow_self_management(self, input: Option<bool>) -> Self
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
sourcepub fn get_allow_self_management(&self) -> &Option<bool>
pub fn get_allow_self_management(&self) -> &Option<bool>
Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.
sourcepub fn build(self) -> UserProfile
pub fn build(self) -> UserProfile
Consumes the builder and constructs a UserProfile
.
Trait Implementations§
source§impl Clone for UserProfileBuilder
impl Clone for UserProfileBuilder
source§fn clone(&self) -> UserProfileBuilder
fn clone(&self) -> UserProfileBuilder
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 Debug for UserProfileBuilder
impl Debug for UserProfileBuilder
source§impl Default for UserProfileBuilder
impl Default for UserProfileBuilder
source§fn default() -> UserProfileBuilder
fn default() -> UserProfileBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UserProfileBuilder
impl PartialEq for UserProfileBuilder
source§fn eq(&self, other: &UserProfileBuilder) -> bool
fn eq(&self, other: &UserProfileBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserProfileBuilder
Auto Trait Implementations§
impl Freeze for UserProfileBuilder
impl RefUnwindSafe for UserProfileBuilder
impl Send for UserProfileBuilder
impl Sync for UserProfileBuilder
impl Unpin for UserProfileBuilder
impl UnwindSafe for UserProfileBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.