Struct aws_sdk_workdocs::model::user_metadata::Builder   
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for UserMetadata.
Implementations
sourceimpl 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.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more