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.
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.
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) -> PosixProfile
pub fn build(self) -> PosixProfile
Consumes the builder and constructs a PosixProfile.
Trait Implementations§
source§impl Clone for PosixProfileBuilder
impl Clone for PosixProfileBuilder
source§fn clone(&self) -> PosixProfileBuilder
fn clone(&self) -> PosixProfileBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq for PosixProfileBuilder
impl PartialEq for PosixProfileBuilder
source§fn eq(&self, other: &PosixProfileBuilder) -> bool
fn eq(&self, other: &PosixProfileBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PosixProfileBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more