Struct aws_sdk_evidently::types::OnlineAbConfig
source · #[non_exhaustive]pub struct OnlineAbConfig { /* private fields */ }Expand description
A structure that contains the configuration of which variation to use as the "control" version. The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
Implementations§
source§impl OnlineAbConfig
impl OnlineAbConfig
sourcepub fn control_treatment_name(&self) -> Option<&str>
pub fn control_treatment_name(&self) -> Option<&str>
The name of the variation that is to be the default variation that the other variations are compared to.
sourcepub fn treatment_weights(&self) -> Option<&HashMap<String, i64>>
pub fn treatment_weights(&self) -> Option<&HashMap<String, i64>>
A set of key-value pairs. The keys are variation names, and the values are the portion of experiment traffic to be assigned to that variation. Specify the traffic portion in thousandths of a percent, so 20,000 for a variation would allocate 20% of the experiment traffic to that variation.
source§impl OnlineAbConfig
impl OnlineAbConfig
sourcepub fn builder() -> OnlineAbConfigBuilder
pub fn builder() -> OnlineAbConfigBuilder
Creates a new builder-style object to manufacture OnlineAbConfig.
Trait Implementations§
source§impl Clone for OnlineAbConfig
impl Clone for OnlineAbConfig
source§fn clone(&self) -> OnlineAbConfig
fn clone(&self) -> OnlineAbConfig
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 OnlineAbConfig
impl Debug for OnlineAbConfig
source§impl PartialEq<OnlineAbConfig> for OnlineAbConfig
impl PartialEq<OnlineAbConfig> for OnlineAbConfig
source§fn eq(&self, other: &OnlineAbConfig) -> bool
fn eq(&self, other: &OnlineAbConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.