Struct aws_sdk_transfer::types::builders::UserDetailsBuilder
source · #[non_exhaustive]pub struct UserDetailsBuilder { /* private fields */ }Expand description
A builder for UserDetails.
Implementations§
source§impl UserDetailsBuilder
impl UserDetailsBuilder
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
A unique string that identifies a Transfer Family user associated with a server.
This field is required.sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
A unique string that identifies a Transfer Family user associated with a server.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
A unique string that identifies a Transfer Family user associated with a server.
sourcepub fn server_id(self, input: impl Into<String>) -> Self
pub fn server_id(self, input: impl Into<String>) -> Self
The system-assigned unique identifier for a Transfer server instance.
This field is required.sourcepub fn set_server_id(self, input: Option<String>) -> Self
pub fn set_server_id(self, input: Option<String>) -> Self
The system-assigned unique identifier for a Transfer server instance.
sourcepub fn get_server_id(&self) -> &Option<String>
pub fn get_server_id(&self) -> &Option<String>
The system-assigned unique identifier for a Transfer server instance.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The system-assigned unique identifier for a session that corresponds to the workflow.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The system-assigned unique identifier for a session that corresponds to the workflow.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The system-assigned unique identifier for a session that corresponds to the workflow.
sourcepub fn build(self) -> Result<UserDetails, BuildError>
pub fn build(self) -> Result<UserDetails, BuildError>
Consumes the builder and constructs a UserDetails.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UserDetailsBuilder
impl Clone for UserDetailsBuilder
source§fn clone(&self) -> UserDetailsBuilder
fn clone(&self) -> UserDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UserDetailsBuilder
impl Debug for UserDetailsBuilder
source§impl Default for UserDetailsBuilder
impl Default for UserDetailsBuilder
source§fn default() -> UserDetailsBuilder
fn default() -> UserDetailsBuilder
source§impl PartialEq for UserDetailsBuilder
impl PartialEq for UserDetailsBuilder
impl StructuralPartialEq for UserDetailsBuilder
Auto Trait Implementations§
impl Freeze for UserDetailsBuilder
impl RefUnwindSafe for UserDetailsBuilder
impl Send for UserDetailsBuilder
impl Sync for UserDetailsBuilder
impl Unpin for UserDetailsBuilder
impl UnwindSafe for UserDetailsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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