Struct aws_sdk_batch::model::eks_empty_dir::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EksEmptyDir
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> EksEmptyDir
pub fn build(self) -> EksEmptyDir
Consumes the builder and constructs a EksEmptyDir
.