Struct aws_sdk_securityhub::types::builders::AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder { /* private fields */ }
Expand description
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
sourcepub fn container_path(self, input: impl Into<String>) -> Self
pub fn container_path(self, input: impl Into<String>) -> Self
The absolute file path where the tmpfs volume is to be mounted.
sourcepub fn set_container_path(self, input: Option<String>) -> Self
pub fn set_container_path(self, input: Option<String>) -> Self
The absolute file path where the tmpfs volume is to be mounted.
sourcepub fn get_container_path(&self) -> &Option<String>
pub fn get_container_path(&self) -> &Option<String>
The absolute file path where the tmpfs volume is to be mounted.
sourcepub fn mount_options(self, input: impl Into<String>) -> Self
pub fn mount_options(self, input: impl Into<String>) -> Self
Appends an item to mount_options
.
To override the contents of this collection use set_mount_options
.
The list of tmpfs volume mount options.
Valid values: "defaults"
| "ro"
| "rw"
| "suid"
| "nosuid"
| "dev"
| "nodev"
| "exec"
| "noexec"
| "sync"
| "async"
| "dirsync"
| "remount"
| "mand"
| "nomand"
| "atime"
| "noatime"
| "diratime"
| "nodiratime"
| "bind"
| "rbind"
| "unbindable"
| "runbindable"
| "private"
| "rprivate"
| "shared"
| "rshared"
| "slave"
| "rslave"
| "relatime"
| "norelatime"
| "strictatime"
| "nostrictatime"
| "mode"
| "uid"
| "gid"
| "nr_inodes"
| "nr_blocks"
| "mpol"
sourcepub fn set_mount_options(self, input: Option<Vec<String>>) -> Self
pub fn set_mount_options(self, input: Option<Vec<String>>) -> Self
The list of tmpfs volume mount options.
Valid values: "defaults"
| "ro"
| "rw"
| "suid"
| "nosuid"
| "dev"
| "nodev"
| "exec"
| "noexec"
| "sync"
| "async"
| "dirsync"
| "remount"
| "mand"
| "nomand"
| "atime"
| "noatime"
| "diratime"
| "nodiratime"
| "bind"
| "rbind"
| "unbindable"
| "runbindable"
| "private"
| "rprivate"
| "shared"
| "rshared"
| "slave"
| "rslave"
| "relatime"
| "norelatime"
| "strictatime"
| "nostrictatime"
| "mode"
| "uid"
| "gid"
| "nr_inodes"
| "nr_blocks"
| "mpol"
sourcepub fn get_mount_options(&self) -> &Option<Vec<String>>
pub fn get_mount_options(&self) -> &Option<Vec<String>>
The list of tmpfs volume mount options.
Valid values: "defaults"
| "ro"
| "rw"
| "suid"
| "nosuid"
| "dev"
| "nodev"
| "exec"
| "noexec"
| "sync"
| "async"
| "dirsync"
| "remount"
| "mand"
| "nomand"
| "atime"
| "noatime"
| "diratime"
| "nodiratime"
| "bind"
| "rbind"
| "unbindable"
| "runbindable"
| "private"
| "rprivate"
| "shared"
| "rshared"
| "slave"
| "rslave"
| "relatime"
| "norelatime"
| "strictatime"
| "nostrictatime"
| "mode"
| "uid"
| "gid"
| "nr_inodes"
| "nr_blocks"
| "mpol"
sourcepub fn set_size(self, input: Option<i32>) -> Self
pub fn set_size(self, input: Option<i32>) -> Self
The maximum size (in MiB) of the tmpfs volume.
sourcepub fn build(
self
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
pub fn build( self ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
Consumes the builder and constructs a AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
fn clone( &self ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl Default for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
source§fn default(
) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
fn default( ) -> AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
source§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl Send for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetailsBuilder
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> 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