Struct aws_sdk_rum::operation::batch_get_rum_metric_definitions::builders::BatchGetRumMetricDefinitionsFluentBuilder
source · pub struct BatchGetRumMetricDefinitionsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to BatchGetRumMetricDefinitions.
Retrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.
Implementations§
source§impl BatchGetRumMetricDefinitionsFluentBuilder
impl BatchGetRumMetricDefinitionsFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetRumMetricDefinitionsInputBuilder
pub fn as_input(&self) -> &BatchGetRumMetricDefinitionsInputBuilder
Access the BatchGetRumMetricDefinitions as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetRumMetricDefinitionsOutput, SdkError<BatchGetRumMetricDefinitionsError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetRumMetricDefinitionsOutput, SdkError<BatchGetRumMetricDefinitionsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchGetRumMetricDefinitionsOutput, BatchGetRumMetricDefinitionsError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetRumMetricDefinitionsOutput, BatchGetRumMetricDefinitionsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> BatchGetRumMetricDefinitionsPaginator
pub fn into_paginator(self) -> BatchGetRumMetricDefinitionsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
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 the metrics.
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 the 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 the metrics.
sourcepub fn destination(self, input: MetricDestination) -> Self
pub fn destination(self, input: MetricDestination) -> Self
The type of destination that you want to view metrics for. Valid values are CloudWatch and Evidently.
sourcepub fn set_destination(self, input: Option<MetricDestination>) -> Self
pub fn set_destination(self, input: Option<MetricDestination>) -> Self
The type of destination that you want to view metrics for. Valid values are CloudWatch and Evidently.
sourcepub fn get_destination(&self) -> &Option<MetricDestination>
pub fn get_destination(&self) -> &Option<MetricDestination>
The type of destination that you want to view metrics for. Valid values are CloudWatch and Evidently.
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 corresponds to the destination.
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 corresponds to the destination.
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 corresponds to the destination.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in one operation. The default is 50. The maximum that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in one operation. The default is 50. The maximum that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in one operation. The default is 50. The maximum that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Use the token returned by the previous operation to request the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Use the token returned by the previous operation to request the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Use the token returned by the previous operation to request the next page of results.
Trait Implementations§
source§impl Clone for BatchGetRumMetricDefinitionsFluentBuilder
impl Clone for BatchGetRumMetricDefinitionsFluentBuilder
source§fn clone(&self) -> BatchGetRumMetricDefinitionsFluentBuilder
fn clone(&self) -> BatchGetRumMetricDefinitionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more