pub fn metric_policy_rules(mut self, input: crate::model::MetricPolicyRule) -> Self {
            let mut v = self.metric_policy_rules.unwrap_or_default();
            v.push(input);
            self.metric_policy_rules = Some(v);
            self
        }
/// Appends an item to `metric_policy_rules`.
///
/// To override the contents of this collection use [`set_metric_policy_rules`](Self::set_metric_policy_rules).
///
/// <p>A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also <a href="https://console.aws.amazon.com/servicequotas/home?region=us-east-1#!/services/mediastore/quotas">request a quota increase</a> to allow up to 300 rules per policy.</p>
Appends an item to `metric_policy_rules`.
To override the contents of this collection use [`set_metric_policy_rules`](Self::set_metric_policy_rules).

A parameter that holds an array of rules that enable metrics at the object level. This parameter is optional, but if you choose to include it, you must also include at least one rule. By default, you can include up to five rules. You can also request a quota increase to allow up to 300 rules per policy.
Appends an item to ` metric_policy_rules ` . To override the contents of this collection use [ ` set_metric_policy_rules ` ] ( Self :: set_metric_policy_rules ) . A parameter that holds an array of rules that enable metrics at the object level . This parameter is optional but if you choose to include it you must also include at least one rule . By default you can include up to five rules . You can also request a quota increase to allow up to 300 rules per policy .
pub fn metric_policy_rules(mut self, input: crate::model::MetricPolicyRule) -> Self {
            let mut v = self.metric_policy_rules.unwrap_or_default();
            v.push(input);
            self.metric_policy_rules = Some(v);
            self
        }
pub fn metric_policy_rules ( mut self , input : crate :: model :: MetricPolicyRule ) -> Self { let mut v = self . metric_policy_rules . unwrap_or_default ( ) ; v . push ( input ) ; self . metric_policy_rules = Some ( v ) ; self }
Appends an item to `metric_policy_rules`.
Appends an item to ` metric_policy_rules ` .
mut self
input
crate::model::MetricPolicyRule
mut self
input
crate::model::MetricPolicyRule