Struct aws_sdk_evidently::types::builders::MetricGoalBuilder
source · #[non_exhaustive]pub struct MetricGoalBuilder { /* private fields */ }Expand description
A builder for MetricGoal.
Implementations§
source§impl MetricGoalBuilder
impl MetricGoalBuilder
sourcepub fn metric_definition(self, input: MetricDefinition) -> Self
pub fn metric_definition(self, input: MetricDefinition) -> Self
A structure that contains details about the metric.
sourcepub fn set_metric_definition(self, input: Option<MetricDefinition>) -> Self
pub fn set_metric_definition(self, input: Option<MetricDefinition>) -> Self
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 build(self) -> MetricGoal
pub fn build(self) -> MetricGoal
Consumes the builder and constructs a MetricGoal.
Trait Implementations§
source§impl Clone for MetricGoalBuilder
impl Clone for MetricGoalBuilder
source§fn clone(&self) -> MetricGoalBuilder
fn clone(&self) -> MetricGoalBuilder
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 Debug for MetricGoalBuilder
impl Debug for MetricGoalBuilder
source§impl Default for MetricGoalBuilder
impl Default for MetricGoalBuilder
source§fn default() -> MetricGoalBuilder
fn default() -> MetricGoalBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MetricGoalBuilder> for MetricGoalBuilder
impl PartialEq<MetricGoalBuilder> for MetricGoalBuilder
source§fn eq(&self, other: &MetricGoalBuilder) -> bool
fn eq(&self, other: &MetricGoalBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.