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
impl StructuralPartialEq for TmpfsBuilder
Auto Trait Implementations§
impl Freeze for TmpfsBuilder
impl RefUnwindSafe for TmpfsBuilder
impl Send for TmpfsBuilder
impl Sync for TmpfsBuilder
impl Unpin for TmpfsBuilder
impl UnwindSafe for TmpfsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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