Struct aws_sdk_evidently::types::builders::TreatmentBuilder
source · #[non_exhaustive]pub struct TreatmentBuilder { /* private fields */ }Expand description
A builder for Treatment.
Implementations§
source§impl TreatmentBuilder
impl TreatmentBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the treatment.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the treatment.
sourcepub fn feature_variations(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn feature_variations( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to feature_variations.
To override the contents of this collection use set_feature_variations.
The feature variation used for this treatment. This is a key-value pair. The key is the feature name, and the value is the variation name.
Trait Implementations§
source§impl Clone for TreatmentBuilder
impl Clone for TreatmentBuilder
source§fn clone(&self) -> TreatmentBuilder
fn clone(&self) -> TreatmentBuilder
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 TreatmentBuilder
impl Debug for TreatmentBuilder
source§impl Default for TreatmentBuilder
impl Default for TreatmentBuilder
source§fn default() -> TreatmentBuilder
fn default() -> TreatmentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TreatmentBuilder> for TreatmentBuilder
impl PartialEq<TreatmentBuilder> for TreatmentBuilder
source§fn eq(&self, other: &TreatmentBuilder) -> bool
fn eq(&self, other: &TreatmentBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.