Struct aws_sdk_evidently::types::builders::MetricGoalConfigBuilder
source · #[non_exhaustive]pub struct MetricGoalConfigBuilder { /* private fields */ }Expand description
A builder for MetricGoalConfig.
Implementations§
source§impl MetricGoalConfigBuilder
impl MetricGoalConfigBuilder
sourcepub fn metric_definition(self, input: MetricDefinitionConfig) -> Self
pub fn metric_definition(self, input: MetricDefinitionConfig) -> Self
A structure that contains details about the metric.
This field is required.sourcepub fn set_metric_definition(
self,
input: Option<MetricDefinitionConfig>
) -> Self
pub fn set_metric_definition( self, input: Option<MetricDefinitionConfig> ) -> Self
A structure that contains details about the metric.
sourcepub fn get_metric_definition(&self) -> &Option<MetricDefinitionConfig>
pub fn get_metric_definition(&self) -> &Option<MetricDefinitionConfig>
A structure that contains details about the metric.
sourcepub fn desired_change(self, input: ChangeDirectionEnum) -> Self
pub fn desired_change(self, input: ChangeDirectionEnum) -> Self
INCREASE means that a variation with a higher number for this metric is performing better.
DECREASE means that a variation with a lower number for this metric is performing better.
sourcepub fn set_desired_change(self, input: Option<ChangeDirectionEnum>) -> Self
pub fn set_desired_change(self, input: Option<ChangeDirectionEnum>) -> Self
INCREASE means that a variation with a higher number for this metric is performing better.
DECREASE means that a variation with a lower number for this metric is performing better.
sourcepub fn get_desired_change(&self) -> &Option<ChangeDirectionEnum>
pub fn get_desired_change(&self) -> &Option<ChangeDirectionEnum>
INCREASE means that a variation with a higher number for this metric is performing better.
DECREASE means that a variation with a lower number for this metric is performing better.
sourcepub fn build(self) -> MetricGoalConfig
pub fn build(self) -> MetricGoalConfig
Consumes the builder and constructs a MetricGoalConfig.
Trait Implementations§
source§impl Clone for MetricGoalConfigBuilder
impl Clone for MetricGoalConfigBuilder
source§fn clone(&self) -> MetricGoalConfigBuilder
fn clone(&self) -> MetricGoalConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MetricGoalConfigBuilder
impl Debug for MetricGoalConfigBuilder
source§impl Default for MetricGoalConfigBuilder
impl Default for MetricGoalConfigBuilder
source§fn default() -> MetricGoalConfigBuilder
fn default() -> MetricGoalConfigBuilder
source§impl PartialEq for MetricGoalConfigBuilder
impl PartialEq for MetricGoalConfigBuilder
source§fn eq(&self, other: &MetricGoalConfigBuilder) -> bool
fn eq(&self, other: &MetricGoalConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.