pub fn version_ids_to_stages(
            mut self,
            k: impl Into<std::string::String>,
            v: std::vec::Vec<std::string::String>,
        ) -> Self {
            let mut hash_map = self.version_ids_to_stages.unwrap_or_default();
            hash_map.insert(k.into(), v);
            self.version_ids_to_stages = Some(hash_map);
            self
        }
/// Adds a key-value pair to `version_ids_to_stages`.
///
/// To override the contents of this collection use [`set_version_ids_to_stages`](Self::set_version_ids_to_stages).
///
/// <p>A list of the versions of the secret that have staging labels attached. Versions that don't have staging labels are considered deprecated and Secrets Manager can delete them.</p>
/// <p>Secrets Manager uses staging labels to indicate the status of a secret version during rotation. The three staging labels for rotation are: </p>
/// <ul>
/// <li> <p> <code>AWSCURRENT</code>, which indicates the current version of the secret.</p> </li>
/// <li> <p> <code>AWSPENDING</code>, which indicates the version of the secret that contains new secret information that will become the next current version when rotation finishes.</p> <p>During rotation, Secrets Manager creates an <code>AWSPENDING</code> version ID before creating the new secret version. To check if a secret version exists, call <code>GetSecretValue</code>.</p> </li>
/// <li> <p> <code>AWSPREVIOUS</code>, which indicates the previous current version of the secret. You can use this as the <i>last known good</i> version.</p> </li>
/// </ul>
/// <p>For more information about rotation and staging labels, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html">How rotation works</a>.</p>
Adds a key-value pair to `version_ids_to_stages`.
To override the contents of this collection use [`set_version_ids_to_stages`](Self::set_version_ids_to_stages).

A list of the versions of the secret that have staging labels attached. Versions that don't have staging labels are considered deprecated and Secrets Manager can delete them.
Secrets Manager uses staging labels to indicate the status of a secret version during rotation. The three staging labels for rotation are: 

  AWSCURRENT, which indicates the current version of the secret. 
  AWSPENDING, which indicates the version of the secret that contains new secret information that will become the next current version when rotation finishes. During rotation, Secrets Manager creates an AWSPENDING version ID before creating the new secret version. To check if a secret version exists, call GetSecretValue. 
  AWSPREVIOUS, which indicates the previous current version of the secret. You can use this as the last known good version. 

For more information about rotation and staging labels, see How rotation works.
Adds a key - value pair to ` version_ids_to_stages ` . To override the contents of this collection use [ ` set_version_ids_to_stages ` ] ( Self :: set_version_ids_to_stages ) . A list of the versions of the secret that have staging labels attached . Versions that don ' t have staging labels are considered deprecated and Secrets Manager can delete them . Secrets Manager uses staging labels to indicate the status of a secret version during rotation . The three staging labels for rotation are : AWSCURRENT which indicates the current version of the secret . AWSPENDING which indicates the version of the secret that contains new secret information that will become the next current version when rotation finishes . During rotation Secrets Manager creates an AWSPENDING version ID before creating the new secret version . To check if a secret version exists call GetSecretValue . AWSPREVIOUS which indicates the previous current version of the secret . You can use this as the last known good version . For more information about rotation and staging labels see How rotation works .
pub fn version_ids_to_stages(
            mut self,
            k: impl Into<std::string::String>,
            v: std::vec::Vec<std::string::String>,
        ) -> Self {
            let mut hash_map = self.version_ids_to_stages.unwrap_or_default();
            hash_map.insert(k.into(), v);
            self.version_ids_to_stages = Some(hash_map);
            self
        }
pub fn version_ids_to_stages ( mut self , k : impl Into < std :: string :: String > , v : std :: vec :: Vec < std :: string :: String > , ) -> Self { let mut hash_map = self . version_ids_to_stages . unwrap_or_default ( ) ; hash_map . insert ( k . into ( ) , v ) ; self . version_ids_to_stages = Some ( hash_map ) ; self }
Adds a key-value pair to `version_ids_to_stages`.
Adds a key - value pair to ` version_ids_to_stages ` .
mut self
k
impl Into<std::string::String>
v
std::vec::Vec<std::string::String>
mut self
k
impl Into<std::string::String>
v
std::vec::Vec<std::string::String>