#[non_exhaustive]pub struct MetricDestinationSummaryBuilder { /* private fields */ }Expand description
A builder for MetricDestinationSummary.
Implementations§
source§impl MetricDestinationSummaryBuilder
impl MetricDestinationSummaryBuilder
sourcepub fn destination(self, input: MetricDestination) -> Self
pub fn destination(self, input: MetricDestination) -> Self
Specifies whether the destination is CloudWatch or Evidently.
sourcepub fn set_destination(self, input: Option<MetricDestination>) -> Self
pub fn set_destination(self, input: Option<MetricDestination>) -> Self
Specifies whether the destination is CloudWatch or Evidently.
sourcepub fn get_destination(&self) -> &Option<MetricDestination>
pub fn get_destination(&self) -> &Option<MetricDestination>
Specifies whether the destination is CloudWatch or Evidently.
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
sourcepub fn get_destination_arn(&self) -> &Option<String>
pub fn get_destination_arn(&self) -> &Option<String>
If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
sourcepub fn build(self) -> MetricDestinationSummary
pub fn build(self) -> MetricDestinationSummary
Consumes the builder and constructs a MetricDestinationSummary.
Trait Implementations§
source§impl Clone for MetricDestinationSummaryBuilder
impl Clone for MetricDestinationSummaryBuilder
source§fn clone(&self) -> MetricDestinationSummaryBuilder
fn clone(&self) -> MetricDestinationSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for MetricDestinationSummaryBuilder
impl Default for MetricDestinationSummaryBuilder
source§fn default() -> MetricDestinationSummaryBuilder
fn default() -> MetricDestinationSummaryBuilder
source§impl PartialEq for MetricDestinationSummaryBuilder
impl PartialEq for MetricDestinationSummaryBuilder
source§fn eq(&self, other: &MetricDestinationSummaryBuilder) -> bool
fn eq(&self, other: &MetricDestinationSummaryBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetricDestinationSummaryBuilder
Auto Trait Implementations§
impl Freeze for MetricDestinationSummaryBuilder
impl RefUnwindSafe for MetricDestinationSummaryBuilder
impl Send for MetricDestinationSummaryBuilder
impl Sync for MetricDestinationSummaryBuilder
impl Unpin for MetricDestinationSummaryBuilder
impl UnwindSafe for MetricDestinationSummaryBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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