pub fn target_groups(mut self, input: crate::model::TargetGroupInfo) -> Self {
            let mut v = self.target_groups.unwrap_or_default();
            v.push(input);
            self.target_groups = Some(v);
            self
        }
/// Appends an item to `target_groups`.
///
/// To override the contents of this collection use [`set_target_groups`](Self::set_target_groups).
///
/// <p> One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete. </p>
Appends an item to `target_groups`.
To override the contents of this collection use [`set_target_groups`](Self::set_target_groups).

 One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
Appends an item to ` target_groups ` . To override the contents of this collection use [ ` set_target_groups ` ] ( Self :: set_target_groups ) . One pair of target groups . One is associated with the original task set . The second is associated with the task set that serves traffic after the deployment is complete .
pub fn target_groups(mut self, input: crate::model::TargetGroupInfo) -> Self {
            let mut v = self.target_groups.unwrap_or_default();
            v.push(input);
            self.target_groups = Some(v);
            self
        }
pub fn target_groups ( mut self , input : crate :: model :: TargetGroupInfo ) -> Self { let mut v = self . target_groups . unwrap_or_default ( ) ; v . push ( input ) ; self . target_groups = Some ( v ) ; self }
Appends an item to `target_groups`.
Appends an item to ` target_groups ` .
mut self
input
crate::model::TargetGroupInfo
mut self
input
crate::model::TargetGroupInfo