Struct aws_sdk_batch::types::builders::EksEmptyDirBuilder
source · #[non_exhaustive]pub struct EksEmptyDirBuilder { /* private fields */ }
Expand description
A builder for EksEmptyDir
.
Implementations§
source§impl EksEmptyDirBuilder
impl EksEmptyDirBuilder
sourcepub fn medium(self, input: impl Into<String>) -> Self
pub fn medium(self, input: impl Into<String>) -> Self
The medium to store the volume. The default value is an empty string, which uses the storage of the node.
- ""
-
(Default) Use the disk storage of the node.
- "Memory"
-
Use the
tmpfs
volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
sourcepub fn set_medium(self, input: Option<String>) -> Self
pub fn set_medium(self, input: Option<String>) -> Self
The medium to store the volume. The default value is an empty string, which uses the storage of the node.
- ""
-
(Default) Use the disk storage of the node.
- "Memory"
-
Use the
tmpfs
volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
sourcepub fn get_medium(&self) -> &Option<String>
pub fn get_medium(&self) -> &Option<String>
The medium to store the volume. The default value is an empty string, which uses the storage of the node.
- ""
-
(Default) Use the disk storage of the node.
- "Memory"
-
Use the
tmpfs
volume that's backed by the RAM of the node. Contents of the volume are lost when the node reboots, and any storage on the volume counts against the container's memory limit.
sourcepub fn size_limit(self, input: impl Into<String>) -> Self
pub fn size_limit(self, input: impl Into<String>) -> Self
The maximum size of the volume. By default, there's no maximum size defined.
sourcepub fn set_size_limit(self, input: Option<String>) -> Self
pub fn set_size_limit(self, input: Option<String>) -> Self
The maximum size of the volume. By default, there's no maximum size defined.
sourcepub fn get_size_limit(&self) -> &Option<String>
pub fn get_size_limit(&self) -> &Option<String>
The maximum size of the volume. By default, there's no maximum size defined.
sourcepub fn build(self) -> EksEmptyDir
pub fn build(self) -> EksEmptyDir
Consumes the builder and constructs a EksEmptyDir
.
Trait Implementations§
source§impl Clone for EksEmptyDirBuilder
impl Clone for EksEmptyDirBuilder
source§fn clone(&self) -> EksEmptyDirBuilder
fn clone(&self) -> EksEmptyDirBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksEmptyDirBuilder
impl Debug for EksEmptyDirBuilder
source§impl Default for EksEmptyDirBuilder
impl Default for EksEmptyDirBuilder
source§fn default() -> EksEmptyDirBuilder
fn default() -> EksEmptyDirBuilder
source§impl PartialEq for EksEmptyDirBuilder
impl PartialEq for EksEmptyDirBuilder
source§fn eq(&self, other: &EksEmptyDirBuilder) -> bool
fn eq(&self, other: &EksEmptyDirBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EksEmptyDirBuilder
Auto Trait Implementations§
impl Freeze for EksEmptyDirBuilder
impl RefUnwindSafe for EksEmptyDirBuilder
impl Send for EksEmptyDirBuilder
impl Sync for EksEmptyDirBuilder
impl Unpin for EksEmptyDirBuilder
impl UnwindSafe for EksEmptyDirBuilder
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