Struct aws_sdk_evidently::types::MetricDefinitionConfig
source · #[non_exhaustive]pub struct MetricDefinitionConfig { /* private fields */ }Expand description
This structure defines a metric that you want to use to evaluate the variations during a launch or experiment.
Implementations§
source§impl MetricDefinitionConfig
impl MetricDefinitionConfig
sourcepub fn entity_id_key(&self) -> Option<&str>
pub fn entity_id_key(&self) -> Option<&str>
The entity, such as a user or session, that does an action that causes a metric value to be recorded. An example is userDetails.userID.
sourcepub fn event_pattern(&self) -> Option<&str>
pub fn event_pattern(&self) -> Option<&str>
The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
sourcepub fn unit_label(&self) -> Option<&str>
pub fn unit_label(&self) -> Option<&str>
A label for the units that the metric is measuring.
source§impl MetricDefinitionConfig
impl MetricDefinitionConfig
sourcepub fn builder() -> MetricDefinitionConfigBuilder
pub fn builder() -> MetricDefinitionConfigBuilder
Creates a new builder-style object to manufacture MetricDefinitionConfig.
Trait Implementations§
source§impl Clone for MetricDefinitionConfig
impl Clone for MetricDefinitionConfig
source§fn clone(&self) -> MetricDefinitionConfig
fn clone(&self) -> MetricDefinitionConfig
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 MetricDefinitionConfig
impl Debug for MetricDefinitionConfig
source§impl PartialEq<MetricDefinitionConfig> for MetricDefinitionConfig
impl PartialEq<MetricDefinitionConfig> for MetricDefinitionConfig
source§fn eq(&self, other: &MetricDefinitionConfig) -> bool
fn eq(&self, other: &MetricDefinitionConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.