Struct aws_sdk_evidently::operation::get_experiment_results::builders::GetExperimentResultsInputBuilder
source · #[non_exhaustive]pub struct GetExperimentResultsInputBuilder { /* private fields */ }
Expand description
A builder for GetExperimentResultsInput
.
Implementations§
source§impl GetExperimentResultsInputBuilder
impl GetExperimentResultsInputBuilder
sourcepub fn project(self, input: impl Into<String>) -> Self
pub fn project(self, input: impl Into<String>) -> Self
The name or ARN of the project that contains the experiment that you want to see the results of.
This field is required.sourcepub fn set_project(self, input: Option<String>) -> Self
pub fn set_project(self, input: Option<String>) -> Self
The name or ARN of the project that contains the experiment that you want to see the results of.
sourcepub fn get_project(&self) -> &Option<String>
pub fn get_project(&self) -> &Option<String>
The name or ARN of the project that contains the experiment that you want to see the results of.
sourcepub fn experiment(self, input: impl Into<String>) -> Self
pub fn experiment(self, input: impl Into<String>) -> Self
The name of the experiment to retrieve the results of.
This field is required.sourcepub fn set_experiment(self, input: Option<String>) -> Self
pub fn set_experiment(self, input: Option<String>) -> Self
The name of the experiment to retrieve the results of.
sourcepub fn get_experiment(&self) -> &Option<String>
pub fn get_experiment(&self) -> &Option<String>
The name of the experiment to retrieve the results of.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The date and time that the experiment started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The date and time that the experiment started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The date and time that the experiment started.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.
sourcepub fn metric_names(self, input: impl Into<String>) -> Self
pub fn metric_names(self, input: impl Into<String>) -> Self
Appends an item to metric_names
.
To override the contents of this collection use set_metric_names
.
The names of the experiment metrics that you want to see the results of.
sourcepub fn set_metric_names(self, input: Option<Vec<String>>) -> Self
pub fn set_metric_names(self, input: Option<Vec<String>>) -> Self
The names of the experiment metrics that you want to see the results of.
sourcepub fn get_metric_names(&self) -> &Option<Vec<String>>
pub fn get_metric_names(&self) -> &Option<Vec<String>>
The names of the experiment metrics that you want to see the results of.
sourcepub fn treatment_names(self, input: impl Into<String>) -> Self
pub fn treatment_names(self, input: impl Into<String>) -> Self
Appends an item to treatment_names
.
To override the contents of this collection use set_treatment_names
.
The names of the experiment treatments that you want to see the results for.
sourcepub fn set_treatment_names(self, input: Option<Vec<String>>) -> Self
pub fn set_treatment_names(self, input: Option<Vec<String>>) -> Self
The names of the experiment treatments that you want to see the results for.
sourcepub fn get_treatment_names(&self) -> &Option<Vec<String>>
pub fn get_treatment_names(&self) -> &Option<Vec<String>>
The names of the experiment treatments that you want to see the results for.
sourcepub fn base_stat(self, input: ExperimentBaseStat) -> Self
pub fn base_stat(self, input: ExperimentBaseStat) -> Self
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
sourcepub fn set_base_stat(self, input: Option<ExperimentBaseStat>) -> Self
pub fn set_base_stat(self, input: Option<ExperimentBaseStat>) -> Self
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
sourcepub fn get_base_stat(&self) -> &Option<ExperimentBaseStat>
pub fn get_base_stat(&self) -> &Option<ExperimentBaseStat>
The statistic used to calculate experiment results. Currently the only valid value is mean
, which uses the mean of the collected values as the statistic.
sourcepub fn result_stats(self, input: ExperimentResultRequestType) -> Self
pub fn result_stats(self, input: ExperimentResultRequestType) -> Self
Appends an item to result_stats
.
To override the contents of this collection use set_result_stats
.
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
sourcepub fn set_result_stats(
self,
input: Option<Vec<ExperimentResultRequestType>>
) -> Self
pub fn set_result_stats( self, input: Option<Vec<ExperimentResultRequestType>> ) -> Self
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
sourcepub fn get_result_stats(&self) -> &Option<Vec<ExperimentResultRequestType>>
pub fn get_result_stats(&self) -> &Option<Vec<ExperimentResultRequestType>>
The statistics that you want to see in the returned results.
-
PValue
specifies to use p-values for the results. A p-value is used in hypothesis testing to measure how often you are willing to make a mistake in rejecting the null hypothesis. A general practice is to reject the null hypothesis and declare that the results are statistically significant when the p-value is less than 0.05. -
ConfidenceInterval
specifies a confidence interval for the results. The confidence interval represents the range of values for the chosen metric that is likely to contain the true difference between thebaseStat
of a variation and the baseline. Evidently returns the 95% confidence interval. -
TreatmentEffect
is the difference in the statistic specified by thebaseStat
parameter between each variation and the default variation. -
BaseStat
returns the statistical values collected for the metric for each variation. The statistic uses the same statistic specified in thebaseStat
parameter. Therefore, ifbaseStat
ismean
, this returns the mean of the values collected for each variation.
sourcepub fn report_names(self, input: ExperimentReportName) -> Self
pub fn report_names(self, input: ExperimentReportName) -> Self
Appends an item to report_names
.
To override the contents of this collection use set_report_names
.
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
sourcepub fn set_report_names(self, input: Option<Vec<ExperimentReportName>>) -> Self
pub fn set_report_names(self, input: Option<Vec<ExperimentReportName>>) -> Self
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
sourcepub fn get_report_names(&self) -> &Option<Vec<ExperimentReportName>>
pub fn get_report_names(&self) -> &Option<Vec<ExperimentReportName>>
The names of the report types that you want to see. Currently, BayesianInference
is the only valid value.
sourcepub fn period(self, input: i64) -> Self
pub fn period(self, input: i64) -> Self
In seconds, the amount of time to aggregate results together.
sourcepub fn set_period(self, input: Option<i64>) -> Self
pub fn set_period(self, input: Option<i64>) -> Self
In seconds, the amount of time to aggregate results together.
sourcepub fn get_period(&self) -> &Option<i64>
pub fn get_period(&self) -> &Option<i64>
In seconds, the amount of time to aggregate results together.
sourcepub fn build(self) -> Result<GetExperimentResultsInput, BuildError>
pub fn build(self) -> Result<GetExperimentResultsInput, BuildError>
Consumes the builder and constructs a GetExperimentResultsInput
.
source§impl GetExperimentResultsInputBuilder
impl GetExperimentResultsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetExperimentResultsOutput, SdkError<GetExperimentResultsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetExperimentResultsOutput, SdkError<GetExperimentResultsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetExperimentResultsInputBuilder
impl Clone for GetExperimentResultsInputBuilder
source§fn clone(&self) -> GetExperimentResultsInputBuilder
fn clone(&self) -> GetExperimentResultsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetExperimentResultsInputBuilder
impl Default for GetExperimentResultsInputBuilder
source§fn default() -> GetExperimentResultsInputBuilder
fn default() -> GetExperimentResultsInputBuilder
source§impl PartialEq for GetExperimentResultsInputBuilder
impl PartialEq for GetExperimentResultsInputBuilder
source§fn eq(&self, other: &GetExperimentResultsInputBuilder) -> bool
fn eq(&self, other: &GetExperimentResultsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetExperimentResultsInputBuilder
Auto Trait Implementations§
impl Freeze for GetExperimentResultsInputBuilder
impl RefUnwindSafe for GetExperimentResultsInputBuilder
impl Send for GetExperimentResultsInputBuilder
impl Sync for GetExperimentResultsInputBuilder
impl Unpin for GetExperimentResultsInputBuilder
impl UnwindSafe for GetExperimentResultsInputBuilder
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