pub struct Builder { /* private fields */ }
Expand description
A builder for LambdaFunctionMemoryProjectedMetric
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: LambdaFunctionMemoryMetricName) -> Self
pub fn name(self, input: LambdaFunctionMemoryMetricName) -> Self
The name of the projected utilization metric.
sourcepub fn set_name(self, input: Option<LambdaFunctionMemoryMetricName>) -> Self
pub fn set_name(self, input: Option<LambdaFunctionMemoryMetricName>) -> Self
The name of the projected utilization metric.
sourcepub fn statistic(self, input: LambdaFunctionMemoryMetricStatistic) -> Self
pub fn statistic(self, input: LambdaFunctionMemoryMetricStatistic) -> Self
The statistic of the projected utilization metric.
sourcepub fn set_statistic(
self,
input: Option<LambdaFunctionMemoryMetricStatistic>
) -> Self
pub fn set_statistic(
self,
input: Option<LambdaFunctionMemoryMetricStatistic>
) -> Self
The statistic of the projected utilization metric.
sourcepub fn set_value(self, input: Option<f64>) -> Self
pub fn set_value(self, input: Option<f64>) -> Self
The values of the projected utilization metrics.
sourcepub fn build(self) -> LambdaFunctionMemoryProjectedMetric
pub fn build(self) -> LambdaFunctionMemoryProjectedMetric
Consumes the builder and constructs a LambdaFunctionMemoryProjectedMetric
.