pub fn errors(
            mut self,
            k: impl Into<std::string::String>,
            v: impl Into<std::string::String>,
        ) -> Self {
            let mut hash_map = self.errors.unwrap_or_default();
            hash_map.insert(k.into(), v.into());
            self.errors = Some(hash_map);
            self
        }
/// Adds a key-value pair to `errors`.
///
/// To override the contents of this collection use [`set_errors`](Self::set_errors).
///
/// <p>A dictionary of errors that communicate why the component is in an error state. For example, if IoT Greengrass can't access an artifact for the component, then <code>errors</code> contains the artifact's URI as a key, and the error message as the value for that key.</p>
Adds a key-value pair to `errors`.
To override the contents of this collection use [`set_errors`](Self::set_errors).

A dictionary of errors that communicate why the component is in an error state. For example, if IoT Greengrass can't access an artifact for the component, then errors contains the artifact's URI as a key, and the error message as the value for that key.
Adds a key - value pair to ` errors ` . To override the contents of this collection use [ ` set_errors ` ] ( Self :: set_errors ) . A dictionary of errors that communicate why the component is in an error state . For example if IoT Greengrass can ' t access an artifact for the component then errors contains the artifact ' s URI as a key and the error message as the value for that key .
pub fn errors(
            mut self,
            k: impl Into<std::string::String>,
            v: impl Into<std::string::String>,
        ) -> Self {
            let mut hash_map = self.errors.unwrap_or_default();
            hash_map.insert(k.into(), v.into());
            self.errors = Some(hash_map);
            self
        }
pub fn errors ( mut self , k : impl Into < std :: string :: String > , v : impl Into < std :: string :: String > , ) -> Self { let mut hash_map = self . errors . unwrap_or_default ( ) ; hash_map . insert ( k . into ( ) , v . into ( ) ) ; self . errors = Some ( hash_map ) ; self }
Adds a key-value pair to `errors`.
Adds a key - value pair to ` errors ` .
mut self
k
impl Into<std::string::String>
v
impl Into<std::string::String>
mut self
k
impl Into<std::string::String>
v
impl Into<std::string::String>