pub fn deployment_targets(mut self, input: crate::model::DeploymentTarget) -> Self {
            let mut v = self.deployment_targets.unwrap_or_default();
            v.push(input);
            self.deployment_targets = Some(v);
            self
        }
/// Appends an item to `deployment_targets`.
///
/// To override the contents of this collection use [`set_deployment_targets`](Self::set_deployment_targets).
///
/// <p> A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform. </p>
/// <ul>
/// <li> <p> <b>EC2/On-premises</b>: Each target object is an EC2 or on-premises instance. </p> </li>
/// <li> <p> <b>AWS Lambda</b>: The target object is a specific version of an AWS Lambda function. </p> </li>
/// <li> <p> <b>Amazon ECS</b>: The target object is an Amazon ECS service. </p> </li>
/// <li> <p> <b>CloudFormation</b>: The target object is an AWS CloudFormation blue/green deployment. </p> </li>
/// </ul>
Appends an item to `deployment_targets`.
To override the contents of this collection use [`set_deployment_targets`](Self::set_deployment_targets).

 A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform. 

  EC2/On-premises: Each target object is an EC2 or on-premises instance.  
  AWS Lambda: The target object is a specific version of an AWS Lambda function.  
  Amazon ECS: The target object is an Amazon ECS service.  
  CloudFormation: The target object is an AWS CloudFormation blue/green deployment.
Appends an item to ` deployment_targets ` . To override the contents of this collection use [ ` set_deployment_targets ` ] ( Self :: set_deployment_targets ) . A list of target objects for a deployment . Each target object contains details about the target such as its status and lifecycle events . The type of the target objects depends on the deployment ' compute platform . EC2 / On - premises : Each target object is an EC2 or on - premises instance . AWS Lambda : The target object is a specific version of an AWS Lambda function . Amazon ECS : The target object is an Amazon ECS service . CloudFormation : The target object is an AWS CloudFormation blue / green deployment .
pub fn deployment_targets(mut self, input: crate::model::DeploymentTarget) -> Self {
            let mut v = self.deployment_targets.unwrap_or_default();
            v.push(input);
            self.deployment_targets = Some(v);
            self
        }
pub fn deployment_targets ( mut self , input : crate :: model :: DeploymentTarget ) -> Self { let mut v = self . deployment_targets . unwrap_or_default ( ) ; v . push ( input ) ; self . deployment_targets = Some ( v ) ; self }
Appends an item to `deployment_targets`.
Appends an item to ` deployment_targets ` .
mut self
input
crate::model::DeploymentTarget
mut self
input
crate::model::DeploymentTarget