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 ==
.impl StructuralPartialEq for MetricGoalConfigBuilder
Auto Trait Implementations§
impl Freeze for MetricGoalConfigBuilder
impl RefUnwindSafe for MetricGoalConfigBuilder
impl Send for MetricGoalConfigBuilder
impl Sync for MetricGoalConfigBuilder
impl Unpin for MetricGoalConfigBuilder
impl UnwindSafe for MetricGoalConfigBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more