Struct aws_sdk_rum::operation::batch_delete_rum_metric_definitions::builders::BatchDeleteRumMetricDefinitionsInputBuilder
source · #[non_exhaustive]pub struct BatchDeleteRumMetricDefinitionsInputBuilder { /* private fields */ }Expand description
A builder for BatchDeleteRumMetricDefinitionsInput.
Implementations§
source§impl BatchDeleteRumMetricDefinitionsInputBuilder
impl BatchDeleteRumMetricDefinitionsInputBuilder
sourcepub fn app_monitor_name(self, input: impl Into<String>) -> Self
pub fn app_monitor_name(self, input: impl Into<String>) -> Self
The name of the CloudWatch RUM app monitor that is sending these metrics.
This field is required.sourcepub fn set_app_monitor_name(self, input: Option<String>) -> Self
pub fn set_app_monitor_name(self, input: Option<String>) -> Self
The name of the CloudWatch RUM app monitor that is sending these metrics.
sourcepub fn get_app_monitor_name(&self) -> &Option<String>
pub fn get_app_monitor_name(&self) -> &Option<String>
The name of the CloudWatch RUM app monitor that is sending these metrics.
sourcepub fn destination(self, input: MetricDestination) -> Self
pub fn destination(self, input: MetricDestination) -> Self
Defines the destination where you want to stop sending the specified metrics. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
sourcepub fn set_destination(self, input: Option<MetricDestination>) -> Self
pub fn set_destination(self, input: Option<MetricDestination>) -> Self
Defines the destination where you want to stop sending the specified metrics. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
sourcepub fn get_destination(&self) -> &Option<MetricDestination>
pub fn get_destination(&self) -> &Option<MetricDestination>
Defines the destination where you want to stop sending the specified metrics. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that was receiving the metrics that are being deleted.
sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that was receiving the metrics that are being deleted.
sourcepub fn get_destination_arn(&self) -> &Option<String>
pub fn get_destination_arn(&self) -> &Option<String>
This parameter is required if Destination is Evidently. If Destination is CloudWatch, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that was receiving the metrics that are being deleted.
sourcepub fn metric_definition_ids(self, input: impl Into<String>) -> Self
pub fn metric_definition_ids(self, input: impl Into<String>) -> Self
Appends an item to metric_definition_ids.
To override the contents of this collection use set_metric_definition_ids.
An array of structures which define the metrics that you want to stop sending.
sourcepub fn set_metric_definition_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_metric_definition_ids(self, input: Option<Vec<String>>) -> Self
An array of structures which define the metrics that you want to stop sending.
sourcepub fn get_metric_definition_ids(&self) -> &Option<Vec<String>>
pub fn get_metric_definition_ids(&self) -> &Option<Vec<String>>
An array of structures which define the metrics that you want to stop sending.
sourcepub fn build(self) -> Result<BatchDeleteRumMetricDefinitionsInput, BuildError>
pub fn build(self) -> Result<BatchDeleteRumMetricDefinitionsInput, BuildError>
Consumes the builder and constructs a BatchDeleteRumMetricDefinitionsInput.
source§impl BatchDeleteRumMetricDefinitionsInputBuilder
impl BatchDeleteRumMetricDefinitionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchDeleteRumMetricDefinitionsOutput, SdkError<BatchDeleteRumMetricDefinitionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchDeleteRumMetricDefinitionsOutput, SdkError<BatchDeleteRumMetricDefinitionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchDeleteRumMetricDefinitionsInputBuilder
impl Clone for BatchDeleteRumMetricDefinitionsInputBuilder
source§fn clone(&self) -> BatchDeleteRumMetricDefinitionsInputBuilder
fn clone(&self) -> BatchDeleteRumMetricDefinitionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchDeleteRumMetricDefinitionsInputBuilder
impl Default for BatchDeleteRumMetricDefinitionsInputBuilder
source§fn default() -> BatchDeleteRumMetricDefinitionsInputBuilder
fn default() -> BatchDeleteRumMetricDefinitionsInputBuilder
source§impl PartialEq for BatchDeleteRumMetricDefinitionsInputBuilder
impl PartialEq for BatchDeleteRumMetricDefinitionsInputBuilder
source§fn eq(&self, other: &BatchDeleteRumMetricDefinitionsInputBuilder) -> bool
fn eq(&self, other: &BatchDeleteRumMetricDefinitionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchDeleteRumMetricDefinitionsInputBuilder
Auto Trait Implementations§
impl Freeze for BatchDeleteRumMetricDefinitionsInputBuilder
impl RefUnwindSafe for BatchDeleteRumMetricDefinitionsInputBuilder
impl Send for BatchDeleteRumMetricDefinitionsInputBuilder
impl Sync for BatchDeleteRumMetricDefinitionsInputBuilder
impl Unpin for BatchDeleteRumMetricDefinitionsInputBuilder
impl UnwindSafe for BatchDeleteRumMetricDefinitionsInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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