public void setPlacementConstraints(java.util.Collection<AwsEcsTaskDefinitionPlacementConstraintsDetails> placementConstraints) {
        if (placementConstraints == null) {
            this.placementConstraints = null;
            return;
        }

        this.placementConstraints = new java.util.ArrayList<AwsEcsTaskDefinitionPlacementConstraintsDetails>(placementConstraints);
    }
<p>
The placement constraint objects to use for tasks.
</p>

@param placementConstraints
       The placement constraint objects to use for tasks.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java