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.
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, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS 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, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS 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, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS 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<UpdateUserProfileInputBuilder> for UpdateUserProfileInputBuilder
impl PartialEq<UpdateUserProfileInputBuilder> 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 ==.