public EcsParameters withPlacementStrategy(java.util.Collection<PlacementStrategy> placementStrategy) {
        setPlacementStrategy(placementStrategy);
        return this;
    }
<p>
The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per task.
</p>

@param placementStrategy
       The placement strategy objects to use for the task. You can specify a maximum of five strategy rules per
       task.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/EcsParameters.java