#[non_exhaustive]pub struct ContainerRecommendationBuilder { /* private fields */ }
Expand description
A builder for ContainerRecommendation
.
Implementations§
source§impl ContainerRecommendationBuilder
impl ContainerRecommendationBuilder
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 get_container_name(&self) -> &Option<String>
pub fn get_container_name(&self) -> &Option<String>
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 get_memory_size_configuration(&self) -> &Option<MemorySizeConfiguration>
pub fn get_memory_size_configuration(&self) -> &Option<MemorySizeConfiguration>
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 get_cpu(&self) -> &Option<i32>
pub fn get_cpu(&self) -> &Option<i32>
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
.
Trait Implementations§
source§impl Clone for ContainerRecommendationBuilder
impl Clone for ContainerRecommendationBuilder
source§fn clone(&self) -> ContainerRecommendationBuilder
fn clone(&self) -> ContainerRecommendationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ContainerRecommendationBuilder
impl Default for ContainerRecommendationBuilder
source§fn default() -> ContainerRecommendationBuilder
fn default() -> ContainerRecommendationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ContainerRecommendationBuilder
impl PartialEq for ContainerRecommendationBuilder
source§fn eq(&self, other: &ContainerRecommendationBuilder) -> bool
fn eq(&self, other: &ContainerRecommendationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContainerRecommendationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ContainerRecommendationBuilder
impl Send for ContainerRecommendationBuilder
impl Sync for ContainerRecommendationBuilder
impl Unpin for ContainerRecommendationBuilder
impl UnwindSafe for ContainerRecommendationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.