Struct aws_sdk_ecs::types::builders::TmpfsBuilder
source · #[non_exhaustive]pub struct TmpfsBuilder { /* private fields */ }
Expand description
A builder for Tmpfs
.
Implementations§
source§impl TmpfsBuilder
impl TmpfsBuilder
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.
This field is required.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 size(self, input: i32) -> Self
pub fn size(self, input: i32) -> Self
The maximum size (in MiB) of the tmpfs volume.
This field is required.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 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"
Trait Implementations§
source§impl Clone for TmpfsBuilder
impl Clone for TmpfsBuilder
source§fn clone(&self) -> TmpfsBuilder
fn clone(&self) -> TmpfsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TmpfsBuilder
impl Debug for TmpfsBuilder
source§impl Default for TmpfsBuilder
impl Default for TmpfsBuilder
source§fn default() -> TmpfsBuilder
fn default() -> TmpfsBuilder
source§impl PartialEq for TmpfsBuilder
impl PartialEq for TmpfsBuilder
source§fn eq(&self, other: &TmpfsBuilder) -> bool
fn eq(&self, other: &TmpfsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.