public Deployment withCapacityProviderStrategy(java.util.Collection<CapacityProviderStrategyItem> capacityProviderStrategy) {
        setCapacityProviderStrategy(capacityProviderStrategy);
        return this;
    }
<p>
The capacity provider strategy that the deployment is using.
</p>

@param capacityProviderStrategy
       The capacity provider strategy that the deployment is using.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Deployment.java