pub fn grants(mut self, input: crate::model::KmsGrantConfiguration) -> Self {
            let mut v = self.grants.unwrap_or_default();
            v.push(input);
            self.grants = Some(v);
            self
        }
/// Appends an item to `grants`.
///
/// To override the contents of this collection use [`set_grants`](Self::set_grants).
///
/// <p>A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key.</p>
Appends an item to `grants`.
To override the contents of this collection use [`set_grants`](Self::set_grants).

A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key.
Appends an item to ` grants ` . To override the contents of this collection use [ ` set_grants ` ] ( Self :: set_grants ) . A list of proposed grant configurations for the KMS key . If the proposed grant configuration is for an existing key the access preview uses the proposed list of grant configurations in place of the existing grants . Otherwise the access preview uses the existing grants for the key .
pub fn grants(mut self, input: crate::model::KmsGrantConfiguration) -> Self {
            let mut v = self.grants.unwrap_or_default();
            v.push(input);
            self.grants = Some(v);
            self
        }
pub fn grants ( mut self , input : crate :: model :: KmsGrantConfiguration ) -> Self { let mut v = self . grants . unwrap_or_default ( ) ; v . push ( input ) ; self . grants = Some ( v ) ; self }
Appends an item to `grants`.
Appends an item to ` grants ` .
mut self
input
crate::model::KmsGrantConfiguration
mut self
input
crate::model::KmsGrantConfiguration