Struct aws_sdk_rum::operation::batch_create_rum_metric_definitions::builders::BatchCreateRumMetricDefinitionsOutputBuilder
source · #[non_exhaustive]pub struct BatchCreateRumMetricDefinitionsOutputBuilder { /* private fields */ }
Expand description
A builder for BatchCreateRumMetricDefinitionsOutput
.
Implementations§
source§impl BatchCreateRumMetricDefinitionsOutputBuilder
impl BatchCreateRumMetricDefinitionsOutputBuilder
sourcepub fn errors(self, input: BatchCreateRumMetricDefinitionsError) -> Self
pub fn errors(self, input: BatchCreateRumMetricDefinitionsError) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
An array of error objects, if the operation caused any errors.
sourcepub fn set_errors(
self,
input: Option<Vec<BatchCreateRumMetricDefinitionsError>>
) -> Self
pub fn set_errors( self, input: Option<Vec<BatchCreateRumMetricDefinitionsError>> ) -> Self
An array of error objects, if the operation caused any errors.
sourcepub fn get_errors(&self) -> &Option<Vec<BatchCreateRumMetricDefinitionsError>>
pub fn get_errors(&self) -> &Option<Vec<BatchCreateRumMetricDefinitionsError>>
An array of error objects, if the operation caused any errors.
sourcepub fn metric_definitions(self, input: MetricDefinition) -> Self
pub fn metric_definitions(self, input: MetricDefinition) -> Self
Appends an item to metric_definitions
.
To override the contents of this collection use set_metric_definitions
.
An array of structures that define the extended metrics.
sourcepub fn set_metric_definitions(
self,
input: Option<Vec<MetricDefinition>>
) -> Self
pub fn set_metric_definitions( self, input: Option<Vec<MetricDefinition>> ) -> Self
An array of structures that define the extended metrics.
sourcepub fn get_metric_definitions(&self) -> &Option<Vec<MetricDefinition>>
pub fn get_metric_definitions(&self) -> &Option<Vec<MetricDefinition>>
An array of structures that define the extended metrics.
sourcepub fn build(self) -> Result<BatchCreateRumMetricDefinitionsOutput, BuildError>
pub fn build(self) -> Result<BatchCreateRumMetricDefinitionsOutput, BuildError>
Consumes the builder and constructs a BatchCreateRumMetricDefinitionsOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchCreateRumMetricDefinitionsOutputBuilder
impl Clone for BatchCreateRumMetricDefinitionsOutputBuilder
source§fn clone(&self) -> BatchCreateRumMetricDefinitionsOutputBuilder
fn clone(&self) -> BatchCreateRumMetricDefinitionsOutputBuilder
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 BatchCreateRumMetricDefinitionsOutputBuilder
impl Default for BatchCreateRumMetricDefinitionsOutputBuilder
source§fn default() -> BatchCreateRumMetricDefinitionsOutputBuilder
fn default() -> BatchCreateRumMetricDefinitionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchCreateRumMetricDefinitionsOutputBuilder
impl PartialEq for BatchCreateRumMetricDefinitionsOutputBuilder
source§fn eq(&self, other: &BatchCreateRumMetricDefinitionsOutputBuilder) -> bool
fn eq(&self, other: &BatchCreateRumMetricDefinitionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchCreateRumMetricDefinitionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchCreateRumMetricDefinitionsOutputBuilder
impl Send for BatchCreateRumMetricDefinitionsOutputBuilder
impl Sync for BatchCreateRumMetricDefinitionsOutputBuilder
impl Unpin for BatchCreateRumMetricDefinitionsOutputBuilder
impl UnwindSafe for BatchCreateRumMetricDefinitionsOutputBuilder
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.