Struct aws_sdk_rum::operation::batch_get_rum_metric_definitions::builders::BatchGetRumMetricDefinitionsInputBuilder
source · #[non_exhaustive]pub struct BatchGetRumMetricDefinitionsInputBuilder { /* private fields */ }Expand description
A builder for BatchGetRumMetricDefinitionsInput.
Implementations§
source§impl BatchGetRumMetricDefinitionsInputBuilder
impl BatchGetRumMetricDefinitionsInputBuilder
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.
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 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.
sourcepub fn build(self) -> Result<BatchGetRumMetricDefinitionsInput, BuildError>
pub fn build(self) -> Result<BatchGetRumMetricDefinitionsInput, BuildError>
Consumes the builder and constructs a BatchGetRumMetricDefinitionsInput.
source§impl BatchGetRumMetricDefinitionsInputBuilder
impl BatchGetRumMetricDefinitionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchGetRumMetricDefinitionsOutput, SdkError<BatchGetRumMetricDefinitionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchGetRumMetricDefinitionsOutput, SdkError<BatchGetRumMetricDefinitionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetRumMetricDefinitionsInputBuilder
impl Clone for BatchGetRumMetricDefinitionsInputBuilder
source§fn clone(&self) -> BatchGetRumMetricDefinitionsInputBuilder
fn clone(&self) -> BatchGetRumMetricDefinitionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchGetRumMetricDefinitionsInputBuilder
impl Default for BatchGetRumMetricDefinitionsInputBuilder
source§fn default() -> BatchGetRumMetricDefinitionsInputBuilder
fn default() -> BatchGetRumMetricDefinitionsInputBuilder
source§impl PartialEq for BatchGetRumMetricDefinitionsInputBuilder
impl PartialEq for BatchGetRumMetricDefinitionsInputBuilder
source§fn eq(&self, other: &BatchGetRumMetricDefinitionsInputBuilder) -> bool
fn eq(&self, other: &BatchGetRumMetricDefinitionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetRumMetricDefinitionsInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetRumMetricDefinitionsInputBuilder
impl RefUnwindSafe for BatchGetRumMetricDefinitionsInputBuilder
impl Send for BatchGetRumMetricDefinitionsInputBuilder
impl Sync for BatchGetRumMetricDefinitionsInputBuilder
impl Unpin for BatchGetRumMetricDefinitionsInputBuilder
impl UnwindSafe for BatchGetRumMetricDefinitionsInputBuilder
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