pub fn chap_credentials(mut self, input: crate::model::ChapInfo) -> Self {
            let mut v = self.chap_credentials.unwrap_or_default();
            v.push(input);
            self.chap_credentials = Some(v);
            self
        }
/// Appends an item to `chap_credentials`.
///
/// To override the contents of this collection use [`set_chap_credentials`](Self::set_chap_credentials).
///
/// <p>An array of <code>ChapInfo</code> objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:</p>
/// <ul>
/// <li> <p> <b>InitiatorName</b>: The iSCSI initiator that connects to the target.</p> </li>
/// <li> <p> <b>SecretToAuthenticateInitiator</b>: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.</p> </li>
/// <li> <p> <b>SecretToAuthenticateTarget</b>: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).</p> </li>
/// <li> <p> <b>TargetARN</b>: The Amazon Resource Name (ARN) of the storage volume.</p> </li>
/// </ul>
Appends an item to `chap_credentials`.
To override the contents of this collection use [`set_chap_credentials`](Self::set_chap_credentials).

An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned.
Appends an item to ` chap_credentials ` . To override the contents of this collection use [ ` set_chap_credentials ` ] ( Self :: set_chap_credentials ) . An array of ChapInfo objects that represent CHAP credentials . Each object in the array contains CHAP credential information for one target - initiator pair . If no CHAP credentials are set an empty array is returned .
pub fn chap_credentials(mut self, input: crate::model::ChapInfo) -> Self {
            let mut v = self.chap_credentials.unwrap_or_default();
            v.push(input);
            self.chap_credentials = Some(v);
            self
        }
pub fn chap_credentials ( mut self , input : crate :: model :: ChapInfo ) -> Self { let mut v = self . chap_credentials . unwrap_or_default ( ) ; v . push ( input ) ; self . chap_credentials = Some ( v ) ; self }
Appends an item to `chap_credentials`.
Appends an item to ` chap_credentials ` .
mut self
input
crate::model::ChapInfo
mut self
input
crate::model::ChapInfo