public void setCapacityProviderStrategy(java.util.Collection<CapacityProviderStrategyItem> capacityProviderStrategy) {
        if (capacityProviderStrategy == null) {
            this.capacityProviderStrategy = null;
            return;
        }

        this.capacityProviderStrategy = new com.amazonaws.internal.SdkInternalList<CapacityProviderStrategyItem>(capacityProviderStrategy);
    }
<p>
The capacity provider strategy that the deployment is using.
</p>

@param capacityProviderStrategy
       The capacity provider strategy that the deployment is using.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Deployment.java