#[non_exhaustive]pub struct AnalyticsIntentResultBuilder { /* private fields */ }Expand description
A builder for AnalyticsIntentResult.
Implementations§
source§impl AnalyticsIntentResultBuilder
impl AnalyticsIntentResultBuilder
sourcepub fn bin_keys(self, input: AnalyticsBinKey) -> Self
pub fn bin_keys(self, input: AnalyticsBinKey) -> Self
Appends an item to bin_keys.
To override the contents of this collection use set_bin_keys.
A list of objects containing the criteria you requested for binning results and the values of the bins.
sourcepub fn set_bin_keys(self, input: Option<Vec<AnalyticsBinKey>>) -> Self
pub fn set_bin_keys(self, input: Option<Vec<AnalyticsBinKey>>) -> Self
A list of objects containing the criteria you requested for binning results and the values of the bins.
sourcepub fn get_bin_keys(&self) -> &Option<Vec<AnalyticsBinKey>>
pub fn get_bin_keys(&self) -> &Option<Vec<AnalyticsBinKey>>
A list of objects containing the criteria you requested for binning results and the values of the bins.
sourcepub fn group_by_keys(self, input: AnalyticsIntentGroupByKey) -> Self
pub fn group_by_keys(self, input: AnalyticsIntentGroupByKey) -> Self
Appends an item to group_by_keys.
To override the contents of this collection use set_group_by_keys.
A list of objects containing the criteria you requested for grouping results and the values of the groups.
sourcepub fn set_group_by_keys(
self,
input: Option<Vec<AnalyticsIntentGroupByKey>>
) -> Self
pub fn set_group_by_keys( self, input: Option<Vec<AnalyticsIntentGroupByKey>> ) -> Self
A list of objects containing the criteria you requested for grouping results and the values of the groups.
sourcepub fn get_group_by_keys(&self) -> &Option<Vec<AnalyticsIntentGroupByKey>>
pub fn get_group_by_keys(&self) -> &Option<Vec<AnalyticsIntentGroupByKey>>
A list of objects containing the criteria you requested for grouping results and the values of the groups.
sourcepub fn metrics_results(self, input: AnalyticsIntentMetricResult) -> Self
pub fn metrics_results(self, input: AnalyticsIntentMetricResult) -> Self
Appends an item to metrics_results.
To override the contents of this collection use set_metrics_results.
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
sourcepub fn set_metrics_results(
self,
input: Option<Vec<AnalyticsIntentMetricResult>>
) -> Self
pub fn set_metrics_results( self, input: Option<Vec<AnalyticsIntentMetricResult>> ) -> Self
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
sourcepub fn get_metrics_results(&self) -> &Option<Vec<AnalyticsIntentMetricResult>>
pub fn get_metrics_results(&self) -> &Option<Vec<AnalyticsIntentMetricResult>>
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
sourcepub fn build(self) -> AnalyticsIntentResult
pub fn build(self) -> AnalyticsIntentResult
Consumes the builder and constructs a AnalyticsIntentResult.
Trait Implementations§
source§impl Clone for AnalyticsIntentResultBuilder
impl Clone for AnalyticsIntentResultBuilder
source§fn clone(&self) -> AnalyticsIntentResultBuilder
fn clone(&self) -> AnalyticsIntentResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AnalyticsIntentResultBuilder
impl Debug for AnalyticsIntentResultBuilder
source§impl Default for AnalyticsIntentResultBuilder
impl Default for AnalyticsIntentResultBuilder
source§fn default() -> AnalyticsIntentResultBuilder
fn default() -> AnalyticsIntentResultBuilder
source§impl PartialEq for AnalyticsIntentResultBuilder
impl PartialEq for AnalyticsIntentResultBuilder
source§fn eq(&self, other: &AnalyticsIntentResultBuilder) -> bool
fn eq(&self, other: &AnalyticsIntentResultBuilder) -> bool
self and other values to be equal, and is used
by ==.