pub fn ec2_configuration(mut self, input: crate::model::Ec2Configuration) -> Self {
            let mut v = self.ec2_configuration.unwrap_or_default();
            v.push(input);
            self.ec2_configuration = Some(v);
            self
        }
/// Appends an item to `ec2_configuration`.
///
/// To override the contents of this collection use [`set_ec2_configuration`](Self::set_ec2_configuration).
///
/// <p>Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If <code>Ec2Configuration</code> isn't specified, the default is <code>ECS_AL2</code>.</p>
/// <p>One or two values can be provided.</p> <note>
/// <p>This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.</p>
/// </note>
Appends an item to `ec2_configuration`.
To override the contents of this collection use [`set_ec2_configuration`](Self::set_ec2_configuration).

Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2.
One or two values can be provided. 
This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.

Appends an item to ` ec2_configuration ` . To override the contents of this collection use [ ` set_ec2_configuration ` ] ( Self :: set_ec2_configuration ) . Provides information used to select Amazon Machine Images ( AMIs ) for EC2 instances in the compute environment . If Ec2Configuration isn ' t specified the default is ECS_AL2 . One or two values can be provided . This parameter isn ' t applicable to jobs that are running on Fargate resources and shouldn ' t be specified .
pub fn ec2_configuration(mut self, input: crate::model::Ec2Configuration) -> Self {
            let mut v = self.ec2_configuration.unwrap_or_default();
            v.push(input);
            self.ec2_configuration = Some(v);
            self
        }
pub fn ec2_configuration ( mut self , input : crate :: model :: Ec2Configuration ) -> Self { let mut v = self . ec2_configuration . unwrap_or_default ( ) ; v . push ( input ) ; self . ec2_configuration = Some ( v ) ; self }
Appends an item to `ec2_configuration`.
Appends an item to ` ec2_configuration ` .
mut self
input
crate::model::Ec2Configuration
mut self
input
crate::model::Ec2Configuration