Struct aws_sdk_workdocs::model::user_metadata::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UserMetadata
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
The name of the user.
sourcepub fn given_name(self, input: impl Into<String>) -> Self
pub fn given_name(self, input: impl Into<String>) -> Self
The given name of the user before a rename operation.
sourcepub fn set_given_name(self, input: Option<String>) -> Self
pub fn set_given_name(self, input: Option<String>) -> Self
The given name of the user before a rename operation.
sourcepub fn set_surname(self, input: Option<String>) -> Self
pub fn set_surname(self, input: Option<String>) -> Self
The surname of the user.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The email address of the user.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The email address of the user.
sourcepub fn build(self) -> UserMetadata
pub fn build(self) -> UserMetadata
Consumes the builder and constructs a UserMetadata
.