public AwsEcsTaskDefinitionDetails withPlacementConstraints(java.util.Collection<AwsEcsTaskDefinitionPlacementConstraintsDetails> placementConstraints) {
        setPlacementConstraints(placementConstraints);
        return this;
    }
<p>
The placement constraint objects to use for tasks.
</p>

@param placementConstraints
       The placement constraint objects to use for tasks.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java