Struct aws_sdk_transfer::types::builders::PosixProfileBuilder
source · #[non_exhaustive]pub struct PosixProfileBuilder { /* private fields */ }Expand description
A builder for PosixProfile.
Implementations§
source§impl PosixProfileBuilder
impl PosixProfileBuilder
sourcepub fn uid(self, input: i64) -> Self
pub fn uid(self, input: i64) -> Self
The POSIX user ID used for all EFS operations by this user.
This field is required.sourcepub fn set_uid(self, input: Option<i64>) -> Self
pub fn set_uid(self, input: Option<i64>) -> Self
The POSIX user ID used for all EFS operations by this user.
sourcepub fn get_uid(&self) -> &Option<i64>
pub fn get_uid(&self) -> &Option<i64>
The POSIX user ID used for all EFS operations by this user.
sourcepub fn gid(self, input: i64) -> Self
pub fn gid(self, input: i64) -> Self
The POSIX group ID used for all EFS operations by this user.
This field is required.sourcepub fn set_gid(self, input: Option<i64>) -> Self
pub fn set_gid(self, input: Option<i64>) -> Self
The POSIX group ID used for all EFS operations by this user.
sourcepub fn get_gid(&self) -> &Option<i64>
pub fn get_gid(&self) -> &Option<i64>
The POSIX group ID used for all EFS operations by this user.
sourcepub fn secondary_gids(self, input: i64) -> Self
pub fn secondary_gids(self, input: i64) -> Self
Appends an item to secondary_gids.
To override the contents of this collection use set_secondary_gids.
The secondary POSIX group IDs used for all EFS operations by this user.
sourcepub fn set_secondary_gids(self, input: Option<Vec<i64>>) -> Self
pub fn set_secondary_gids(self, input: Option<Vec<i64>>) -> Self
The secondary POSIX group IDs used for all EFS operations by this user.
sourcepub fn get_secondary_gids(&self) -> &Option<Vec<i64>>
pub fn get_secondary_gids(&self) -> &Option<Vec<i64>>
The secondary POSIX group IDs used for all EFS operations by this user.
sourcepub fn build(self) -> Result<PosixProfile, BuildError>
pub fn build(self) -> Result<PosixProfile, BuildError>
Consumes the builder and constructs a PosixProfile.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PosixProfileBuilder
impl Clone for PosixProfileBuilder
source§fn clone(&self) -> PosixProfileBuilder
fn clone(&self) -> PosixProfileBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PosixProfileBuilder
impl Debug for PosixProfileBuilder
source§impl Default for PosixProfileBuilder
impl Default for PosixProfileBuilder
source§fn default() -> PosixProfileBuilder
fn default() -> PosixProfileBuilder
source§impl PartialEq for PosixProfileBuilder
impl PartialEq for PosixProfileBuilder
impl StructuralPartialEq for PosixProfileBuilder
Auto Trait Implementations§
impl Freeze for PosixProfileBuilder
impl RefUnwindSafe for PosixProfileBuilder
impl Send for PosixProfileBuilder
impl Sync for PosixProfileBuilder
impl Unpin for PosixProfileBuilder
impl UnwindSafe for PosixProfileBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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