public void setPlacementGroups(java.util.Collection<PlacementGroup> placementGroups) {
        if (placementGroups == null) {
            this.placementGroups = null;
            return;
        }

        this.placementGroups = new com.amazonaws.internal.SdkInternalList<PlacementGroup>(placementGroups);
    }
<p>
Information about the placement groups.
</p>

@param placementGroups
       Information about the placement groups.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribePlacementGroupsResult.java