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<EksEmptyDirBuilder> for EksEmptyDirBuilder
impl PartialEq<EksEmptyDirBuilder> 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 ==
.