pub fn capacity_provider_strategy(
        &self,
    ) -> std::option::Option<&[crate::model::CapacityProviderStrategyItem]> {
        self.capacity_provider_strategy.as_deref()
    }
/// <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>
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.
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(
        &self,
    ) -> std::option::Option<&[crate::model::CapacityProviderStrategyItem]> {
        self.capacity_provider_strategy.as_deref()
    }
pub fn capacity_provider_strategy ( & self , ) -> std :: option :: Option < & [ crate :: model :: CapacityProviderStrategyItem ] > { self . capacity_provider_strategy . as_deref ( ) }
<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.
<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 .
&self
&self