pub struct Builder { /* private fields */ }Expand description
A builder for ContainerRecommendation.
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 recommended 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 recommended memory size configurations for the container.
sourcepub fn cpu(self, input: i32) -> Self
pub fn cpu(self, input: i32) -> Self
The recommended number of CPU units reserved for the container.
sourcepub fn set_cpu(self, input: Option<i32>) -> Self
pub fn set_cpu(self, input: Option<i32>) -> Self
The recommended number of CPU units reserved for the container.
sourcepub fn build(self) -> ContainerRecommendation
pub fn build(self) -> ContainerRecommendation
Consumes the builder and constructs a ContainerRecommendation.