pub fn capacity_provider_strategy(
            mut self,
            input: crate::model::CapacityProviderStrategyItem,
        ) -> Self {
            let mut v = self.capacity_provider_strategy.unwrap_or_default();
            v.push(input);
            self.capacity_provider_strategy = Some(v);
            self
        }
/// Appends an item to `capacity_provider_strategy`.
///
/// To override the contents of this collection use [`set_capacity_provider_strategy`](Self::set_capacity_provider_strategy).
///
/// <p>The capacity provider strategy to use for the task.</p>
/// <p>If a <code>capacityProviderStrategy</code> is specified, the <code>launchType</code> parameter must be omitted. If no <code>capacityProviderStrategy</code> or launchType is specified, the <code>defaultCapacityProviderStrategy</code> for the cluster is used. </p>
Appends an item to `capacity_provider_strategy`.
To override the contents of this collection use [`set_capacity_provider_strategy`](Self::set_capacity_provider_strategy).

The capacity provider strategy to use for the task.
If a capacityProviderStrategy is specified, the launchType parameter must be omitted. If no capacityProviderStrategy or launchType is specified, the defaultCapacityProviderStrategy for the cluster is used.
Appends an item to ` capacity_provider_strategy ` . To override the contents of this collection use [ ` set_capacity_provider_strategy ` ] ( Self :: set_capacity_provider_strategy ) . The capacity provider strategy to use for the task . If a capacityProviderStrategy is specified the launchType parameter must be omitted . If no capacityProviderStrategy or launchType is specified the defaultCapacityProviderStrategy for the cluster is used .
pub fn capacity_provider_strategy(
            mut self,
            input: crate::model::CapacityProviderStrategyItem,
        ) -> Self {
            let mut v = self.capacity_provider_strategy.unwrap_or_default();
            v.push(input);
            self.capacity_provider_strategy = Some(v);
            self
        }
pub fn capacity_provider_strategy ( mut self , input : crate :: model :: CapacityProviderStrategyItem , ) -> Self { let mut v = self . capacity_provider_strategy . unwrap_or_default ( ) ; v . push ( input ) ; self . capacity_provider_strategy = Some ( v ) ; self }
Appends an item to `capacity_provider_strategy`.
Appends an item to ` capacity_provider_strategy ` .
mut self
input
crate::model::CapacityProviderStrategyItem
mut self
input
crate::model::CapacityProviderStrategyItem