#[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 ==.