public void setPlacementStrategy(java.util.Collection<PlacementStrategy> placementStrategy) {
        if (placementStrategy == null) {
            this.placementStrategy = null;
            return;
        }

        this.placementStrategy = new java.util.ArrayList<PlacementStrategy>(placementStrategy);
    }
<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.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/EcsParameters.java