pub fn additional_metrics_to_retain(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            let mut v = self.additional_metrics_to_retain.unwrap_or_default();
            v.push(input.into());
            self.additional_metrics_to_retain = Some(v);
            self
        }
/// Appends an item to `additional_metrics_to_retain`.
///
/// To override the contents of this collection use [`set_additional_metrics_to_retain`](Self::set_additional_metrics_to_retain).
///
/// <p> <i>Please use <code>UpdateSecurityProfileResponse$additionalMetricsToRetainV2</code> instead.</i> </p>
/// <p>A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the security profile's <code>behaviors</code>, but it is also retained for any metric specified here.</p>
Appends an item to `additional_metrics_to_retain`.
To override the contents of this collection use [`set_additional_metrics_to_retain`](Self::set_additional_metrics_to_retain).

 Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead. 
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the security profile's behaviors, but it is also retained for any metric specified here.
Appends an item to ` additional_metrics_to_retain ` . To override the contents of this collection use [ ` set_additional_metrics_to_retain ` ] ( Self :: set_additional_metrics_to_retain ) . Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead . A list of metrics whose data is retained ( stored ) . By default data is retained for any metric used in the security profile ' s behaviors but it is also retained for any metric specified here .
pub fn additional_metrics_to_retain(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            let mut v = self.additional_metrics_to_retain.unwrap_or_default();
            v.push(input.into());
            self.additional_metrics_to_retain = Some(v);
            self
        }
pub fn additional_metrics_to_retain ( mut self , input : impl Into < std :: string :: String > , ) -> Self { let mut v = self . additional_metrics_to_retain . unwrap_or_default ( ) ; v . push ( input . into ( ) ) ; self . additional_metrics_to_retain = Some ( v ) ; self }
Appends an item to `additional_metrics_to_retain`.
Appends an item to ` additional_metrics_to_retain ` .
mut self
input
impl Into<std::string::String>
mut self
input
impl Into<std::string::String>