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 get_results(&self) -> &Option<Vec<MetricDataResult>>
pub fn get_results(&self) -> &Option<Vec<MetricDataResult>>
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 get_errors(&self) -> &Option<Vec<MetricDataError>>
pub fn get_errors(&self) -> &Option<Vec<MetricDataError>>
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 for BatchGetMetricDataOutputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for BatchGetMetricDataOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchGetMetricDataOutputBuilder
impl Send for BatchGetMetricDataOutputBuilder
impl Sync for BatchGetMetricDataOutputBuilder
impl Unpin for BatchGetMetricDataOutputBuilder
impl UnwindSafe for BatchGetMetricDataOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.