pub struct Builder { /* private fields */ }Expand description
A builder for MemorySizeConfiguration.
Implementations§
source§impl Builder
 
impl Builder
sourcepub fn set_memory(self, input: Option<i32>) -> Self
 
pub fn set_memory(self, input: Option<i32>) -> Self
The amount of memory in the container.
sourcepub fn memory_reservation(self, input: i32) -> Self
 
pub fn memory_reservation(self, input: i32) -> Self
The limit of memory reserve for the container.
sourcepub fn set_memory_reservation(self, input: Option<i32>) -> Self
 
pub fn set_memory_reservation(self, input: Option<i32>) -> Self
The limit of memory reserve for the container.
sourcepub fn build(self) -> MemorySizeConfiguration
 
pub fn build(self) -> MemorySizeConfiguration
Consumes the builder and constructs a MemorySizeConfiguration.