Struct aws_sdk_opsworks::operation::update_user_profile::builders::UpdateUserProfileInputBuilder
source · #[non_exhaustive]pub struct UpdateUserProfileInputBuilder { /* private fields */ }Expand description
A builder for UpdateUserProfileInput.
Implementations§
source§impl UpdateUserProfileInputBuilder
impl UpdateUserProfileInputBuilder
sourcepub fn iam_user_arn(self, input: impl Into<String>) -> Self
pub fn iam_user_arn(self, input: impl Into<String>) -> Self
The user IAM ARN. This can also be a federated user's ARN.
This field is required.sourcepub fn set_iam_user_arn(self, input: Option<String>) -> Self
pub fn set_iam_user_arn(self, input: Option<String>) -> Self
The user IAM ARN. This can also be a federated user's ARN.
sourcepub fn get_iam_user_arn(&self) -> &Option<String>
pub fn get_iam_user_arn(&self) -> &Option<String>
The user IAM ARN. This can also be a federated user's 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. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, OpsWorks Stacks generates one from the IAM 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. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, OpsWorks Stacks generates one from the IAM user name.
sourcepub fn get_ssh_username(&self) -> &Option<String>
pub fn get_ssh_username(&self) -> &Option<String>
The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, OpsWorks Stacks generates one from the IAM 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 new 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 new SSH public key.
sourcepub fn get_ssh_public_key(&self) -> &Option<String>
pub fn get_ssh_public_key(&self) -> &Option<String>
The user's new 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) -> Result<UpdateUserProfileInput, BuildError>
pub fn build(self) -> Result<UpdateUserProfileInput, BuildError>
Consumes the builder and constructs a UpdateUserProfileInput.
source§impl UpdateUserProfileInputBuilder
impl UpdateUserProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateUserProfileOutput, SdkError<UpdateUserProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateUserProfileOutput, SdkError<UpdateUserProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateUserProfileInputBuilder
impl Clone for UpdateUserProfileInputBuilder
source§fn clone(&self) -> UpdateUserProfileInputBuilder
fn clone(&self) -> UpdateUserProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateUserProfileInputBuilder
impl Default for UpdateUserProfileInputBuilder
source§fn default() -> UpdateUserProfileInputBuilder
fn default() -> UpdateUserProfileInputBuilder
source§impl PartialEq for UpdateUserProfileInputBuilder
impl PartialEq for UpdateUserProfileInputBuilder
source§fn eq(&self, other: &UpdateUserProfileInputBuilder) -> bool
fn eq(&self, other: &UpdateUserProfileInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateUserProfileInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateUserProfileInputBuilder
impl RefUnwindSafe for UpdateUserProfileInputBuilder
impl Send for UpdateUserProfileInputBuilder
impl Sync for UpdateUserProfileInputBuilder
impl Unpin for UpdateUserProfileInputBuilder
impl UnwindSafe for UpdateUserProfileInputBuilder
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> 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