pub struct Builder { /* private fields */ }Expand description
A builder for MetricsConfiguration.
Implementations§
source§impl Builder
impl Builder
sourcepub fn cloud_metric_enabled(self, input: bool) -> Self
pub fn cloud_metric_enabled(self, input: bool) -> Self
A Boolean that specifies whether cloud metrics are collected.
sourcepub fn set_cloud_metric_enabled(self, input: Option<bool>) -> Self
pub fn set_cloud_metric_enabled(self, input: Option<bool>) -> Self
A Boolean that specifies whether cloud metrics are collected.
sourcepub fn metric_rule_role_arn(self, input: impl Into<String>) -> Self
pub fn metric_rule_role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that is used to collect cloud metrics.
sourcepub fn set_metric_rule_role_arn(self, input: Option<String>) -> Self
pub fn set_metric_rule_role_arn(self, input: Option<String>) -> Self
The ARN of the role that is used to collect cloud metrics.
sourcepub fn build(self) -> MetricsConfiguration
pub fn build(self) -> MetricsConfiguration
Consumes the builder and constructs a MetricsConfiguration.