Struct aws_sdk_sesv2::operation::batch_get_metric_data::builders::BatchGetMetricDataOutputBuilder
source · #[non_exhaustive]pub struct BatchGetMetricDataOutputBuilder { /* private fields */ }Expand description
A builder for BatchGetMetricDataOutput.
Implementations§
source§impl BatchGetMetricDataOutputBuilder
impl BatchGetMetricDataOutputBuilder
sourcepub fn results(self, input: MetricDataResult) -> Self
pub fn results(self, input: MetricDataResult) -> Self
Appends an item to results.
To override the contents of this collection use set_results.
A list of successfully retrieved MetricDataResult.
sourcepub fn set_results(self, input: Option<Vec<MetricDataResult>>) -> Self
pub fn set_results(self, input: Option<Vec<MetricDataResult>>) -> Self
A list of successfully retrieved MetricDataResult.
sourcepub fn errors(self, input: MetricDataError) -> Self
pub fn errors(self, input: MetricDataError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of MetricDataError encountered while processing your metric data batch request.
sourcepub fn set_errors(self, input: Option<Vec<MetricDataError>>) -> Self
pub fn set_errors(self, input: Option<Vec<MetricDataError>>) -> Self
A list of MetricDataError encountered while processing your metric data batch request.
sourcepub fn build(self) -> BatchGetMetricDataOutput
pub fn build(self) -> BatchGetMetricDataOutput
Consumes the builder and constructs a BatchGetMetricDataOutput.
Trait Implementations§
source§impl Clone for BatchGetMetricDataOutputBuilder
impl Clone for BatchGetMetricDataOutputBuilder
source§fn clone(&self) -> BatchGetMetricDataOutputBuilder
fn clone(&self) -> BatchGetMetricDataOutputBuilder
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 Default for BatchGetMetricDataOutputBuilder
impl Default for BatchGetMetricDataOutputBuilder
source§fn default() -> BatchGetMetricDataOutputBuilder
fn default() -> BatchGetMetricDataOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchGetMetricDataOutputBuilder> for BatchGetMetricDataOutputBuilder
impl PartialEq<BatchGetMetricDataOutputBuilder> for BatchGetMetricDataOutputBuilder
source§fn eq(&self, other: &BatchGetMetricDataOutputBuilder) -> bool
fn eq(&self, other: &BatchGetMetricDataOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.