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
source§fn eq(&self, other: &PosixProfileBuilder) -> bool
fn eq(&self, other: &PosixProfileBuilder) -> bool
self and other values to be equal, and is used
by ==.