Struct aws_sdk_iam::operation::get_user::builders::GetUserInputBuilder
source · #[non_exhaustive]pub struct GetUserInputBuilder { /* private fields */ }
Expand description
A builder for GetUserInput
.
Implementations§
source§impl GetUserInputBuilder
impl GetUserInputBuilder
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The name of the user to get information about.
This parameter is optional. If it is not included, it defaults to the user making the request. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The name of the user to get information about.
This parameter is optional. If it is not included, it defaults to the user making the request. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The name of the user to get information about.
This parameter is optional. If it is not included, it defaults to the user making the request. This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn build(self) -> Result<GetUserInput, BuildError>
pub fn build(self) -> Result<GetUserInput, BuildError>
Consumes the builder and constructs a GetUserInput
.
source§impl GetUserInputBuilder
impl GetUserInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetUserOutput, SdkError<GetUserError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetUserOutput, SdkError<GetUserError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetUserInputBuilder
impl Clone for GetUserInputBuilder
source§fn clone(&self) -> GetUserInputBuilder
fn clone(&self) -> GetUserInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetUserInputBuilder
impl Debug for GetUserInputBuilder
source§impl Default for GetUserInputBuilder
impl Default for GetUserInputBuilder
source§fn default() -> GetUserInputBuilder
fn default() -> GetUserInputBuilder
source§impl PartialEq for GetUserInputBuilder
impl PartialEq for GetUserInputBuilder
source§fn eq(&self, other: &GetUserInputBuilder) -> bool
fn eq(&self, other: &GetUserInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.