pub struct Builder { /* private fields */ }
Expand description
A builder for ContainerConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn container_name(self, input: impl Into<String>) -> Self
pub fn container_name(self, input: impl Into<String>) -> Self
The name of the container.
sourcepub fn set_container_name(self, input: Option<String>) -> Self
pub fn set_container_name(self, input: Option<String>) -> Self
The name of the container.
sourcepub fn memory_size_configuration(self, input: MemorySizeConfiguration) -> Self
pub fn memory_size_configuration(self, input: MemorySizeConfiguration) -> Self
The memory size configurations for the container.
sourcepub fn set_memory_size_configuration(
self,
input: Option<MemorySizeConfiguration>
) -> Self
pub fn set_memory_size_configuration(
self,
input: Option<MemorySizeConfiguration>
) -> Self
The memory size configurations for the container.
sourcepub fn set_cpu(self, input: Option<i32>) -> Self
pub fn set_cpu(self, input: Option<i32>) -> Self
The number of CPU units reserved for the container.
sourcepub fn build(self) -> ContainerConfiguration
pub fn build(self) -> ContainerConfiguration
Consumes the builder and constructs a ContainerConfiguration
.