Struct aws_sdk_ecs::model::tmpfs::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Tmpfs.
Implementations§
source§impl Builder
impl Builder
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 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"